Preparing search index...
The search index is not available
openai-advanced
openai-advanced
OpenAI
Embeddings
Class Embeddings
Hierarchy
APIResource
Embeddings
Index
Constructors
constructor
Properties
_client
Methods
create
Constructors
constructor
new
Embeddings
(
client
)
:
Embeddings
Parameters
client
:
OpenAI
Returns
Embeddings
Properties
Protected
_client
_client
:
OpenAI
Methods
create
create
(
body
,
options
?
)
:
APIPromise
<
CreateEmbeddingResponse
>
Creates an embedding vector representing the input text.
Parameters
body
:
EmbeddingCreateParams
Optional
options
:
RequestOptions
<
unknown
>
Returns
APIPromise
<
CreateEmbeddingResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_client
Methods
create
openai-advanced
Loading...
Creates an embedding vector representing the input text.