chat-with-your-data-solution-accelerator
chat-with-your-data-solution-accelerator copied to clipboard
feat: [IV] Enable semantic search when semantic search true
Purpose
- This PR adds the functionality to do semantic search when 'AZURE_SEARCH_USE_SEMANTIC_SEARCH' is true when using Integrated Vectorization.
- This PR also resolves an unidentified bug of enabling the semantic search plan in the bicep file when 'AZURE_SEARCH_USE_SEMANTIC_SEARCH' is true
- This PR also updates the semantic search config name to the correct env name i.e 'AZURE_SEARCH_SEMANTIC_SEARCH_CONFIG'
- Resolves #923
Does this introduce a breaking change?
- [ ] Yes
- [x] No
Test the code
- Run unit tests
- Run functional tests
- Deploy to Azure
What to Check
Verify that the following are valid
- When semantic search is enabled, verify that in the 'Semantic Ranker` section under the Azure Search resource in the Azure Portal shows as Selected.
- When semantic search is enabled, the results should also be evaluated if they are ranked semantically.