mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-30 09:28:51 +00:00
d17a92eef3
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
31 lines
462 B
Plaintext
31 lines
462 B
Plaintext
meta {
|
|
name: chat completion -simple- 1 message-
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
post {
|
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/chat/completions
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/json
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"model": "{{DEFAULT_MODEL}}",
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"content": "How could one use friction to cook an egg?"
|
|
}
|
|
],
|
|
"max_tokens": 256,
|
|
"temperature": 0.2,
|
|
"grammar": ""
|
|
}
|
|
}
|