INNER CODE UNIT · Python

EmbedRequest

scub-france/docling-Studio · embedding-service/main.py:42

class EmbedRequest(BaseModel):
    texts: list[str] = Field(..., min_length=1, description="Texts to embed")


class EmbedResponse(BaseModel):
    embeddings: list[list[float]]
    model: str
    dimension: int


class HealthResponse(BaseModel):
    status: str
    model: str
    dimension: int


# -- Endpoints -----------------------------------------------------------------

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…