interface ChatMinimaxCallOptions {
    botSetting?: BotSetting[];
    callbacks?: Callbacks;
    configurable?: Record<string, any>;
    defaultBotName?: string;
    defaultUserName?: string;
    function_call?: FunctionCallOption;
    functions?: FunctionDefinition[];
    maxConcurrency?: number;
    metadata?: Record<string, unknown>;
    plugins?: string[];
    recursionLimit?: number;
    replyConstraints?: ReplyConstraints;
    runId?: string;
    runName?: string;
    sampleMessages?: BaseMessage[];
    signal?: AbortSignal;
    stop?: string[];
    tags?: string[];
    timeout?: number;
    tools?: StructuredToolInterface<ZodObjectAny>[];
}

Hierarchy

  • BaseFunctionCallOptions
    • ChatMinimaxCallOptions

Properties

botSetting?: BotSetting[]
callbacks?: Callbacks

Callbacks for this call and any sub-calls (eg. a Chain calling an LLM). Tags are passed to all callbacks, metadata is passed to handle*Start callbacks.

configurable?: Record<string, any>

Runtime values for attributes previously made configurable on this Runnable, or sub-Runnables.

defaultBotName?: string
defaultUserName?: string
function_call?: FunctionCallOption
functions?: FunctionDefinition[]
maxConcurrency?: number

Maximum number of parallel calls to make.

metadata?: Record<string, unknown>

Metadata for this call and any sub-calls (eg. a Chain calling an LLM). Keys should be strings, values should be JSON-serializable.

plugins?: string[]
recursionLimit?: number

Maximum number of times a call can recurse. If not provided, defaults to 25.

replyConstraints?: ReplyConstraints
runId?: string

Unique identifier for the tracer run for this call. If not provided, a new UUID will be generated.

runName?: string

Name for the tracer run for this call. Defaults to the name of the class.

sampleMessages?: BaseMessage[]
signal?: AbortSignal

Abort signal for this call. If provided, the call will be aborted when the signal is aborted.

stop?: string[]

Stop tokens to use for this call. If not provided, the default stop tokens for the model will be used.

tags?: string[]

Tags for this call and any sub-calls (eg. a Chain calling an LLM). You can use these to filter calls.

timeout?: number

Timeout for this call in milliseconds.

tools?: StructuredToolInterface<ZodObjectAny>[]