mirror of
https://github.com/mudler/LocalAI.git
synced 2025-03-26 21:58:50 +00:00
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.
Insomnia
Developer Testing Request Collection for Insomnia, an open-source REST client
Instructions
- Install Insomnia as normal
- Import
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 **