SearchModelFactory.KnowledgeBaseRetrieveDefaults 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.
Persisted request-wide defaults for knowledge base retrieve requests. Each value provides the default for the matching retrieve-request field; service defaults apply when unset, and request-time values take precedence when present.
public static Azure.Search.Documents.Indexes.Models.KnowledgeBaseRetrieveDefaults KnowledgeBaseRetrieveDefaults(int? maxRuntimeInSeconds = default, int? maxOutputDocuments = default, int? maxOutputSizeInTokens = default);
static member KnowledgeBaseRetrieveDefaults : Nullable<int> * Nullable<int> * Nullable<int> -> Azure.Search.Documents.Indexes.Models.KnowledgeBaseRetrieveDefaults
Public Shared Function KnowledgeBaseRetrieveDefaults (Optional maxRuntimeInSeconds As Nullable(Of Integer) = Nothing, Optional maxOutputDocuments As Nullable(Of Integer) = Nothing, Optional maxOutputSizeInTokens As Nullable(Of Integer) = Nothing) As KnowledgeBaseRetrieveDefaults
Parameters
The default maximum size, in tokens, of the content in the retrieve output.
Returns
A new KnowledgeBaseRetrieveDefaults instance for mocking.