embeddings
Creates, updates, deletes, gets or lists an embeddings resource.
Overview
| Name | embeddings |
| Type | Resource |
| Id | digitalocean.inference.embeddings |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
inference_create_embedding | exec | model, input | Create vector embeddings for one or more text inputs. OpenAI-compatible request and response. Unknown fields in the request body are rejected. There is no streaming response for this endpoint. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
Lifecycle Methods
- inference_create_embedding
Create vector embeddings for one or more text inputs. OpenAI-compatible request and response. Unknown fields in the request body are rejected. There is no streaming response for this endpoint.
EXEC digitalocean.inference.embeddings.inference_create_embedding
@@json=
'{
"model": "{{ model }}",
"input": "{{ input }}",
"user": "{{ user }}",
"encoding_format": "{{ encoding_format }}"
}'
;