embeddings
Creates, updates, deletes, gets or lists a embeddings
resource.
Overview
Name | embeddings |
Type | Resource |
Id | openai.embeddings.embeddings |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_embedding | INSERT | data__input, data__model |
INSERT
example
Use the following StackQL query and manifest file to create a new embeddings
resource.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO openai.embeddings.embeddings (
data__input,
data__model,
data__encoding_format,
data__dimensions,
data__user
)
SELECT
'{{ input }}',
'{{ model }}',
'{{ encoding_format }}',
'{{ dimensions }}',
'{{ user }}'
;
/*+ create */
INSERT INTO openai.embeddings.embeddings (
data__model,
data__input
)
SELECT
'{{ model }}',
'{{ input }}'
;
- name: embeddings
props:
- name: data__input
value: string
- name: data__model
value: string
- name: input
value: string
- name: model
value: string
- name: encoding_format
value: string
- name: dimensions
value: integer
- name: user
value: string