embed
Convert text into embedding vectors for semantic analysis, supporting single strings or batch lists with optional normalization.
Instructions
Generate an embedding vector for the given text (OpenAI-compatible /v1/embeddings).
input can be a single string or a list of strings for batch embedding.
Examples: embed(model="text-embedding-nomic-embed-text-v1.5", input="hello world") embed(model="text-embedding-nomic-embed-text-v1.5", input=["hello", "world"], normalize=True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| model | Yes | ||
| normalize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||