mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 04:37:53 +00:00
704323b805
This is a starting point for developers to easily import a collection of requests to hit LocalAI. Insomnia was chosen as it's open source, has a graphical user interface for users desiring that, and has the ability to easily export requests as cURL commands for our documentation site.
17 lines
871 B
Markdown
17 lines
871 B
Markdown
# Insomnia
|
|
|
|
Developer Testing Request Collection for [Insomnia](https://insomnia.rest/), an open-source REST client
|
|
|
|
## Instructions
|
|
|
|
* Install Insomnia as normal
|
|
* [Import](https://docs.insomnia.rest/insomnia/import-export-data) `Insomnia_LocalAI.json`
|
|
* Control + E opens the environment settings -
|
|
|
|
| **Parameter Name** | **Default Value** | **Description** |
|
|
|--------------------|-------------------|------------------------------------------|
|
|
| HOST | localhost | LocalAI base URL |
|
|
| PORT | 8080 | LocalAI port |
|
|
| DEFAULT_MODEL | gpt-3.5-turbo | Name of the model used on most requests. |
|
|
|
|
** you may want to duplicate localhost into a "Private" environment to avoid saving private settings back to this file ** |