mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-19 10:11:01 +02:00
More API doc hacking
This commit is contained in:
parent
731ca335a9
commit
36dc30cef1
1 changed files with 0 additions and 43 deletions
|
|
@ -138,46 +138,3 @@ The client class is
|
||||||
|
|
||||||
https://github.com/trustgraph-ai/trustgraph/blob/master/trustgraph-base/trustgraph/clients/prompt_client.py
|
https://github.com/trustgraph-ai/trustgraph/blob/master/trustgraph-base/trustgraph/clients/prompt_client.py
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
"id": "akshfkiehfkseffh-141",
|
|
||||||
"service": "prompt",
|
|
||||||
"request": {
|
|
||||||
"id": "question",
|
|
||||||
"variables": {
|
|
||||||
"question": "What is 2 + 2?"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
{"id": "akshfkiehfkseffh-141", "response": {"text": "2 + 2 = 4\n"}, "complete": true}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ "id": "akshfkiehfkseffh-141", "service": "prompt", "request": { "id": "question", "variables": { "question": "What is 2 + 2?" } } }
|
|
||||||
|
|
||||||
{
|
|
||||||
"id": "akshfkiehfkseffh-142",
|
|
||||||
"service": "prompt",
|
|
||||||
"request": {
|
|
||||||
"id": "extract-definitions",
|
|
||||||
"variables": {
|
|
||||||
"text": "A cat is a domesticated Felidae animal"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
"id": "akshfkiehfkseffh-142",
|
|
||||||
"response": {
|
|
||||||
"object": "[{\"entity\": \"cat\", \"definition\": \"a domesticated Felidae animal\"}]"
|
|
||||||
},
|
|
||||||
"complete": true
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue