Update API Docs
10
API-Docs.md
10
API-Docs.md
@@ -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 assumes a basic knowledge of programming, API usage, and JSON.
|
||||||
|
|
||||||
This page contains
|
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)
|
- [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_thing/NeuroDock/wiki/API-Docs#api-requests)
|
- [API Requests](https://server.4zellen.se:3000/Chat_things/NeuroDock/wiki/API-Docs#api-requests)
|
||||||
- [Add tool](https://server.4zellen.se:3000/Chat_thing/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_thing/NeuroDock/wiki/API-Docs#send-a-question)
|
- [AI query](https://server.4zellen.se:3000/Chat_things/NeuroDock/wiki/API-Docs#send-a-question)
|
||||||
|
|
||||||
## Base line for all API calls
|
## Base line for all API calls
|
||||||
This API uses TCP and requires a JSON data package containing the 'endpoint' and the corresponding data.
|
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
|
```json
|
||||||
{
|
{
|
||||||
"name": "get_current_date",
|
"name": "get_current_date",
|
||||||
|
|||||||
Reference in New Issue
Block a user