LocalAI/examples/insomnia
Dave 005f289632
feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints (#991)
refactor for model gallery endpoints - bundle up resources into a
struct, make galleries mutable with some crud endpoints. This is
groundwork required for making efficient use of the new scraper - while
that PR isn't _quite_ ready yet, the goal is to have more, individually
smaller gallery files. Therefore, rather than requiring a full localai
service restart, these new endpoints have been added to make life
easier.

- Adds endpoints to add, list and remove model galleries at runtime
- Adds these endpoints to the Insomnia config
- Minor fix: loading file urls follows symbolic links now
2023-09-02 09:00:44 +02:00
..
Insomnia_LocalAI.json feat: Model Gallery Endpoint Refactor / Mutable Galleries Endpoints (#991) 2023-09-02 09:00:44 +02:00
README.md

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 **