ProjectsOpenAIModelFactory.AzureAISearchToolIndex 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.
A AI Search Index resource.
public static Azure.AI.Projects.OpenAI.AzureAISearchToolIndex AzureAISearchToolIndex(string projectConnectionId = default, string indexName = default, Azure.AI.Projects.OpenAI.AzureAISearchQueryType? queryType = default, int? topK = default, string filter = default, string indexAssetId = default);
static member AzureAISearchToolIndex : string * string * Nullable<Azure.AI.Projects.OpenAI.AzureAISearchQueryType> * Nullable<int> * string * string -> Azure.AI.Projects.OpenAI.AzureAISearchToolIndex
Public Shared Function AzureAISearchToolIndex (Optional projectConnectionId As String = Nothing, Optional indexName As String = Nothing, Optional queryType As Nullable(Of AzureAISearchQueryType) = Nothing, Optional topK As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional indexAssetId As String = Nothing) As AzureAISearchToolIndex
Parameters
- projectConnectionId
- String
An index connection ID in an IndexResource attached to this agent.
- indexName
- String
The name of an index in an IndexResource attached to this agent.
- queryType
- Nullable<AzureAISearchQueryType>
Type of query in an AIIndexResource attached to this agent.
- filter
- String
filter string for search resource. Learn more here.
- indexAssetId
- String
Index asset id for search resource.
Returns
A new AzureAISearchToolIndex instance for mocking.