# Storing data in Blob Storage based on 1. Go to the storage resources created. 2. Left Menu bar in Data Storage field click Containers 3. Create Container by clicking +Container 4. New Pop up appears give appropriate name to the container 5. Click Create ![image](https://hackmd.io/_uploads/SkuzZOXFT.png) 6. Click and open created container ![image](https://hackmd.io/_uploads/Sy2OZdmKp.png) 7. Click Upload, Select the file you want to upload to blobstorage on your PC. 8. Check if it matches the selected file Containers with file ![image](https://hackmd.io/_uploads/SkRMQuXYa.png) Note: Requires Azure AI Search resources to continue 9. Home > XXX-search-service-XXX ![image](https://hackmd.io/_uploads/ry3oKcXFp.png) ## Import Data 10. Click Import data 11. Data Source to Azure Blob Storage 12. Click an existing connection 13. Select the Storage accounts that you have created 15. Select the container & Next: Add Cognitive skills ![image](https://hackmd.io/_uploads/SywOj5mK6.png) 16. Import data (may occur problem so recommended to use import and vectorize data) ![image](https://hackmd.io/_uploads/H19hh9XFa.png) Note: its under free version so limited Cognitive skills 17. Next: Customize target index ![image](https://hackmd.io/_uploads/BJ2_TcXKT.png) 18. Next: Create an indexer Finally, create the indexer. Indexers provide an automated workflow for transferring documents and content from external data sources to a search service's search index. Here you can schedule the frequency of data pulls and configure various settings for processing the files you search. ![image](https://hackmd.io/_uploads/HJ7W05QF6.png) 19. Submit ## Create Semantic configurations 1. Navigate to Your Azure Cognitive Search Service: Open the Azure Portal and navigate to your Azure Cognitive Search service. 2. Go to "Indexes" Section: In the left-hand menu, click on "Indexes" under your Azure Cognitive Search service. 3. Select the Index: Choose the index for which you want to create a semantic configuration. 4. Select Semantic configurations tab: Click Add semantic configuration ![image](https://hackmd.io/_uploads/B13GfgSKa.png) new semantic configurations is created & Don't forget to save 5. Save ![image](https://hackmd.io/_uploads/HyOemxBKT.png) Note forget to set semantic_configuration_name in your script ## Vector profiles 1. Add profile 2. Create Algorithm (default) 3. Add Vecorizer (note use embedding) ![image](https://hackmd.io/_uploads/H1-wClHYa.png) ![image](https://hackmd.io/_uploads/BkyK0xSKp.png) 4. Save Note: Dont forget to add vector profile in your script 5. click save top left as well Skip the following if you use above approach (Recommended approach ) ## Note If you want to add vector search, you need to vectorize the data so Import and vectorize It will create all required profiles. (index, indexer,vector-profile) 1. Click Import and vectorize data ![image](https://hackmd.io/_uploads/HJ2Gqz8F6.png) 2. Setup your data connection ![image](https://hackmd.io/_uploads/HkK89fUKT.png) 3. Vectorize your data with Azure OpenAI ![image](https://hackmd.io/_uploads/S1X0cGLK6.png) 4. Create ![image](https://hackmd.io/_uploads/H1FgifItT.png) 5. Create succeede ![image](https://hackmd.io/_uploads/ByBNofLYa.png) 6. Click start testing to search it will open the indexer ![image](https://hackmd.io/_uploads/SJUIif8Y6.png) vectorSea1536 ## CORs setting(optional -> Not required) Browsers disallow all cross-origin requests, so client-side JavaScript can't call APIs by default. To allow cross-origin queries on your index, enable CORS (cross-origin resource sharing) by setting the corsOptions attribute. 1. Navigate to Your Azure Cognitive Search Service: Open the Azure Portal and navigate to your Azure Cognitive Search service. 2. Go to "Indexes" Section: In the left-hand menu, click on "Indexes" under your Azure Cognitive Search service. 3. Select the Index: Choose the index for which you want to create a semantic configuration. 4. Select CORS 5. From the CORS tab in the index, set Allowed Origin Types to All and click Save.