Search Results for

    Show / Hide Table of Contents

    Class PerplexityUsage

    Inheritance
    object
    PerplexityUsage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Perplexity
    Assembly: Glitch9.AIDevKit.Provider.Perplexity.dll
    Syntax
    public class PerplexityUsage

    Properties

    | Edit this page View Source

    CitationTokens

    Optional. Number of citation tokens used.

    Declaration
    [JsonProperty("citation_tokens")]
    public int? CitationTokens { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    CompletionTokens

    Required. Number of completion tokens used.

    Declaration
    [JsonProperty("completion_tokens")]
    public int CompletionTokens { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    NumSearchQueries

    Optional. Number of search queries issued.

    Declaration
    [JsonProperty("num_search_queries")]
    public int? NumSearchQueries { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    PromptTokens

    Required. Number of prompt tokens used.

    Declaration
    [JsonProperty("prompt_tokens")]
    public int PromptTokens { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    ReasoningTokens

    Optional. Number of reasoning tokens used.

    Declaration
    [JsonProperty("reasoning_tokens")]
    public int? ReasoningTokens { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    SearchContextSize

    Optional. The search context size used.

    Declaration
    [JsonProperty("search_context_size")]
    public SearchContextSize SearchContextSize { get; set; }
    Property Value
    Type Description
    SearchContextSize
    | Edit this page View Source

    TotalTokens

    Required. Total number of tokens used.

    Declaration
    [JsonProperty("total_tokens")]
    public int TotalTokens { get; set; }
    Property Value
    Type Description
    int

    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