Skip to content

create_embedding_response

Classes:

Name Description
CreateEmbeddingResponse
Usage

CreateEmbeddingResponse

Attributes:

Name Type Description
data List[Embedding]

The list of embeddings generated by the model.

model str

The name of the model used to generate the embedding.

object Literal['list']

The object type, which is always "list".

usage Usage

The usage information for the request.

data instance-attribute

data: List[Embedding]

The list of embeddings generated by the model.

model instance-attribute

model: str

The name of the model used to generate the embedding.

object instance-attribute

object: Literal['list']

The object type, which is always "list".

usage instance-attribute

usage: Usage

The usage information for the request.

Usage

Attributes:

Name Type Description
prompt_tokens int

The number of tokens used by the prompt.

total_tokens int

The total number of tokens used by the request.

prompt_tokens instance-attribute

prompt_tokens: int

The number of tokens used by the prompt.

total_tokens instance-attribute

total_tokens: int

The total number of tokens used by the request.