Update API Docs

2025-05-23 17:34:54 +02:00
parent 599c5b5de9
commit 12260eb688

@@ -5,10 +5,10 @@ This page provides API calls (without code examples) and describes how to handle
This page assumes a basic knowledge of programming, API usage, and JSON.
This page contains
- [Base line for all API calls](https://server.4zellen.se:3000/Chat_thing/NeuroDock/wiki/API-Docs#base-line-for-all-api-calls)
- [API Requests](https://server.4zellen.se:3000/Chat_thing/NeuroDock/wiki/API-Docs#api-requests)
- [Add tool](https://server.4zellen.se:3000/Chat_thing/NeuroDock/wiki/API-Docs#api-requests)
- [AI query](https://server.4zellen.se:3000/Chat_thing/NeuroDock/wiki/API-Docs#send-a-question)
- [Base line for all API calls](https://server.4zellen.se:3000/Chat_things/NeuroDock/wiki/API-Docs#base-line-for-all-api-calls)
- [API Requests](https://server.4zellen.se:3000/Chat_things/NeuroDock/wiki/API-Docs#api-requests)
- [Add tool](https://server.4zellen.se:3000/Chat_things/NeuroDock/wiki/API-Docs#api-requests)
- [AI query](https://server.4zellen.se:3000/Chat_things/NeuroDock/wiki/API-Docs#send-a-question)
## Base line for all API calls
This API uses TCP and requires a JSON data package containing the 'endpoint' and the corresponding data.
@@ -45,7 +45,7 @@ Tool json
}
```
Example of the in built tool [`get_current_date`](https://server.4zellen.se:3000/Chat_Thing/NeuroDock/src/branch/master/src/main/java/me/zacharias/chat/TimeTool.java) if it where to be defined with this API
Example of the in built tool [`get_current_date`](https://server.4zellen.se:3000/Chat_Things/NeuroDock/src/branch/master/src/main/java/me/zacharias/chat/TimeTool.java) if it where to be defined with this API
```json
{
"name": "get_current_date",