added doc

This commit is contained in:
Saifeddine ALOUI 2023-06-06 20:25:48 +02:00
parent afd8d2a4ef
commit 571cd8576b
2 changed files with 11 additions and 0 deletions

1
app.py
View File

@ -460,6 +460,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
print("Set config results:")
print(result)
return jsonify(result)
def ram_usage(self):
"""
Returns the RAM usage in bytes.

View File

@ -18,6 +18,16 @@ The Flask backend API exposes various endpoints to interact with the application
---
### Endpoint: /ram_usage (GET)
**Description**: Retrieves the ram usage of the system.
**Parameters**: None
**Output**: Returns the ram usage information.
---
### Endpoint: /list_bindings (GET)
**Description**: Lists the available bindings.