mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-21 05:33:09 +00:00
24 lines
324 B
Plaintext
24 lines
324 B
Plaintext
|
meta {
|
||
|
name: -edits
|
||
|
type: http
|
||
|
seq: 5
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/edits
|
||
|
body: json
|
||
|
auth: none
|
||
|
}
|
||
|
|
||
|
headers {
|
||
|
Content-Type: application/json
|
||
|
}
|
||
|
|
||
|
body:json {
|
||
|
{
|
||
|
"model": "{{DEFAULT_MODEL}}",
|
||
|
"input": "What day of the wek is it?",
|
||
|
"instruction": "Fix the spelling mistakes"
|
||
|
}
|
||
|
}
|