mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 11:41:02 +02:00
Text & doc load working
This commit is contained in:
parent
f8b888855d
commit
8e9c72fda5
8 changed files with 145 additions and 42 deletions
|
|
@ -5,7 +5,7 @@ import json
|
|||
import sys
|
||||
import base64
|
||||
|
||||
url = "http://localhost:8088/api/v1/"
|
||||
url = "http://localhost:8088/api/v1/flow/0000/text-load"
|
||||
|
||||
############################################################################
|
||||
|
||||
|
|
@ -85,10 +85,7 @@ input = {
|
|||
|
||||
}
|
||||
|
||||
resp = requests.post(
|
||||
f"{url}load/text",
|
||||
json=input,
|
||||
)
|
||||
resp = requests.post(url, json=input)
|
||||
|
||||
resp = resp.json()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue