SearchModelFactory.AIServices(Uri, String) 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.
Parameters for AI Services.
public static Azure.Search.Documents.KnowledgeBases.Models.AIServices AIServices(Uri uri = default, string apiKey = default);
static member AIServices : Uri * string -> Azure.Search.Documents.KnowledgeBases.Models.AIServices
Public Shared Function AIServices (Optional uri As Uri = Nothing, Optional apiKey As String = Nothing) As AIServices
Parameters
- uri
- Uri
The URI of the AI Services endpoint.
- apiKey
- String
The API key for accessing AI Services.
Returns
A new AIServices instance for mocking.