Table of Contents

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.

public class ToolResources
Inheritance
object
ToolResources

Properties

CodeInterpreter

public CodeInterpreterResources CodeInterpreter { get; set; }

Property Value

CodeInterpreterResources

CodeInterpreterFileCount

public int CodeInterpreterFileCount { get; }

Property Value

int

FileSearch

public FileSearchResources FileSearch { get; set; }

Property Value

FileSearchResources

FileSearchVectorStoreCount

public int FileSearchVectorStoreCount { get; }

Property Value

int

Methods

IsNullOrEmpty()

public bool IsNullOrEmpty()

Returns

bool