Search Results for

    Show / Hide Table of Contents

    Class CodeInterpreter

    A tool that runs Python code to help generate a response to a prompt.

    Inheritance
    object
    Tool
    CodeInterpreter
    Inherited Members
    Tool.Type
    Tool.TryGetToolName(out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class CodeInterpreter : Tool

    Properties

    | Edit this page View Source

    Container

    Required. The code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code.

    Declaration
    [JsonProperty("container")]
    public StringOr<CodeInterpreter.FileIdSet> Container { get; set; }
    Property Value
    Type Description
    StringOr<CodeInterpreter.FileIdSet>

    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