Class ToolDefinition
- Namespace
- OpenAI.
Object Models. Request Models
- Assembly
- AntRunnerLib.dll
Definition of a valid tool.
- Inheritance
-
System.
Object ToolDefinition
- Inherited Members
-
System.
Object. Equals(System. Object) System.Object. Equals(System. Object, System. Object) System.Object. Get Hash Code() System.Object. Get Type() System.Object. Memberwise Clone() System.Object. Reference Equals(System. Object, System. Object) System.Object. To String()
Properties
Function
A list of functions the model may generate JSON inputs for.
[JsonPropertyName("function")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public AssistantsApiToolFunctionOneOfType Function { get; set; }
Property Value
FunctionsAsObject
Property Value
- System.
Object
Type
Required. The type of the tool. Currently, only function is supported.
Property Value
- System.
String
Methods
DefineCodeInterpreter()
Returns
DefineFileSearch()
Returns
DefineFunction(AssistantsApiToolFunctionOneOfType)
Parameters
function
AssistantsApi Tool Function One OfType