Class ToolResources
A set of resources that are made available to the assistant's tools in this thread.
The resources are specific to the type of tool.
For example, the code_interpreter tool requires a list of file IDs,
while the file_search tool requires a list of vector store IDs.
Inheritance
ToolResources
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
public sealed class ToolResources
Properties
|
Edit this page
View Source
Declaration
[JsonProperty("code_interpreter")]
public CodeInterpreterResources CodeInterpreter { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[JsonIgnore]
public int CodeInterpreterFileCount { get; }
Property Value
|
Edit this page
View Source
Declaration
[JsonProperty("file_search")]
public FileSearchResources FileSearch { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[JsonIgnore]
public int FileSearchVectorStoreCount { get; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public bool IsNullOrEmpty()
Returns
Extension Methods