mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16: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=0.4.1
|
||||
VERSION=0.4.2
|
||||
|
||||
all: container
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
pdf-decoder:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "pdf-decoder"
|
||||
- "-p"
|
||||
|
|
@ -127,7 +127,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
chunker:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "chunker-recursive"
|
||||
- "-p"
|
||||
|
|
@ -135,7 +135,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vectorize:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-vectorize"
|
||||
- "-p"
|
||||
|
|
@ -143,7 +143,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
embeddings:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-hf"
|
||||
- "-p"
|
||||
|
|
@ -153,7 +153,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-definitions:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-definitions"
|
||||
- "-p"
|
||||
|
|
@ -161,7 +161,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-relationships:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-relationships"
|
||||
- "-p"
|
||||
|
|
@ -169,7 +169,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vector-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "vector-write-milvus"
|
||||
- "-p"
|
||||
|
|
@ -179,7 +179,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-write-cassandra"
|
||||
- "-p"
|
||||
|
|
@ -189,7 +189,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
llm:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "llm-azure-text"
|
||||
- "-p"
|
||||
|
|
@ -201,7 +201,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-rag:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-rag"
|
||||
- "-p"
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
pdf-decoder:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "pdf-decoder"
|
||||
- "-p"
|
||||
|
|
@ -127,7 +127,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
chunker:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "chunker-recursive"
|
||||
- "-p"
|
||||
|
|
@ -135,7 +135,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vectorize:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-vectorize"
|
||||
- "-p"
|
||||
|
|
@ -143,7 +143,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
embeddings:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-hf"
|
||||
- "-p"
|
||||
|
|
@ -153,7 +153,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-definitions:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-definitions"
|
||||
- "-p"
|
||||
|
|
@ -161,7 +161,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-relationships:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-relationships"
|
||||
- "-p"
|
||||
|
|
@ -169,7 +169,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vector-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "vector-write-milvus"
|
||||
- "-p"
|
||||
|
|
@ -179,7 +179,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-write-cassandra"
|
||||
- "-p"
|
||||
|
|
@ -189,7 +189,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
llm:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "llm-claude-text"
|
||||
- "-p"
|
||||
|
|
@ -199,7 +199,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-rag:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-rag"
|
||||
- "-p"
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
pdf-decoder:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "pdf-decoder"
|
||||
- "-p"
|
||||
|
|
@ -127,7 +127,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
chunker:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "chunker-recursive"
|
||||
- "-p"
|
||||
|
|
@ -135,7 +135,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vectorize:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-vectorize"
|
||||
- "-p"
|
||||
|
|
@ -143,7 +143,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
embeddings:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-hf"
|
||||
- "-p"
|
||||
|
|
@ -153,7 +153,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-definitions:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-definitions"
|
||||
- "-p"
|
||||
|
|
@ -161,7 +161,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-relationships:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-relationships"
|
||||
- "-p"
|
||||
|
|
@ -169,7 +169,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vector-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "vector-write-milvus"
|
||||
- "-p"
|
||||
|
|
@ -179,7 +179,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-write-cassandra"
|
||||
- "-p"
|
||||
|
|
@ -189,7 +189,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
llm:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "llm-ollama-text"
|
||||
- "-p"
|
||||
|
|
@ -199,7 +199,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-rag:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-rag"
|
||||
- "-p"
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
pdf-decoder:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "pdf-decoder"
|
||||
- "-p"
|
||||
|
|
@ -127,7 +127,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
chunker:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "chunker-recursive"
|
||||
- "-p"
|
||||
|
|
@ -135,7 +135,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vectorize:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-vectorize"
|
||||
- "-p"
|
||||
|
|
@ -143,7 +143,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
embeddings:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "embeddings-hf"
|
||||
- "-p"
|
||||
|
|
@ -153,7 +153,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-definitions:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-definitions"
|
||||
- "-p"
|
||||
|
|
@ -161,7 +161,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
kg-extract-relationships:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "kg-extract-relationships"
|
||||
- "-p"
|
||||
|
|
@ -169,7 +169,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
vector-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "vector-write-milvus"
|
||||
- "-p"
|
||||
|
|
@ -179,7 +179,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-write:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-write-cassandra"
|
||||
- "-p"
|
||||
|
|
@ -189,7 +189,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
llm:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "llm-vertexai-text"
|
||||
- "-p"
|
||||
|
|
@ -203,7 +203,7 @@ services:
|
|||
restart: on-failure:100
|
||||
|
||||
graph-rag:
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.1
|
||||
image: docker.io/trustgraph/trustgraph-flow:0.4.2
|
||||
command:
|
||||
- "graph-rag"
|
||||
- "-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):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue