Supported in: Batch
Converts text into embeddings.
Expression categories: String
Output type: Embedded vector
Description: Example embeddings for the word 'palantir'. Argument values:
text
text | Output |
---|---|
palantir | [ -0.019182289, -0.02127992, 0.009529043, -0.008066221, -0.0014429842, 0.019154688, -0.023556953, -0... |
Description: Example embeddings for the word 'palantir' with a non ADA model. Argument values:
text
text | Output |
---|---|
palantir | [ -0.019182289, -0.02127992, 0.009529043, -0.008066221, -0.0014429842, 0.019154688, -0.023556953, -0... |
Description: Null input should have a null output. Argument values:
text
text | Output |
---|---|
null | null |
Description: Empty input string should have a null output. Argument values:
text
text | Output |
---|---|
empty string | null |
Description: Input string surpassing OpenAI Ada's token limit should have a null output. Argument values:
text
text | Output |
---|---|
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ... | null |
Description: Input string surpassing OpenAI Ada's token limit should have a null output. Argument values:
text
SIMPLE
text | Output |
---|---|
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ... | { error: Context limit exceeded., ok: null, } |