Skip to content

Commit 79d0ddb

Browse files
Merge pull request #124129 from ruben-le/patch-1
Specify correct input limit for embeddings
2 parents b6fdb76 + 3871430 commit 79d0ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/includes/api-versions/latest-inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Get a vector representation of a given input that can be easily consumed by mach
164164

165165
| Name | Type | Description | Required | Default |
166166
|------|------|-------------|----------|---------|
167-
| input | string or array | Input text to get embeddings for, encoded as a string. To get embeddings for multiple inputs in a single request, pass an array of strings. Each input must not exceed 2048 tokens in length.<br>Unless you're embedding code, we suggest replacing newlines (\n) in your input with a single space, as we have observed inferior results when newlines are present. | Yes | |
167+
| input | string or array | Input text to get embeddings for, encoded as a string. To get embeddings for multiple inputs in a single request, pass an array of strings. Each array must not exceed 2048 inputs in length.<br>Unless you're embedding code, we suggest replacing newlines (\n) in your input with a single space, as we have observed inferior results when newlines are present. | Yes | |
168168
| user | string | A unique identifier representing your end-user, which can help monitoring and detecting abuse. | No | |
169169
| input_type | string | input type of embedding search to use | No | |
170170
| encoding_format | string | The format to return the embeddings in. Can be either `float` or `base64`. Defaults to `float`. | No | |

0 commit comments

Comments
 (0)