PersistentAgentsModelFactory.AISearchIndexResource 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.
Initializes a new instance of AISearchIndexResource.
public static Azure.AI.Agents.Persistent.AISearchIndexResource AISearchIndexResource(string indexConnectionId = default, string indexName = default, Azure.AI.Agents.Persistent.AzureAISearchQueryType? queryType = default, int? topK = default, string filter = default, string indexAssetId = default);
static member AISearchIndexResource : string * string * Nullable<Azure.AI.Agents.Persistent.AzureAISearchQueryType> * Nullable<int> * string * string -> Azure.AI.Agents.Persistent.AISearchIndexResource
Public Shared Function AISearchIndexResource (Optional indexConnectionId 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 AISearchIndexResource
Parameters
- indexConnectionId
- 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.
- indexAssetId
- String
Index asset id for search resource.
Returns
A new AISearchIndexResource instance for mocking.