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

fix: enriched result vector not passed to storage when using weaviate #342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

saad039
Copy link

@saad039 saad039 commented Jun 19, 2023

Enriched result vector is required to be added inside result_storage when using Weaviate (i.e WEAVIATE_USE_EMBEDDED=True).

Therefore, it modifies the existing code to

vector = enriched_result["data"] if WEAVIATE_USE_EMBEDDED else None
...
results_storage.add(task, result, result_id, vector=vector)

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.

None yet

1 participant