Search Results for

    Show / Hide Table of Contents

    Interface IGenerativeTextRequest

    Inherited Members
    IGenerativeRequest.Api
    IGenerativeRequest.RequestType
    IGenerativeRequest.EndpointType
    IGenerativeRequest.Model
    IGenerativeRequest.Sender
    IGenerativeRequest.Stream
    IGenerativeRequest.N
    IGenerativeRequest.ContentType
    IGenerativeRequest.ResponseType
    IGenerativeRequest.SafetyIdentifier
    IGenerativeRequest.ServiceTier
    IGenerativeRequest.DownloadOptions
    IGenerativeRequest.LogOptions
    IGenerativeRequest.MeasureLatency
    IGenerativeRequest.RequestedAt
    IGenerativeRequest.OnLatencyMeasured
    IGenerativeRequest.RecordOptions
    IGenerativeRequest.RecordedContext
    IGenerativeRequest.ShouldWriteRecord()
    IGenerativeRequest.ShouldMeasureLatency()
    IGenerativeRequest.GetPrompt()
    IGenerativeRequest.GetPromptStringToRecord()
    IGenerativeRequest.ExecuteAsyncT<T>(CancellationToken)
    IGenerativeRequest.Cancel()
    IGenerativeRequest.ProcessPostRequestTasks<T>(Generated<T>)
    IGenerativeRequest.ProcessPostRequestTasks(IResult)
    IGenerativeRequest.SetPlaygroundSettings(string, string, string, bool, Action<double>, Action<GenerationRecord>)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public interface IGenerativeTextRequest : IGenerativeRequest

    Properties

    | Edit this page View Source

    FrequencyPenalty

    Declaration
    FrequencyPenalty FrequencyPenalty { get; set; }
    Property Value
    Type Description
    FrequencyPenalty
    | Edit this page View Source

    Instructions

    Declaration
    string Instructions { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    LogitBias

    Declaration
    Dictionary<string, double> LogitBias { get; set; }
    Property Value
    Type Description
    Dictionary<string, double>
    | Edit this page View Source

    Logprobs

    Declaration
    bool? Logprobs { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    MaxTokens

    Declaration
    TokenCount MaxTokens { get; set; }
    Property Value
    Type Description
    TokenCount
    | Edit this page View Source

    ParallelToolCalls

    Declaration
    bool? ParallelToolCalls { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    PresencePenalty

    Declaration
    PresencePenalty PresencePenalty { get; set; }
    Property Value
    Type Description
    PresencePenalty
    | Edit this page View Source

    ReasoningOptions

    Declaration
    ReasoningOptions ReasoningOptions { get; set; }
    Property Value
    Type Description
    ReasoningOptions
    | Edit this page View Source

    ResponseFormat

    Declaration
    ResponseFormat ResponseFormat { get; set; }
    Property Value
    Type Description
    ResponseFormat
    | Edit this page View Source

    SafetySettings

    Declaration
    List<SafetySetting> SafetySettings { get; set; }
    Property Value
    Type Description
    List<SafetySetting>
    | Edit this page View Source

    Seed

    Declaration
    Seed Seed { get; set; }
    Property Value
    Type Description
    Seed
    | Edit this page View Source

    StartingMessage

    Declaration
    string StartingMessage { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Temperature

    Declaration
    Temperature Temperature { get; set; }
    Property Value
    Type Description
    Temperature
    | Edit this page View Source

    ToolChoice

    Declaration
    ToolChoice ToolChoice { get; set; }
    Property Value
    Type Description
    ToolChoice
    | Edit this page View Source

    Tools

    Declaration
    Tool[] Tools { get; set; }
    Property Value
    Type Description
    Tool[]
    | Edit this page View Source

    TopK

    Declaration
    TopK TopK { get; set; }
    Property Value
    Type Description
    TopK
    | Edit this page View Source

    TopLogprobs

    Declaration
    Logprobs TopLogprobs { get; set; }
    Property Value
    Type Description
    Logprobs
    | Edit this page View Source

    TopP

    Declaration
    TopP TopP { get; set; }
    Property Value
    Type Description
    TopP
    | Edit this page View Source

    WebSearchOptions

    Declaration
    WebSearchSettings WebSearchOptions { get; set; }
    Property Value
    Type Description
    WebSearchSettings

    Methods

    | Edit this page View Source

    GetConfig<T>()

    Declaration
    T GetConfig<T>() where T : ITextRequestOptions
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetMessages()

    Declaration
    List<Message> GetMessages()
    Returns
    Type Description
    List<Message>

    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