Search Results for

    Show / Hide Table of Contents

    Class XAIChatCompletionEvent

    Inheritance
    object
    OpenAIObject
    ChatCompletionBase<ChatCompletionChoiceDelta>
    ChatCompletionEvent
    XAIChatCompletionEvent
    Implements
    ICompletableEvent
    IEvent
    IProjector<ChatCompletionEvent>
    Inherited Members
    ChatCompletionEvent.FromDelta(MessageDelta, Usage)
    ChatCompletionEvent.IsDone()
    ChatCompletionBase<ChatCompletionChoiceDelta>.CreatedAt
    ChatCompletionBase<ChatCompletionChoiceDelta>.Metadata
    ChatCompletionBase<ChatCompletionChoiceDelta>.Model
    ChatCompletionBase<ChatCompletionChoiceDelta>.Usage
    ChatCompletionBase<ChatCompletionChoiceDelta>.Choices
    ChatCompletionBase<ChatCompletionChoiceDelta>.SystemFingerprint
    OpenAIObject.Id
    OpenAIObject.Object
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.xAI
    Assembly: Glitch9.AIDevKit.Provider.XAI.dll
    Syntax
    public sealed class XAIChatCompletionEvent : ChatCompletionEvent, ICompletableEvent, IEvent, IProjector<ChatCompletionEvent>

    Properties

    | Edit this page View Source

    Citations

    List of all the external pages used by the model to answer.

    Declaration
    [JsonProperty("citations")]
    public List<string> Citations { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    DebugOutput

    Debug output. Only available to trusted testers.

    Declaration
    [JsonProperty("debug_output")]
    public DebugOutput DebugOutput { get; set; }
    Property Value
    Type Description
    DebugOutput

    Methods

    | Edit this page View Source

    Project()

    Declaration
    public ChatCompletionEvent Project()
    Returns
    Type Description
    ChatCompletionEvent

    Implements

    ICompletableEvent
    IEvent
    IProjector<TOut>

    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