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

Enable passing Python dictionaries in index.add #28

Merged
merged 9 commits into from
Jun 15, 2024
Merged

Conversation

mtbarta
Copy link
Contributor

@mtbarta mtbarta commented Jun 14, 2024

This PR changes the external interface for indexing. Collections translates Python maps to input passages, but index didn't.

We update that so we can pass dictionaries with either text or embeddings keys.

There are a few internal interface changes as well. Notably, add_batch to collection passed by value, and that's been fixed.

@mtbarta mtbarta merged commit 47effb2 into main Jun 15, 2024
1 check passed
@mtbarta mtbarta deleted the bugfix/config branch June 15, 2024 03:40
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