mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-30 09:28:51 +00:00
23 lines
347 B
Plaintext
23 lines
347 B
Plaintext
|
meta {
|
||
|
name: -embeddings
|
||
|
type: http
|
||
|
seq: 6
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/embeddings
|
||
|
body: json
|
||
|
auth: none
|
||
|
}
|
||
|
|
||
|
headers {
|
||
|
Content-Type: application/json
|
||
|
}
|
||
|
|
||
|
body:json {
|
||
|
{
|
||
|
"model": "{{DEFAULT_MODEL}}",
|
||
|
"input": "A STRANGE GAME.\nTHE ONLY WINNING MOVE IS NOT TO PLAY.\n\nHOW ABOUT A NICE GAME OF CHESS?"
|
||
|
}
|
||
|
}
|