Search Results for

    Show / Hide Table of Contents

    Class StructuredGeneratorBase<T>

    Inheritance
    object
    StructuredGeneratorBase<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public abstract class StructuredGeneratorBase<T> where T : class
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    StructuredGeneratorBase(Model, string, string, bool, bool, CurlLogOptions)

    Declaration
    protected StructuredGeneratorBase(Model model, string instructions, string sender = null, bool writeGenerationRecords = false, bool archiveGenerationRecords = true, CurlLogOptions logOptions = null)
    Parameters
    Type Name Description
    Model model
    string instructions
    string sender
    bool writeGenerationRecords
    bool archiveGenerationRecords
    CurlLogOptions logOptions

    Methods

    | Edit this page View Source

    ExecuteAsync(string)

    Declaration
    public UniTask<ToolResult<T>> ExecuteAsync(string prompt)
    Parameters
    Type Name Description
    string prompt
    Returns
    Type Description
    UniTask<ToolResult<T>>

    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