Documentation of the API/updates


Updates

- 5. Update.

* Added extreamly strict moderation, as the last model didn't support multi languages.


- 4. Update.

* Added a user consent feature for the application's terms of use.


- 3. Update.

* Managed to fix the file being non-visible to the AI model after one round.

* And fix the div error on this page.


- 2. Update.

* Added light moderation. [Might add more strict detection later]


- 1. Update.

* Fixed a bug where file encoding could trash the entire chat.

* Made models allowed set by the maintainer. [OPENAI_API_MODELS variable]


* yippeeee


API Endpoints

Here are some example codes to interact with the API:

Note: By using our API, you acknowledge and agree to the following terms regarding the data you provide:

By continuing to use our API, you explicitly consent to the collection, use, and potential sharing of your data as described above. If you disagree with our data collection, usage, and sharing practices, we advise you not to use our API.




Actual endpoints:

1. [GET] /api/v1/models

3. [POST] /api/v1/chat/completions