JanusGraph Integration #27804
zhaoJoseph
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
We are a team of CS students at UofT and propose to create an integration of the graph database system JanusGraph into Langchain, we will submit a pull request some time around mid November.
Motivation
We have found partial solutions for integration and requests for integration support here;
#16082, #23957
Proposal (If applicable)
Our implementation will provide similar support as done for the graph database system Neo4J such as loading a graph from GraphDocument objects. Some key integrations will be querying the graph using an LLM to return a result, generating Gremlin statements for specific prompts such as adding new nodes to a graph, ignoring/including nodes in a graph while querying and passing tools to function outputs.
Pseudocode:
Files Added/Modified:
langchain-ai/langchain/blob/master/libs/community/langchain_community/graphs/janus_graph.py
langchain-ai/langchain/blob/master/libs/community/tests/unit_tests/graphs/test_janus_graph.py
langchain-ai/langchain/blob/master/docs/docs/integrations/graphs/janusgraph_gremlin.ipynb
Steps:
Beta Was this translation helpful? Give feedback.
All reactions