Search Results for

    Show / Hide Table of Contents

    Class StructuredOutputRequestBase<TSelf, TAsset>

    Inheritance
    object
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>
    StreamingGenerativeRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>, ITextRequestOptions>
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>
    StructuredOutputRequestBase<TSelf, TAsset>
    CodeGenerationRequest
    StructuredOutputRequest<T>
    Implements
    IStreamingGenerativeRequest<Delta<ITextChunk>, TAsset>
    IGenerativeTextRequest
    IGenerativeRequest
    Inherited Members
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>.RequestType
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>.Messages
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>.OutputModalities
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>.SetOutputModalities(params Modality[])
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>.AddMessageRange(IEnumerable<Message>)
    ChatCompletionRequestBase<TSelf, Prompt, TAsset>.GetMessages()
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.ModelType
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.Instructions
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.StartingMessage
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.TopP
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.TopK
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.Temperature
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.TopLogprobs
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.LogitBias
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.Logprobs
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.PresencePenalty
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.FrequencyPenalty
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.MaxTokens
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.ReasoningOptions
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.StreamOptions
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SafetySettings
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.RequestMetadata
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.Tools
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.ToolChoice
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.ParallelToolCalls
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.ResponseFormat
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.Stop
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.WebSearchOptions
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetInstructions(string)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetStartingMessage(string)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetSafetySettings(List<SafetySetting>)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetTools(params Tool[])
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetTools(IEnumerable<Tool>)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetToolChoice(ToolChoice)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetTemperature(Temperature)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetTopP(TopP)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetTopK(TopK)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetPresencePenalty(PresencePenalty)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetFrequencyPenalty(FrequencyPenalty)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetLogitBias(Dictionary<string, double>)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetLogprobs(bool)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetMaxOutputTokens(TokenCount)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetReasoningOptions(ReasoningOptions)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetReasoning(ReasoningEffort, ReasoningSummaryLevel?)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetReasoning(ReasoningEffort, TokenCount, bool)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetReasoning(ReasoningFormat)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetReasoning(TokenCount)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetResponseFormat(ResponseFormat)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetResponseFormat(Type)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetStopSequences(params string[])
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetRequestMetadata(ServerDictionary)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.SetWebSearchOptions(WebSearchSettings)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.AddMessage(params Message[])
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.AddMessageRange(IEnumerable<Message>)
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.GetMessages()
    GenerativeTextRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>>.ValidateRequest()
    StreamingGenerativeRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>, ITextRequestOptions>.StreamAsync(CancellationToken)
    StreamingGenerativeRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>, ITextRequestOptions>.StreamAsyncInternal()
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.FileNameKey
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.FallbackModel
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ModelType
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.Api
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.Prompt
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.Model
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.N
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.Seed
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.MeasureLatency
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.OnLatencyMeasured
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.RequestedAt
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.RecordOptions
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.RecordedContext
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetModel(Api, string)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetModel(ModelBase)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetCount(int)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetN(int)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetSeed(long)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetRecordOptions(bool?, bool?, string, string, GenerationRecord, RecordMerger, Action<GenerationRecord>)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetRecordOptions(GenerationRecordOptions)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetMeasureLatency(Action<double>)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetMeasureLatency(bool, Action<double>)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.SetPlaygroundSettings(string, string, string, bool, Action<double>, Action<GenerationRecord>)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ExecuteAsync(CancellationToken)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ExecuteAsyncT<T>(CancellationToken)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ProcessPostRequestTasks<T>(Generated<T>)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ProcessPostRequestTasks(IResult)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.GetPrompt()
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.GetPromptStringToRecord()
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ResolveDownloadOptions(DownloadOptions)
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.ValidateRequest()
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.GenerateDefaultFileName()
    GenerativeRequest<TSelf, Prompt, TAsset, ITextRequestOptions>.PrepareRequestAsync()
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.m_Api
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.Api
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.RequestType
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.HttpOptions
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.DownloadOptions
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.Sender
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.LogOptions
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ContentType
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ResponseType
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.IsCanceled
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.Stream
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SafetyIdentifier
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ServiceTier
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.Metadata
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ProviderOptions
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.Options
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetSender(string)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetLogOptions(CurlLogOptions)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetOutputPath(string)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetOutputPath(string, string)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetOutputDirectory(string)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetDownloadOptions(DownloadOptions)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetRequestMimeType(MimeType)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetResponseMimeType(MimeType)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetStream(bool)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetMetadata(ServerDictionary)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetSafetyIdentifier(string)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetProviderOptions(ITextRequestOptions)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetSpecificOptions(ITextRequestOptions)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ValidateRequest()
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.GetConfig<T>()
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.SetApi(Api)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ExecuteAsync(CancellationToken)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.Cancel()
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ExecuteAsyncInternal()
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.ResolveDownloadOptions(DownloadOptions)
    UnifiedApiRequestBase<TSelf, Generated<TAsset>, ITextRequestOptions>.GenerateDefaultFileName()
    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 StructuredOutputRequestBase<TSelf, TAsset> : ChatCompletionRequestBase<TSelf, Prompt, TAsset>, IStreamingGenerativeRequest<Delta<ITextChunk>, TAsset>, IGenerativeTextRequest, IGenerativeRequest where TSelf : StructuredOutputRequestBase<TSelf, TAsset> where TAsset : class
    Type Parameters
    Name Description
    TSelf
    TAsset

    Constructors

    | Edit this page View Source

    StructuredOutputRequestBase()

    Declaration
    protected StructuredOutputRequestBase()
    | Edit this page View Source

    StructuredOutputRequestBase(Prompt)

    Declaration
    protected StructuredOutputRequestBase(Prompt prompt)
    Parameters
    Type Name Description
    Prompt prompt

    Methods

    | Edit this page View Source

    CreateChatCompletionRequest(string)

    Declaration
    protected ChatCompletionRequest CreateChatCompletionRequest(string fallbackInstructions = null)
    Parameters
    Type Name Description
    string fallbackInstructions
    Returns
    Type Description
    ChatCompletionRequest
    | Edit this page View Source

    StreamAsyncInternal()

    Declaration
    protected override IGenerativeStream<Delta<ITextChunk>, TAsset> StreamAsyncInternal()
    Returns
    Type Description
    IGenerativeStream<Delta<ITextChunk>, TAsset>
    Overrides
    StreamingGenerativeRequest<TSelf, Prompt, TAsset, Delta<ITextChunk>, ITextRequestOptions>.StreamAsyncInternal()

    Implements

    IStreamingGenerativeRequest<TEvent, TAsset>
    IGenerativeTextRequest
    IGenerativeRequest

    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