Class GenAiFunctionStats
Provides statistics for each Ai function call within a query.
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class GenAiFunctionStats : IDirectResponseSchema
Properties
CostOptimizationStats
Cost optimization stats if applied on the rows processed by the function.
Declaration
[JsonProperty("costOptimizationStats")]
public virtual GenAiFunctionCostOptimizationStats CostOptimizationStats { get; set; }
Property Value
| Type | Description |
|---|---|
| GenAiFunctionCostOptimizationStats |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorStats
Error stats for the function.
Declaration
[JsonProperty("errorStats")]
public virtual GenAiFunctionErrorStats ErrorStats { get; set; }
Property Value
| Type | Description |
|---|---|
| GenAiFunctionErrorStats |
FunctionName
Name of the function.
Declaration
[JsonProperty("functionName")]
public virtual string FunctionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NumProcessedRows
Number of rows processed by this GenAi function. This includes all cost_optimized, llm_inferred and failed_rows.
Declaration
[JsonProperty("numProcessedRows")]
public virtual long? NumProcessedRows { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Prompt
User input prompt of the function (truncated to 20 chars).
Declaration
[JsonProperty("prompt")]
public virtual string Prompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |