Skip to main content
POST
/
api
/
models
/
embedding
/
{model_id}
/
infer
Python
import os
from woodwide import WoodWide

client = WoodWide(
    api_key=os.environ.get("WOOD_WIDE_AI_API_KEY"),  # This is the default and can be omitted
)
response = client.api.models.embedding.infer(
    model_id="model_id",
)
print(response.embeddings)
{
  "embeddings": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string | null
required

Query Parameters

dataset_id
string | null
dataset_name
string | null
model_name
string | null

Body

application/x-www-form-urlencoded
coerce_schema
boolean
default:true

Response

Successful Response

Response for embedding models. 'embeddings' key contains a map of row indices to their vector embeddings.

embeddings
Embeddings · object
required