typescript-client
typescript-client copied to clipboard
💅 Update `text2vec-azure-openai` to utilize `isAzure: true` flag and mark `resourceName` + `deploymentId` as optional
This relates to the changes in https://github.com/weaviate/weaviate/pull/5776
With this adjustment, devs can use the text2VecAzureOpenAI vectorizer, without specifying deploymentId or resourceName upfront for their collection.
Instead, they may provide the headers X-Azure-Deployment-Id and X-Azure-Resource-Name in their requests to set these.
vectorizer.text2VecAzureOpenAI({
vectorizeCollectionName: false,
})
Internally, using text2VecAzureOpenAI will set the an isAzure: true flag for the OpenAI vectorizer, so it understands that the Azure logic must be used.
Great to see you again! Thanks for the contribution.
beep boop - the Weaviate bot 👋🤖
PS:
Are you already a member of the Weaviate Slack channel?