Replies: 2 comments 2 replies
-
Hey @PaulDeFi! How's it going? I'm here to help you with any bugs, questions, or even becoming a contributor. Let's tackle this together! I found some relevant information that might help you resolve the
Review these points and adjust your code accordingly to see if it resolves the issue. If the problem persists, double-check the prompt template and the input variables to ensure they align with the expected format. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
Hello,
I'm building a DeFi AI application and want to use the Neo4j Graph Platform to store knowledge in a graph-based system.
So far, I have used the langchain.js framework along with the Neo4j LLM Knowledge Graph Builder to experiment with different ways of creating the best graph structure based on WhitePaper inputs.
I decided to use the Neo4j Knowledge Graph Builder, which generated a graph based on 10 DeFi app WhitePapers.
The issue I’m facing is related to the GraphRAG Query I am trying to run on this graph using the @langchain/community framework. Specifically, I’m using the langchain/chains/graph_qa/cypher tutorials from langchain.
When running the following code, I consistently get the INVALID_PROMPT_INPUT error (error details here), and I am unable to modify anything to resolve it.
Or if I'm changing a lot parts the code, I'm still unable to have a good output from the
FewShotPromptTemplate
and theGraphCypherQAChain.fromLLM
as well.System Info
@langchain/community": "^0.3.28",
"@langchain/core": "^0.3.37",
"@langchain/openai": "^0.4.2",
"dotenv": "^16.4.7",
"fs": "0.0.1-security",
"langchain": "^0.3.15",
"neo4j-driver": "^5.28.0"
Beta Was this translation helpful? Give feedback.
All reactions