Pular para o conteúdo principal
POST
Embed texts

Autorizações

Authorization
string
header
obrigatório

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

Corpo

application/json
input
string[]
obrigatório

The texts to embed, up to 32 KiB each.

Required array length: 1 - 128 elements
type
enum<string>
padrão:document

query for a search query, document for stored text.

Opções disponíveis:
document,
query
output_dtype
enum<string>
padrão:float

int8: int8 values in [-127, 127] and one scale per vector.

Opções disponíveis:
float,
int8

Resposta

The vectors, in input order.

embeddings
number[][]
obrigatório

Floats; with output_dtype: int8, integers.

model
string
obrigatório
dimensions
integer
obrigatório
scales
number[]

With output_dtype: int8, one per vector (0 for an all-zero vector).

output_dtype
enum<string>

Present only with output_dtype: int8.

Opções disponíveis:
int8