Interface ChatMessageFieldsWithRole

Hierarchy

Implemented by

Properties

role: string
additional_kwargs?: {
    function_call?: FunctionCall;
    tool_calls?: ChatCompletionMessageToolCall[];
    [key: string]: unknown;
}

Type declaration

  • [key: string]: unknown
  • Optional function_call?: FunctionCall
  • Optional tool_calls?: ChatCompletionMessageToolCall[]
name?: string

Generated using TypeDoc