Skip to content

Commit d3a6dee

Browse files
committed
update
1 parent 59d9fe9 commit d3a6dee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/ai-services/openai/how-to/embeddings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ return $response.data.embedding
128128

129129
- The maximum length of input text for our latest embedding models is 8192 tokens. You should verify that your inputs don't exceed this limit before making a request.
130130
- If sending an array of inputs in a single embedding request the max array size is 2048.
131+
- The sum of the token count of the entire array of inputs sent in a single API call are subject to the max token limit of 8192. For example, you cannot send an array of 2048 inputs with each input having 5 tokens or more as this would result in an API request of 10,240 total tokens, which would be 2048 tokens over the 8912 per API call token limit.
131132

132133

133134
## Limitations & risks

0 commit comments

Comments
 (0)