Skip to content
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

Updated notebooks and utils.py to use the latest stable Azure Search API Version, needed for future Index projection and automatic embedding #43

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

maurominella
Copy link

I've just updated the notebooks 1, 2, 3, 4 + utils.py to use ⁠the latest Azure Search API version 2023-11-01. I spent a few hours to check all notebooks 1 to 11 work without any problems, including backend and frontend apps. This way we'll be able to create a "notebook 3.5" that creates, in a single indexer run, the index including the chunks projection (in order to have 1 search document per chunk), the chunk embedding and the entities -URLs, emails, keyphrases- associated to that chunk.

@maurominella
Copy link
Author

maurominella commented Dec 23, 2023

I added the 035-ChunkDocumentsInSingleStep.ipynb file to fill secondary index in a single step and to automatically create embeddings leveraging a skill. Now the indexer fills only one indexer with a single chunk per row (aka search document) together with its embeddings, its key phrases and some entities like persons/urls/emails.
Furthermore, the search is now able to pass raw vectors (externally calculated), but we can also pass simple text that is automatically converted to embeddings and used for the similarity search.
The last cell, finally, shows how to interrogate Azure AI Search TRHOUGH AZURE OPENAI leveraging the COMPLETION EXTENSIONS: a single call TO AZURE OPENAI implicitly calls Azure AI Search.

Please note that this notebook is just for demonostration purposes and has no effect with the rest of the solution accelerator, that keeps using the two indexes created in notebooks #1 / #2 / #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant