Language Models
Available language models provided by SYNAPSE
List Language Models
GET
/llm/list
Provides a JSON array of currently available language models
Headers
Name
Value
Content-Type
application/json
Response
Using a LLM
POST
/llm/:model
Calls a model for a response
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
Default
messages
message[]
Name of the user
none
temperature
number
LLM Temperature
0.7
max_tokens
number
Max response tokens
1024
Response
Example
Last updated