CohereResponse
Defined in: backend/src/providers/cohere.ts:71
Properties
Section titled “Properties”citations?
Section titled “citations?”
optionalcitations:object[]
Defined in: backend/src/providers/cohere.ts:84
document_ids
Section titled “document_ids”document_ids:
string[]
end:
number
start:
number
text:
string
finish_reason
Section titled “finish_reason”finish_reason:
"MAX_TOKENS"|"COMPLETE"|"ERROR"|"ERROR_TOXIC"
Defined in: backend/src/providers/cohere.ts:74
generation_id
Section titled “generation_id”generation_id:
string
Defined in: backend/src/providers/cohere.ts:72
optionalmeta:object
Defined in: backend/src/providers/cohere.ts:75
api_version
Section titled “api_version”api_version:
object
api_version.version
Section titled “api_version.version”version:
string
billed_units?
Section titled “billed_units?”
optionalbilled_units:object
billed_units.input_tokens
Section titled “billed_units.input_tokens”input_tokens:
number
billed_units.output_tokens
Section titled “billed_units.output_tokens”output_tokens:
number
text:
string
Defined in: backend/src/providers/cohere.ts:73