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

Relax instance check from VectorStoreRetriever to BaseRetriever #1097

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

Conversation

Joelius300
Copy link

Fixes #1096

I ran the scripts format.sh, validate.sh and test.sh. There were some formatting changes and type warnings in other files that don't seem related to this change. The tests could not run (or only partially) because I do not have enough OpenAI quota.

This is my first contribution to phidata, so I'm very happy to hear all of your feedback :)

@Joelius300
Copy link
Author

Should the log message mentioning vectorstore also be adjusted (line 60)?

@jacobweiss2305
Copy link
Contributor

@Joelius300 apologies for the delay on this. Do you mind adding a quick cookbook example?

I want to show the difference between retreiving from doc and vectorstore. This will show that the relax is better.

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.

Cannot use non-vectorstore retrievers in LangChainKnowledgeBase
2 participants