OpenAIChatToolPreparation
Namespace: Vercel.AI.OpenAI
public sealed class OpenAIChatToolPreparationChat Completions tools and tool choice.
Inheritance: object
Properties
Section titled “Properties”ToolChoice
Section titled “ToolChoice”public JsonNode? ToolChoice { get; }OpenAI tool_choice. Null when the caller did not set one.
Value: JsonNode
public JsonArray? Tools { get; }Tool objects. Null when the caller passed no tools.
Value: JsonArray
Warnings
Section titled “Warnings”public IReadOnlyList<OpenAICallWarning> Warnings { get; }Warnings produced while preparing tools.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product