Skip to content

js-bao-wss-client


js-bao-wss-client / LlmChatOptions

Interface: LlmChatOptions

Properties

attachments?

optional attachments: ({ base64?: string; mime?: string; type: "image"; url?: string; } | { base64: string; mime?: string; type: "audio"; } | { base64?: string; filename?: string; type: "pdf"; url?: string; })[]


max_tokens?

optional max_tokens: number


messages

messages: object[]

content?

optional content: any

role

role: string


model?

optional model: string


plugins?

optional plugins: any[]


reasoning?

optional reasoning: ReasoningOptions


temperature?

optional temperature: number


tool_choice?

optional tool_choice: any


tools?

optional tools: any


top_p?

optional top_p: number