mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-19 18:21:03 +02:00
More API doc hacking
This commit is contained in:
parent
f1bcd5b5a2
commit
52f92f4498
1 changed files with 24 additions and 0 deletions
|
|
@ -107,3 +107,27 @@ Responses:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Pulsar
|
||||||
|
|
||||||
|
The Pulsar schema for the Agent API is defined in Python code here:
|
||||||
|
|
||||||
|
https://github.com/trustgraph-ai/trustgraph/blob/master/trustgraph-base/trustgraph/schema/agent.py
|
||||||
|
|
||||||
|
Default request queue:
|
||||||
|
`non-persistent://tg/request/agent`
|
||||||
|
|
||||||
|
Default response queue:
|
||||||
|
`non-persistent://tg/response/agent`
|
||||||
|
|
||||||
|
Request schema:
|
||||||
|
`trustgraph.schema.AgentRequest`
|
||||||
|
|
||||||
|
Response schema:
|
||||||
|
`trustgraph.schema.AgentResponse`
|
||||||
|
|
||||||
|
## Pulsar Python client
|
||||||
|
|
||||||
|
The client class is
|
||||||
|
`trustgraph.clients.AgentClient`
|
||||||
|
|
||||||
|
https://github.com/trustgraph-ai/trustgraph/blob/master/trustgraph-base/trustgraph/clients/agent_client.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue