Package Description
$ dotnet add package AICentral.AzureAISearchVectorizerA customer vectorizer endpoint enabling Azure AI Search to calculate embeddings using end to end private endpoints, in an architecture leveraging Azure API Management's AI Gateway.
dotnet add package AICentral.AzureAISearchVectorizer
builder.Services.AddAICentral(
builder.Configuration,
additionalComponentAssemblies:
[
typeof(AzureAISearchVectorizerProxy).Assembly,
]);
{
"AICentral": {
"RouteProxies": [
{
"Type": "AzureAISearchVectorizerProxy",
"Name": "azureAISearchVectorizer",
"Properties": {
"EmbeddingsDeploymentName": "embeddings",
"ProxyPath": "/aisearchembeddings",
"OpenAIApiVersion": "2024-04-01-preview"
}
}
],
"Pipelines": [
{
"Name": "gpt4o",
"Host": "*",
"EndpointSelector": "endpoint",
"AuthProvider": "anonymous",
"RouteProxies": ["azureAISearchVectorizer"],
"Steps": [
]
}
]
}
}
The middleware exposes a new AI Central Endpoint for a pipeline at the '/ProxyPath' URL, authorised the same was as the rest of the pipeline. This endpoint can be provided to an Azure AI Search instance as a custom vectorizer endpoint to calculate embeddings on AI Search requests.