Embeddings
Embedding
Changed onVectorize content with an Isaacus embedding model.
post/embeddings
Request
- Base URLhttps://api.isaacus.com/v1
- AuthHTTP bearer
Request body
Example request
{
"model": "kanon-2-embedder",
"texts": [
"Are restraints of trade enforceable under English law?",
"What is a non-compete clause?"
],
"task": "retrieval/query"
}Response
Embeddings of texts produced by an Isaacus embedding model.
Example response
{
"embeddings": [
{
"index": 0,
"embedding": [
-0.0258,
0.02062,
-0.0114
]
},
{
"index": 1,
"embedding": [
-0.0358,
-0.0128,
0.00251
]
}
],
"usage": {
"input_tokens": 42
}
}Changes
- breaking
removed
subschema #1subschema #2: Non-blank stringfrom therequest propertyoneOflist - info
added
subschema #1subschema #2to therequest propertyoneOflist
- breaking
- info
endpoint added
- info