mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 08:28:51 +00:00
cde0139363
Signed-off-by: Dave Lee <dave@gray101.com>
25 lines
371 B
Plaintext
25 lines
371 B
Plaintext
meta {
|
|
name: -completions
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
post {
|
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/completions
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/json
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"model": "{{DEFAULT_MODEL}}",
|
|
"prompt": "function downloadFile(string url, string outputPath) {",
|
|
"max_tokens": 256,
|
|
"temperature": 0.5
|
|
}
|
|
}
|