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

fixes _get_embeddings for ChromaDB #396

Closed
wants to merge 1 commit into from

Conversation

lukaskuhn-lku
Copy link

As described in #389 _get_embeddings is throwing an error when called via retriever(query): TypeError: Embeddings.create() got an unexpected keyword argument 'engine'.

This is a result of the unnecessary usage of model_args and api_provider. I removed both and now the function works as expected.

@insop
Copy link
Contributor

insop commented Feb 16, 2024

@lukaskuhn-lku, it seems like #400 update has wider scope changes.
Maybe this PR might not be necessary if the newer one (400) is reviewed and merged.

@okhat
Copy link
Collaborator

okhat commented Feb 17, 2024

Thank you so much @lukaskuhn-lku ! I will merge #400 so I will close this, but I really appreciate your contribution.

@okhat okhat closed this Feb 17, 2024
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.

3 participants