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(dspy): fixed bug in deeplake_rm retriever part #1168

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

efenocchi
Copy link
Contributor

This commit fixes a bug in the DeeplakeRM class, which is a retriever model that uses Deep Lake to return the top context for a given query. The following changes have been made:

  • Updated the import of OpenAI errors.
  • Updated the embedding function.
  • Modified the vector store instance initialization: it was instantiated every time the user made a request, now it is instantiated only at the beginning.

@arnavsinghvi11
Copy link
Collaborator

Thanks @efenocchi ! should be ready to merge after you run ruff check . --fix-only and push again.

@efenocchi
Copy link
Contributor Author

thanks @arnavsinghvi11, done

@arnavsinghvi11 arnavsinghvi11 merged commit 081b637 into stanfordnlp:main Jun 18, 2024
4 checks passed
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

2 participants