AnthropicRequest
Defined in: backend/src/providers/anthropic.ts:70
Anthropic Messages API request.
Properties
Section titled “Properties”max_tokens
Section titled “max_tokens”max_tokens:
number
Defined in: backend/src/providers/anthropic.ts:74
messages
Section titled “messages”messages:
AnthropicMessage[]
Defined in: backend/src/providers/anthropic.ts:72
metadata?
Section titled “metadata?”
optionalmetadata:object
Defined in: backend/src/providers/anthropic.ts:80
user_id?
Section titled “user_id?”
optionaluser_id:string
model:
string
Defined in: backend/src/providers/anthropic.ts:71
stop_sequences?
Section titled “stop_sequences?”
optionalstop_sequences:string[]
Defined in: backend/src/providers/anthropic.ts:78
stream?
Section titled “stream?”
optionalstream:boolean
Defined in: backend/src/providers/anthropic.ts:79
system?
Section titled “system?”
optionalsystem:string
Defined in: backend/src/providers/anthropic.ts:73
temperature?
Section titled “temperature?”
optionaltemperature:number
Defined in: backend/src/providers/anthropic.ts:75
top_k?
Section titled “top_k?”
optionaltop_k:number
Defined in: backend/src/providers/anthropic.ts:77
top_p?
Section titled “top_p?”
optionaltop_p:number
Defined in: backend/src/providers/anthropic.ts:76