Class PerplexityUsage
Inherited Members
Namespace: Glitch9.AIDevKit.Perplexity
Assembly: Glitch9.AIDevKit.Provider.Perplexity.dll
Syntax
public class PerplexityUsage
Properties
| Edit this page View SourceCitationTokens
Optional. Number of citation tokens used.
Declaration
[JsonProperty("citation_tokens")]
public int? CitationTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
CompletionTokens
Required. Number of completion tokens used.
Declaration
[JsonProperty("completion_tokens")]
public int CompletionTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
NumSearchQueries
Optional. Number of search queries issued.
Declaration
[JsonProperty("num_search_queries")]
public int? NumSearchQueries { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PromptTokens
Required. Number of prompt tokens used.
Declaration
[JsonProperty("prompt_tokens")]
public int PromptTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ReasoningTokens
Optional. Number of reasoning tokens used.
Declaration
[JsonProperty("reasoning_tokens")]
public int? ReasoningTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
SearchContextSize
Optional. The search context size used.
Declaration
[JsonProperty("search_context_size")]
public SearchContextSize SearchContextSize { get; set; }
Property Value
| Type | Description |
|---|---|
| SearchContextSize |
TotalTokens
Required. Total number of tokens used.
Declaration
[JsonProperty("total_tokens")]
public int TotalTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |