You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-devsite/vertexai-preview.md
+28
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ The Vertex AI For Firebase Web SDK.
27
27
| --- | --- |
28
28
|[ChatSession](./vertexai-preview.chatsession.md#chatsession_class)| ChatSession class that enables sending chat messages and stores history of sent and received messages so far. |
29
29
|[GenerativeModel](./vertexai-preview.generativemodel.md#generativemodel_class)| Class for generative model APIs. |
30
+
|[VertexAIError](./vertexai-preview.vertexaierror.md#vertexaierror_class)| Error class for the Vertex AI for Firebase SDK. |
30
31
31
32
## Enumerations
32
33
@@ -41,6 +42,7 @@ The Vertex AI For Firebase Web SDK.
41
42
|[HarmCategory](./vertexai-preview.md#harmcategory)| Harm categories that would cause prompts or candidates to be blocked. |
42
43
|[HarmProbability](./vertexai-preview.md#harmprobability)| Probability that a prompt or candidate matches a harm category. |
|[VertexAIErrorCode](./vertexai-preview.md#vertexaierrorcode)| Standardized error codes that [VertexAIError](./vertexai-preview.vertexaierror.md#vertexaierror_class) can have. |
44
46
45
47
## Interfaces
46
48
@@ -52,8 +54,10 @@ The Vertex AI For Firebase Web SDK.
52
54
|[Content](./vertexai-preview.content.md#content_interface)| Content type for both prompts and response candidates. |
53
55
|[CountTokensRequest](./vertexai-preview.counttokensrequest.md#counttokensrequest_interface)| Params for calling [GenerativeModel.countTokens()](./vertexai-preview.generativemodel.md#generativemodelcounttokens)|
54
56
|[CountTokensResponse](./vertexai-preview.counttokensresponse.md#counttokensresponse_interface)| Response from calling [GenerativeModel.countTokens()](./vertexai-preview.generativemodel.md#generativemodelcounttokens)<!---->. |
57
+
|[CustomErrorData](./vertexai-preview.customerrordata.md#customerrordata_interface)| Details object that contains data originating from a bad HTTP response. |
|[EnhancedGenerateContentResponse](./vertexai-preview.enhancedgeneratecontentresponse.md#enhancedgeneratecontentresponse_interface)| Response object wrapped with helper methods. |
60
+
|[ErrorDetails](./vertexai-preview.errordetails.md#errordetails_interface)| Details object that may be included in an error response. |
57
61
|[FileData](./vertexai-preview.filedata.md#filedata_interface)| Data pointing to a file uploaded on Google Cloud Storage. |
58
62
|[FileDataPart](./vertexai-preview.filedatapart.md#filedatapart_interface)| Content part interface if the part represents [FileData](./vertexai-preview.filedata.md#filedata_interface)|
59
63
|[FunctionCall](./vertexai-preview.functioncall.md#functioncall_interface)| A predicted [FunctionCall](./vertexai-preview.functioncall.md#functioncall_interface) returned from the model that contains a string representing the [FunctionDeclaration.name](./vertexai-preview.functiondeclaration.md#functiondeclarationname) and a structured JSON object containing the parameters and their values. |
| [(constructor)(code, message, customErrorData)](./vertexai-preview.vertexaierror.md#vertexaierrorconstructor) | | Constructs a new instance of the <code>VertexAIError</code> class. |
0 commit comments