main
 1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
 2
 3from typing import List
 4from typing_extensions import Literal
 5
 6from .._models import BaseModel
 7
 8__all__ = ["Embedding"]
 9
10
11class Embedding(BaseModel):
12    embedding: List[float]
13    """The embedding vector, which is a list of floats.
14
15    The length of vector depends on the model as listed in the
16    [embedding guide](https://platform.openai.com/docs/guides/embeddings).
17    """
18
19    index: int
20    """The index of the embedding in the list of embeddings."""
21
22    object: Literal["embedding"]
23    """The object type, which is always "embedding"."""