Search Results for

    Show / Hide 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.

    Inheritance
    object
    ToolResources
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public sealed class ToolResources

    Properties

    | Edit this page View Source

    CodeInterpreter

    Declaration
    [JsonProperty("code_interpreter")]
    public CodeInterpreterResources CodeInterpreter { get; set; }
    Property Value
    Type Description
    CodeInterpreterResources
    | Edit this page View Source

    CodeInterpreterFileCount

    Declaration
    [JsonIgnore]
    public int CodeInterpreterFileCount { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    FileSearch

    Declaration
    [JsonProperty("file_search")]
    public FileSearchResources FileSearch { get; set; }
    Property Value
    Type Description
    FileSearchResources
    | Edit this page View Source

    FileSearchVectorStoreCount

    Declaration
    [JsonIgnore]
    public int FileSearchVectorStoreCount { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    IsNullOrEmpty()

    Declaration
    public bool IsNullOrEmpty()
    Returns
    Type Description
    bool

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation