Class ToolEnvelope
Assembly: Glitch9.AIDevKit.dll
public sealed class ToolEnvelope
Properties
|
Edit this page
View Source
For Assistants API. Only available when type is "code_interpreter".
Declaration
[JsonProperty("code_interpreter")]
public CodeInterpreter CodeInterpreterTool { get; set; }
Property Value
|
Edit this page
View Source
Only available when type is "custom".
Declaration
[JsonProperty("custom")]
public CustomTool CustomTool { get; set; }
Property Value
|
Edit this page
View Source
For Assistants API. Only available when type is "file_search".
Declaration
[JsonProperty("file_search")]
public FileSearch FileSearchTool { get; set; }
Property Value
|
Edit this page
View Source
Only available when type is "function".
Declaration
[JsonProperty("function")]
public Function FunctionTool { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[JsonProperty("type")]
public string Type { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public static ToolEnvelope CodeInterpreter(CodeInterpreter codeInterpreter = null)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static ToolEnvelope Custom(CustomTool custom)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static ToolEnvelope FileSearch(FileSearch fileSearch = null)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static ToolEnvelope Function(Function function)
Parameters
Returns
Extension Methods