21 lines
561 B
HTTP
21 lines
561 B
HTTP
### List Available Models
|
|
GET http://localhost:11434/api/tags
|
|
Content-Type: application/json
|
|
|
|
### Test nomic-embed-text Embedding
|
|
POST http://localhost:11434/api/embed
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"model": "nomic-embed-text:latest",
|
|
"input": "This is another test sentence to generate an embedding using a different model."
|
|
}
|
|
|
|
### Test snowflake-arctic-embed2 Embedding
|
|
POST http://localhost:11434/api/embed
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"model": "snowflake-arctic-embed2:latest",
|
|
"input": "This is a test sentence to generate an embedding."
|
|
}
|