More API doc hacking

This commit is contained in:
Cyber MacGeddon 2024-12-28 16:55:06 +00:00
parent 731ca335a9
commit 36dc30cef1

View file

@ -138,46 +138,3 @@ The client class is
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
}