mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-26 15:51:05 +00:00
cde0139363
Signed-off-by: Dave Lee <dave@gray101.com>
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?"
|
|
}
|
|
}
|