Skip to content

No Graph in the Knowledge Exploration section #728

@mathyptr

Description

@mathyptr

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

What happened

Hi,
I've got some problems importing document for Knowledge Base Build.

I've downloaded the docker compose file from https://raw.githubusercontent.com/OpenSPG/openspg/refs/heads/master/dev/release/docker-compose-west.yml and launch the services with Docker Compose.

In the "Model Configuration" I've added the model Ollama/bge-m3:567m-fp16 (I've tried bge-m3:567m too)

I've create a "New Knowledge Base " with the following
-Chinese name of knowledge base: MyKB
-English name of knowledge base: MyKB
-Knowledge Base Description: Tell me about Solartech
-Whether public: Private
-Knowledge Base Type: Local

Storage Configuration
-database:mykb
-password: ******
-uri: neo4j://release-openspg-neo4j:7687
-user: neo4j
-Vector configuration: Ollama/bge-m3:567m-fp16 (I've tried bge-m3:567m too)
-language: en

Then in the "Knowledge Base Build" I created a Task, and in the "Basic configuration" I uploaded a File with the following text:

SolarTech Innovations, a renewable energy startup headquartered in Berlin, unveiled its latest product 'EcoGrid Battery' during the annual Clean Energy Summit in June 2023. The advanced energy storage system was co-developed with OceanWave Labs, utilizing their marine-based cooling technology. CEO Dr. Helena Weiss confirmed the product will be distributed through GreenHub Stores across Europe starting Q1 2024. Technical specifications reveal the battery integrates patented 'NanoCool' modules, a breakthrough first presented at last year's Berlin Tech Expo. Environmental analysts predict this collaboration could reduce urban carbon emissions by 40% within five years.

After in the "Segment Configuration/Mapping Configuration" I selected:
-Max Segment length:500
-Index Type:table_index (I also tried kag_hybrid_index,atomic_query_index,outline_index,summary_index,chunk_index)

and in the "Extract Configuration/Import Configuration" I selected:
extraction model: Ollama:smollm2:135m (I also tried openthinker:latest and deepseek-chat)

The task completed without any errors but if I view the log in the "Execution Log" section I see the following lines:
Writer

2025-11-28 15:20:51(172.25.0.2): Task has been completed by other threads,status:FINISH!
2025-11-28 15:20:51(172.25.0.2): Task scheduling completed. cost:6 ms !
2025-11-28 15:20:51(172.25.0.2): Lock released successfully!
2025-11-28 15:20:51(172.25.0.2): The asynchronous task created successfully! resource builder/project_8/instance_36/257_kagWriterAsyncTask/
2025-11-28 15:20:51(172.25.0.2): Writer task has been successfully created!
2025-11-28 15:20:51(172.25.0.2): The asynchronous task has not been created yet!
2025-11-28 15:20:51(172.25.0.2): Lock preempted successfully!

2025-11-28 15:20:44(172.25.0.2): Task has been completed by other threads,status:FINISH!
2025-11-28 15:20:44(172.25.0.2): Task scheduling completed. cost:148 ms !
2025-11-28 15:20:44(172.25.0.2): Lock released successfully!
2025-11-28 15:20:43(172.25.0.2): Set instance status to: FINISH, and all task statuses to: FINISH
2025-11-28 15:20:43(172.25.0.2): Writer task trace log:
>> 15:20:43: Write task complete. nodes:2. edges:0
>> 15:20:43: Store the results of the alignment operator. file:builder/builder/project_8/instance_36/257_kagWriterAsyncTask/0_0.kag
>> 15:20:43: Write operator was invoked successfully index:1/1 nodes:2 edges:0
>> 15:20:43: Invoke the write operator. index:1/1
>> 15:20:43: Write ThreadPool. size:2 active:0 completed:2 total:2 queue:0
>> 15:20:42: Start write task!

2025-11-28 15:20:43(172.25.0.2): Writer task status is FINISH
2025-11-28 15:20:43(172.25.0.2): The asynchronous task has been created! resource:builder/project_8/instance_36/257_kagWriterAsyncTask/
2025-11-28 15:20:43(172.25.0.2): Lock preempted successfully!

2025-11-28 15:20:42(172.25.0.2): Task scheduling completed. cost:13 ms !
2025-11-28 15:20:42(172.25.0.2): Lock released successfully!
2025-11-28 15:20:42(172.25.0.2): The asynchronous task created successfully! resource builder/project_8/instance_36/257_kagWriterAsyncTask/
2025-11-28 15:20:42(172.25.0.2): Writer task has been successfully created!
2025-11-28 15:20:42(172.25.0.2): The asynchronous task has not been created yet!
2025-11-28 15:20:42(172.25.0.2): Lock preempted successfully!

But in the "Knowledge Exploration" section I don't see any graphs.

Is there something I'm doing wrong?
Thank you for all.
Mathilde

How to reproduce

-Download docker compose file from https://raw.githubusercontent.com/OpenSPG/openspg/refs/heads/master/dev/release/docker-compose-west.yml
-launch the services with Docker Compose
-add a model in the section Model Configuration
-create a Task in Knowledge Base Build and upload with a text file
-select Max Segment length, Index Type, extraction model in the Segment Configuration

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    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