toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.embedding
/
EmbeddingResponse
Embedding
Response
@
Serializable
class
EmbeddingResponse
(
val
embeddings
:
List
<
Embedding
>
,
val
usage
:
Usage
)
Create embeddings response.
Members
Constructors
Embedding
Response
Link copied to clipboard
constructor
(
embeddings
:
List
<
Embedding
>
,
usage
:
Usage
)
Properties
embeddings
Link copied to clipboard
@
SerialName
(
value
=
"data"
)
val
embeddings
:
List
<
Embedding
>
An embedding results.
usage
Link copied to clipboard
@
SerialName
(
value
=
"usage"
)
val
usage
:
Usage
Embedding usage data.