Skip to content

OpenAIUnsupportedTool

Namespace: Vercel.AI.OpenAI

public sealed class OpenAIUnsupportedTool

A non-function tool passed to Chat Completions preparation.

Inheritance: object

View source

public OpenAIUnsupportedTool(string type, string name)

Creates an unsupported tool description.

Parameters

Name Type Description
type string
name string

View source

public string Name { get; }

Tool name.

Value: string

View source

public string Type { get; }

Tool type recorded in the warning.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product