LlmapiChatCompletionRequest
LlmapiChatCompletionRequest =
object
Defined in: src/client/types.gen.ts:455
Properties
messages
messages:
LlmapiMessage[]
Defined in: src/client/types.gen.ts:459
Messages is the conversation history
model
model:
string
Defined in: src/client/types.gen.ts:463
Model is the model identifier
stream?
optionalstream:boolean
Defined in: src/client/types.gen.ts:467
Stream indicates if response should be streamed
tool_choice?
optionaltool_choice:LlmapiChatCompletionToolChoice
Defined in: src/client/types.gen.ts:468
tools?
optionaltools:LlmapiChatCompletionTool[]
Defined in: src/client/types.gen.ts:472
Tools is an array of tool schemas describing which tools the model can use
Last updated on