Skip to content

Basic KuzuGraph Example fails when using Ollama vs OpenAI #10

Open
@wingraver

Description

@wingraver

KuzuDB is great for a lot of use cases and I'm trying to expand usage scenarios. The knowledge graph example presented by both Kuzu and LangChain consistently fails at this step:

Add the graph document to the graph
graph.add_graph_documents(graph_documents, include_source=True,)

Results in...
RuntimeError: Binder exception: Cannot find property id for e.

It would be great to be able to use Ollama and return comparable results; as of now though I'm not seeing a way to resolve this... no local model has been able to get pass this point (and I have many)???

Additionally, there appears to be another issue as the generated nodes and (missing) relationships are usually incomplete; relative to the results presented in the example. In a lot of cases no relationships are returning when the schema is strictly applied? There should be a way to govern what the LLM returns for addition to the knowledge graph...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions