Back to Chat with your data README
USER STORY | DEPLOYMENT INSTRUCTIONS
This feature allows chunking and vectorization of data during ingestion into Azure AI Search through built-in pull-indexers. It supports automatic processing of data directly from storage - meaning the user can just upload their data to Azure Blob Storage and the built-in pull-indexers will do the chunking, vectorization and indexing. This removes the need for Chat With Your Data to explicitly perform chunking, vectorization and pushing to the search index. Read more.
NOTE: Every instance of Chat With Your Data will need to be configured whether or not to use Integrated Vectorization at deployment time. Once deployed, you will be unable to switch between enabling and disabling Integrated Vectorization when the application is running. In order to run a fresh deployment to switch to and from Integrated Vectorization, refer to the following sections in this document:
- To switch from Integrated Vectorization disabled to enabled
- To switch from Integrated Vectorization enabled to disabled
When you click the "Deploy to Azure" button on the repo's main page, you will be taken to the Azure portal, where you can select "true" for the option "Azure Search Use Integrated Vectorization".
If you're deploying Chat With Your Data for the first time, run the following before running azd up
to enable Integrated Vectorization:
azd env set AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION true
If you have previously deployed Chat With Your Data without Integrated Vectorization enabled, you probably have a search index already deployed to your Azure subscription. Integrated Vectorization will require a new, fresh index to function properly so please follow the below steps to enable Integrated Vectorization when you have a previous deployment:
- On your Azure portal, navigate to the resource group which has your Chat With Your Data deployment.
- Delete the existing search index.
- Run the command
azd env set AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION true
- Run
azd up
If you have a deployment with Integrated Vectorization enabled, and you want to disable it, you will need to follow the below steps:
- On your Azure portal, navigate to the resource group which has your Chat With Your Data deployment.
- Delete the existing search index.
- Delete the existing indexer.
- Delete the existing skillset.
- Delete the existing datasource.
- Run the command
azd env set AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION false
- Run
azd up