Usage Instructions
Integrate Embeddings into the workflow. Can generate embeddings from text.
Tools
openai_embeddings
Generate embeddings from text using OpenAI
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | Yes | No description |
model | string | No | No description |
encodingFormat | string | No | No description |
apiKey | string | Yes | No description |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Operation success status |
output | object | Embeddings generation results |
↳ embeddings | array | Array of embedding vectors |
↳ model | string | Model used for generating embeddings |
↳ usage | object | Token usage information |
↳ prompt_tokens | number | Number of tokens in the prompt |
↳ total_tokens | number | Total number of tokens used |

