mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 17:36:23 +02:00
Fix extract-definitions bug
This commit is contained in:
parent
a7182b8f6f
commit
202f4e5298
6 changed files with 42 additions and 42 deletions
2
Makefile
2
Makefile
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
# VERSION=$(shell git describe | sed 's/^v//')
|
# VERSION=$(shell git describe | sed 's/^v//')
|
||||||
VERSION=0.4.1
|
VERSION=0.4.2
|
||||||
|
|
||||||
all: container
|
all: container
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
pdf-decoder:
|
pdf-decoder:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -127,7 +127,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
chunker:
|
chunker:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -135,7 +135,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vectorize:
|
vectorize:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -143,7 +143,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
embeddings:
|
embeddings:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -153,7 +153,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-definitions:
|
kg-extract-definitions:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -161,7 +161,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-relationships:
|
kg-extract-relationships:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -169,7 +169,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vector-write:
|
vector-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "vector-write-milvus"
|
- "vector-write-milvus"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -179,7 +179,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-write:
|
graph-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-write-cassandra"
|
- "graph-write-cassandra"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -189,7 +189,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "llm-azure-text"
|
- "llm-azure-text"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -201,7 +201,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-rag:
|
graph-rag:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-rag"
|
- "graph-rag"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
pdf-decoder:
|
pdf-decoder:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -127,7 +127,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
chunker:
|
chunker:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -135,7 +135,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vectorize:
|
vectorize:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -143,7 +143,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
embeddings:
|
embeddings:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -153,7 +153,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-definitions:
|
kg-extract-definitions:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -161,7 +161,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-relationships:
|
kg-extract-relationships:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -169,7 +169,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vector-write:
|
vector-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "vector-write-milvus"
|
- "vector-write-milvus"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -179,7 +179,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-write:
|
graph-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-write-cassandra"
|
- "graph-write-cassandra"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -189,7 +189,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "llm-claude-text"
|
- "llm-claude-text"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -199,7 +199,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-rag:
|
graph-rag:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-rag"
|
- "graph-rag"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
pdf-decoder:
|
pdf-decoder:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -127,7 +127,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
chunker:
|
chunker:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -135,7 +135,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vectorize:
|
vectorize:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -143,7 +143,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
embeddings:
|
embeddings:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -153,7 +153,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-definitions:
|
kg-extract-definitions:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -161,7 +161,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-relationships:
|
kg-extract-relationships:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -169,7 +169,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vector-write:
|
vector-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "vector-write-milvus"
|
- "vector-write-milvus"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -179,7 +179,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-write:
|
graph-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-write-cassandra"
|
- "graph-write-cassandra"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -189,7 +189,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "llm-ollama-text"
|
- "llm-ollama-text"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -199,7 +199,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-rag:
|
graph-rag:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-rag"
|
- "graph-rag"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
pdf-decoder:
|
pdf-decoder:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "pdf-decoder"
|
- "pdf-decoder"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -127,7 +127,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
chunker:
|
chunker:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "chunker-recursive"
|
- "chunker-recursive"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -135,7 +135,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vectorize:
|
vectorize:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-vectorize"
|
- "embeddings-vectorize"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -143,7 +143,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
embeddings:
|
embeddings:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "embeddings-hf"
|
- "embeddings-hf"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -153,7 +153,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-definitions:
|
kg-extract-definitions:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-definitions"
|
- "kg-extract-definitions"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -161,7 +161,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
kg-extract-relationships:
|
kg-extract-relationships:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "kg-extract-relationships"
|
- "kg-extract-relationships"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -169,7 +169,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
vector-write:
|
vector-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "vector-write-milvus"
|
- "vector-write-milvus"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -179,7 +179,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-write:
|
graph-write:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-write-cassandra"
|
- "graph-write-cassandra"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -189,7 +189,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "llm-vertexai-text"
|
- "llm-vertexai-text"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
@ -203,7 +203,7 @@ services:
|
||||||
restart: on-failure:100
|
restart: on-failure:100
|
||||||
|
|
||||||
graph-rag:
|
graph-rag:
|
||||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||||
command:
|
command:
|
||||||
- "graph-rag"
|
- "graph-rag"
|
||||||
- "-p"
|
- "-p"
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ class Processor(ConsumerProducer):
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
self.llm = LlmClient(pulsar_host=pulsar_host)
|
self.llm = LlmClient(pulsar_host=self.pulsar_host)
|
||||||
|
|
||||||
def to_uri(self, text):
|
def to_uri(self, text):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue