mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 20:57:54 +00:00
initial draft of an importable Insomnia profile for developers (#942)
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.
This commit is contained in:
parent
10b0e13882
commit
704323b805
1
examples/insomnia/Insomnia_LocalAI.json
Normal file
1
examples/insomnia/Insomnia_LocalAI.json
Normal file
File diff suppressed because one or more lines are too long
17
examples/insomnia/README.md
Normal file
17
examples/insomnia/README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 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 **
|
Loading…
Reference in New Issue
Block a user