mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
Sample docs loader (#365)
This commit is contained in:
parent
9e4eb634a4
commit
54e475fa3a
34 changed files with 818 additions and 56 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
"""
|
||||
This utility connects to a running TrustGraph through the API and creates
|
||||
a knowledge core from the data streaming through the processing queues.
|
||||
For completeness of data, tg-save-kg-core should be initiated before data
|
||||
loading takes place. The default output format, msgpack should be used.
|
||||
JSON output format is also available - msgpack produces a more compact
|
||||
representation, which is also more performant to load.
|
||||
a document embeddings core from the data streaming through the processing
|
||||
queues. For completeness of data, tg-save-doc-embeds should be initiated
|
||||
before data loading takes place. The default output format, msgpack
|
||||
should be used. JSON output format is also available - msgpack produces
|
||||
a more compact representation, which is also more performant to load.
|
||||
"""
|
||||
|
||||
import aiohttp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue