Skip to main content

embeddings

Creates, updates, deletes, gets or lists a embeddings resource.

Overview

Nameembeddings
TypeResource
Idopenai.embeddings.embeddings

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_embeddingINSERTdata__input, data__model

INSERT example

Use the following StackQL query and manifest file to create a new embeddings resource.

/*+ create */
INSERT INTO openai.embeddings.embeddings (
data__input,
data__model,
data__encoding_format,
data__dimensions,
data__user
)
SELECT
'{{ input }}',
'{{ model }}',
'{{ encoding_format }}',
'{{ dimensions }}',
'{{ user }}'
;