Skip to content

DAGE-31: M3 index doc to solr with embeddings #201

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

Open
wants to merge 3 commits into
base: dataset-generator
Choose a base branch
from

Conversation

nicolo-rinaldi
Copy link
Collaborator

Jira ticket: https://sease.atlassian.net/browse/DAGE-31

Updated the docker-related files inside solr-init/ folder to deal with the file output/embeddings/doc_embeddings.jsonland index documents’ embeddings into the solr instance. For now the embedding dimension is fixed to 10, then it needs to be changed later on when we have a complete configuration file. The folder where the file containing the embeddings is fixed. If the folder is not found, then an image creates the folder needed but empty. In this way, the code works even if the file doesn’t exists, it just index the documents without any embedding.

…e to index embeddings in file `output/embeddings/doc_embeddings.jsonl`
@nicolo-rinaldi nicolo-rinaldi force-pushed the DAGE-31_M3_index-doc-to-solr branch 3 times, most recently from 20e9505 to 03f24e4 Compare August 19, 2025 15:44
@nicolo-rinaldi nicolo-rinaldi force-pushed the DAGE-31_M3_index-doc-to-solr branch from 03f24e4 to 4ffff13 Compare August 19, 2025 15:45
Now the vector field is created only when needed and the embedding dimension is detected from the first line of the doc_embedding.jsonl file
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