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

langchain: Fix Neo4jVector vector store reference from partner package for self query #28292

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

willtai
Copy link

@willtai willtai commented Nov 22, 2024

This should only be merged once neo4j is included under libs/partners.

Description:

Neo4jVector from langchain-community is being moved to langchain-neo4j: see link.

To solve the issue below, this PR adds an attempt to import Neo4jVector from the partner package langchain-neo4j, similarly to the other partner packages.

Issue:

When initializing SelfQueryRetriever, the following error is raised:

ValueError: Self query retriever with Vector Store type <class 'langchain_neo4j.vectorstores.neo4j_vector.Neo4jVector'> not supported.

See related issue.

Dependencies:

  • langchain-neo4j

Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2024 5:06pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

1 participant