piizei / cosmosdb-llm-knowledge-graph

Example how to construct knowledge graph from document with LLM (Langchain), and use it with CosmosDB/Neo4j
MIT License
9 stars 0 forks source link

Knowledge_graph tool is not invoked and no kg is created. #4

Open ikaqiu-Lemon opened 2 weeks ago

ikaqiu-Lemon commented 2 weeks ago

Hello!

Firstly thank you for sharing this proj. I encountered a problem while running the code in 'Construct knowledge graph with LLM'.

The detail is that the 'knowledge_graph' tool is not invoked, the result shows that LLM have already output some nodes and relationships, but there's nothing in _graphdocs and _functionresponses(variables in the code).

It will be great appreciated for reply.

piizei commented 2 weeks ago

Hi @ikaqiu-Lemon thanks for testing it out. Could you let me know if you just tried to run the example without any modifications (for example using your own document). Also what python version and operating system did you use?