ProvideLanguageModelChatResponseOptions

Properties

Link copied to clipboard
abstract external val modelOptions: ReadonlyRecord<JsString, *>?

A set of options that control the behavior of the language model. These options are specific to the language model.

Link copied to clipboard
abstract external val toolMode: LanguageModelChatToolMode

The tool-selecting mode to use. The provider must implement respecting this.

Link copied to clipboard
abstract external val tools: ReadonlyArray<LanguageModelChatTool>?

An optional list of tools that are available to the language model. These could be registered tools available via lm.tools, or private tools that are just implemented within the calling extension.