ภาษา

SearchModelFactory.KnowledgeBaseGraphSearchActivityArguments Method

Definition

Natural-language graph request, generated-query visibility, and model usage for an activity.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseGraphSearchActivityArguments KnowledgeBaseGraphSearchActivityArguments(string naturalLanguageQuery = default, string graphIndexName = default, string gql = default, string outcome = default, int? attempts = default, int? inputTokens = default, int? outputTokens = default, long? modelElapsedMs = default, string modelName = default);
static member KnowledgeBaseGraphSearchActivityArguments : string * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int64> * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseGraphSearchActivityArguments
Public Shared Function KnowledgeBaseGraphSearchActivityArguments (Optional naturalLanguageQuery As String = Nothing, Optional graphIndexName As String = Nothing, Optional gql As String = Nothing, Optional outcome As String = Nothing, Optional attempts As Nullable(Of Integer) = Nothing, Optional inputTokens As Nullable(Of Integer) = Nothing, Optional outputTokens As Nullable(Of Integer) = Nothing, Optional modelElapsedMs As Nullable(Of Long) = Nothing, Optional modelName As String = Nothing) As KnowledgeBaseGraphSearchActivityArguments

Parameters

naturalLanguageQuery
String

Natural-language query submitted to graph retrieval for this activity.

graphIndexName
String

Graph index queried by this activity.

gql
String

Generated GQL, returned only when graphParameters.includeQuery is true.

outcome
String

Reported outcome of the graph query loop, such as Success.

attempts
Nullable<Int32>

Query generation/execution attempts made by the graph loop.

inputTokens
Nullable<Int32>

Input tokens consumed by graph query generation.

outputTokens
Nullable<Int32>

Output tokens consumed by graph query generation.

modelElapsedMs
Nullable<Int64>

Elapsed graph model-call time in milliseconds.

modelName
String

Model name reported for graph query generation.

Returns

A new KnowledgeBaseGraphSearchActivityArguments instance for mocking.

Applies to