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

Vectors are not sent to AI Search #75

Open
Bergdoktor opened this issue Aug 19, 2024 · 1 comment
Open

Vectors are not sent to AI Search #75

Bergdoktor opened this issue Aug 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Bergdoktor
Copy link

Bergdoktor commented Aug 19, 2024

Hi @clemlesne,
first of all: thank you for your awesome work. finally got the call-center-ai sample project all set up but now I'm facing issues with filling the index via synthetic-rag-index.

I created the index "trainings" with the fields as specified. But when I import documents via the application pipeline the "Vector index size" remains at 0 Bytes. Document count is up to 112, "Total storage size" is only 289.7 KB.

For comparison I created another index and filled it with one of the same documents via the azure web frontend and this index has an document count of 93, vector index size of 575,66kb and 2.8MB of storage size.

Can you point me in the right direction if the 0 Bytes is as expected or if something went wrong with the embeddings from ada?

Thanks!

@clemlesne
Copy link
Collaborator

clemlesne commented Sep 28, 2024

Indeed, vectors are not pushed at all into AI Search. My bad. Out of the box, you should be able to use BM25 from AI Search, which gives you good results even without vectors.

Thank you for noticing this!

We need to:

  1. Create vectors from the QA with OpenAI text embedding model
  2. Add vectors to the vectors of the JSON object
  3. Send the document to AI Search (already in place)

@clemlesne clemlesne added the bug Something isn't working label Sep 28, 2024
@clemlesne clemlesne changed the title Vector index size stays at 0 bytes Vectors are not sent to AI Search Sep 28, 2024
@clemlesne clemlesne self-assigned this Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants