SearchModelFactory.KnowledgeBaseGraphSearchActivityArguments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- modelName
- String
Model name reported for graph query generation.
Returns
A new KnowledgeBaseGraphSearchActivityArguments instance for mocking.