mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 03:31:02 +02:00
Fetch and list mostly there
This commit is contained in:
parent
06dadf971e
commit
cb529db523
7 changed files with 300 additions and 218 deletions
|
|
@ -31,14 +31,11 @@ class KnowledgeRequest(Record):
|
|||
user = String()
|
||||
|
||||
# fetch-kg-core, list-kg-cores, delete-kg-core
|
||||
collection = String()
|
||||
|
||||
# fetch-kg-core, list-kg-cores, delete-kg-core
|
||||
document_id = String()
|
||||
id = String()
|
||||
|
||||
class KnowledgeResponse(Record):
|
||||
error = Error()
|
||||
document_ids = Array(String())
|
||||
ids = Array(String())
|
||||
eos = Boolean() # Indicates end of knowledge core stream
|
||||
triples = Triples()
|
||||
graph_embeddings = GraphEmbeddings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue