Class AgenticRagSearchTrace
Structured trace payload emitted for each Agentic RAG tool execution.
public sealed class AgenticRagSearchTrace
- Inheritance
-
AgenticRagSearchTrace
- Inherited Members
Constructors
AgenticRagSearchTrace(string, string, RagQueryOptions?, RagProcessedQuery?, Exception?)
public AgenticRagSearchTrace(string toolName, string query, RagQueryOptions? queryOptions, RagProcessedQuery? result, Exception? exception = null)
Parameters
toolNamestringquerystringqueryOptionsRagQueryOptionsresultRagProcessedQueryexceptionException
Properties
Exception
The exception thrown while resolving query options or executing the search. Null when the tool completed successfully.
public Exception? Exception { get; }
Property Value
HasReferences
Whether the successful result contains at least one reference.
public bool HasReferences { get; }
Property Value
Query
The self-contained search query executed for this step.
public string Query { get; }
Property Value
QueryOptions
The resolved per-call query options.
public RagQueryOptions? QueryOptions { get; }
Property Value
Result
The structured query result for successful executions. Null when the tool failed before a result was produced.
public RagProcessedQuery? Result { get; }
Property Value
Succeeded
Whether the search completed successfully.
public bool Succeeded { get; }
Property Value
ToolName
The registered tool name that produced this trace item.
public string ToolName { get; }