Skip to Content
SdkClientInternalType AliasesLlmapiChatCompletionRequest

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?

optional stream: boolean

Defined in: src/client/types.gen.ts:467 

Stream indicates if response should be streamed


tool_choice?

optional tool_choice: LlmapiChatCompletionToolChoice

Defined in: src/client/types.gen.ts:468 


tools?

optional tools: 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