Skip to content

Commit aa7fd90

Browse files
authored
Update reference-model-inference-embeddings.md
1 parent 897a883 commit aa7fd90

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/ai-studio/reference/reference-model-inference-embeddings.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,22 +134,24 @@ Status code: 200
134134
| Name | Description |
135135
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
136136
| [ContentFilterError](#contentfiltererror) | The API call fails when the prompt triggers a content filter as configured. Modify the prompt and try again. |
137-
| [CreateEmbeddingRequest](#createembeddingrequest) | Request for creating embeddings |
138-
| [CreateEmbeddingResponse](#createembeddingresponse) | Response from an embeddings request |
139-
| [Detail](#detail) | Details of the errors |
137+
| [CreateEmbeddingRequest](#createembeddingrequest) | Request for creating embeddings. |
138+
| [CreateEmbeddingResponse](#createembeddingresponse) | Response from an embeddings request. |
139+
| [Detail](#detail) | Details of the errors. |
140140
| [Embedding](#embedding) | Represents the embedding object generated. |
141141
| [EmbeddingEncodingFormat](#embeddingencodingformat) | The format to return the embeddings in. Either base64, float, int8, uint8, binary, or ubinary. Returns a 422 error if the model doesn't support the value or parameter. |
142142
| [EmbeddingInputType](#embeddinginputtype) | The type of the input. Either `text`, `query`, or `document`. Returns a 422 error if the model doesn't support the value or parameter. |
143143
| [EmbeddingObject](#embeddingobject) | The object type, which is always "embedding". |
144144
| [ListObject](#listobject) | The object type, which is always "list". |
145-
| [NotFoundError](#notfounderror) | |
146-
| [TooManyRequestsError](#toomanyrequestserror) | |
147-
| [UnauthorizedError](#unauthorizederror) | |
145+
| [NotFoundError](#notfounderror) | The route is not valid for the deployed model. |
146+
| [TooManyRequestsError](#toomanyrequestserror) | You have hit your assigned rate limit and your request need to be paced. |
147+
| [UnauthorizedError](#unauthorizederror) | Authentication is missing or invalid. |
148148
| [UnprocessableContentError](#unprocessablecontenterror) | The request contains unprocessable content. The error is returned when the payload indicated is valid according to this specification. However, some of the instructions indicated in the payload are not supported by the underlying model. Use the `details` section to understand the offending parameter. |
149149
| [Usage](#usage) | The usage information for the request. |
150150

151151
### ContentFilterError
152152

153+
The API call fails when the prompt triggers a content filter as configured. Modify the prompt and try again.
154+
153155
| Name | Type | Description |
154156
| --- | --- | --- |
155157
| code | string | The error code. |
@@ -160,6 +162,10 @@ Status code: 200
160162

161163
### CreateEmbeddingRequest
162164

165+
Response from an embeddings request.
166+
167+
Request for creating embeddings.
168+
163169
| Name | Required | Type | Description |
164170
| --------------- | -------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
165171
| input | True | string[] | Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. |

0 commit comments

Comments
 (0)