Skip to content

Commit dd1aa1a

Browse files
committed
clarify that bacthing is currently unsupported for embeddings
1 parent 73fe094 commit dd1aa1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/cognitive-services/openai/faq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sections:
4848
- question: |
4949
I am trying to use embeddings and received the error `InvalidRequestError: Too many inputs. The max number of inputs is 1. We hope to increase the number of inputs per request soon.` How do I fix this?
5050
answer: |
51-
This error typically occurs when you try to send a batch of text to embed in a single API request as an array. Currently Azure OpenAI does not support batching with embedding requests.
51+
This error typically occurs when you try to send a batch of text to embed in a single API request as an array. Currently Azure OpenAI does not support batching with embedding requests. Embeddings API calls should consist of a single string input per request.
5252
- name: Getting access to Azure OpenAI Service
5353
questions:
5454
- question: |

articles/cognitive-services/openai/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ In the example response, `finish_reason` equals `stop`. If `finish_reason` equal
114114
Get a vector representation of a given input that can be easily consumed by machine learning models and other algorithms.
115115

116116
> [!NOTE]
117-
> We currently do not support batching of embeddings into a single API call. If you receive the error `InvalidRequestError: Too many inputs. The max number of inputs is 1. We hope to increase the number of inputs per request soon.` this typically occurs when an array of embeddings is attempted to be passed as a batch rather than a single string.
117+
> We currently do not support batching of embeddings into a single API call. If you receive the error `InvalidRequestError: Too many inputs. The max number of inputs is 1. We hope to increase the number of inputs per request soon.`, this typically occurs when an array of embeddings is attempted to be passed as a batch rather than a single string.
118118
119119
**Create an embedding**
120120

0 commit comments

Comments
 (0)