mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-25 07:11:03 +00:00
cde0139363
Signed-off-by: Dave Lee <dave@gray101.com>
26 lines
469 B
Plaintext
26 lines
469 B
Plaintext
meta {
|
|
name: chat-completions -stream-
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
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": "Explain how I can set sail on the ocean using only power generated by seagulls?"}],
|
|
"max_tokens": 256,
|
|
"temperature": 0.9,
|
|
"stream": true
|
|
}
|
|
}
|