CreateEmbeddingRequest class abstract
CreateEmbeddingRequest
Properties:
- model - ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
- input
- user - A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.
- Annotations
-
- @BuiltValue()
Constructors
- CreateEmbeddingRequest([void updates(CreateEmbeddingRequestBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → CreateEmbeddingRequestInput
-
no setter
- model → String
-
ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → String?
-
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(CreateEmbeddingRequestBuilder)) → CreateEmbeddingRequest -
Rebuilds the instance.
inherited
-
toBuilder(
) → CreateEmbeddingRequestBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
CreateEmbeddingRequest> -
no setter