Skip to content

CohereRequest

Defined in: backend/src/providers/cohere.ts:48

optional chat_history: CohereChatMessage[]

Defined in: backend/src/providers/cohere.ts:51


optional connectors: object[]

Defined in: backend/src/providers/cohere.ts:66

id: string


optional documents: object[]

Defined in: backend/src/providers/cohere.ts:62

data: Record<string, any>

optional id: string


optional frequency_penalty: number

Defined in: backend/src/providers/cohere.ts:57


optional k: number

Defined in: backend/src/providers/cohere.ts:56


optional max_tokens: number

Defined in: backend/src/providers/cohere.ts:54


message: string

Defined in: backend/src/providers/cohere.ts:50


optional model: string

Defined in: backend/src/providers/cohere.ts:49


optional p: number

Defined in: backend/src/providers/cohere.ts:55


optional preamble: string

Defined in: backend/src/providers/cohere.ts:52


optional presence_penalty: number

Defined in: backend/src/providers/cohere.ts:58


optional stop_sequences: string[]

Defined in: backend/src/providers/cohere.ts:59


optional stream: boolean

Defined in: backend/src/providers/cohere.ts:60


optional temperature: number

Defined in: backend/src/providers/cohere.ts:53