Type Alias GetToolFunctionParamsReqPayload

GetToolFunctionParamsReqPayload: {
    audio_input?: string | null;
    image_url?: string | null;
    model?: string | null;
    tool_function: ToolFunction;
    user_message_text?: string | null;
}

Request payload for getting the parameters of a tool function

Type declaration

  • Optionalaudio_input?: string | null

    The base64 encoded audio input of the user message to attach to the topic and then generate an assistant message in response to.

  • Optionalimage_url?: string | null

    Image URL to attach to the message to generate the parameters for the tool function.

  • Optionalmodel?: string | null

    Model name to use for the completion. If not specified, this defaults to the dataset's model.

  • tool_function: ToolFunction
  • Optionaluser_message_text?: string | null

    Text of the user's message to the assistant which will be used to generate the parameters for the tool function.