-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Integrated vectorization enabled #2383
Comments
I receive the same error message (seems the last update of the repo?) even when I try to create a fresh new index using prepdocs.py or using azd up. Also with a complete fresh initialized project and start it up from scratch. Or there was some change on the backend of the AI Search service? As there is a HttpResponseError I compared the relevant py files with an older project that I spun up 2 months ago without a problem, but didn't find some difference Cheers, |
Side fact: So for me it seems there was a change in the backend of AI Search. EDIT: It is / was a change on the backend: When you change in integratedvectorizerstrategy.py line 175: from: to: The deployment succeed. Need to check now the impact on existing indexes and change the field mapping |
Thank you so much. In my case I have added the title feild in the index. It works for me in that way |
I believe changing the line 175 in integratedvectorizerstrategy.py as @Bennzn suggested is the right approach. @TB-Shyam you may want to test if the index is being updated properly after your change. |
I enabled integrated vectorization in the environment variables. Deleted the old index and run azd provison. I get the below error.
It states that Field mapping specifies target field 'title' that is not present in the index.
I checked the searchmanager.py file and that index schema doesnt have the title field in it.
I have two options:
We have two options:
a) Add a "title" field to the index schema in searchmanager.py
b) Change the field mapping in integratedvectorizerstrategy.py to map to an existing field like "sourcepage" or "sourcefile"
Which way would you recommend me to proceed with?
The text was updated successfully, but these errors were encountered: