mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-30 17:36:56 +00:00
12 lines
340 B
YAML
12 lines
340 B
YAML
|
name: text-embedding-ada-002
|
||
|
backend: sentencetransformers
|
||
|
parameters:
|
||
|
model: all-MiniLM-L6-v2
|
||
|
|
||
|
usage: |
|
||
|
You can test this model with curl like this:
|
||
|
|
||
|
curl http://localhost:8080/embeddings -X POST -H "Content-Type: application/json" -d '{
|
||
|
"input": "Your text string goes here",
|
||
|
"model": "text-embedding-ada-002"
|
||
|
}'
|