Skip to content

Commit 9af2001

Browse files
committed
Address some PR comments
1 parent 67c5c36 commit 9af2001

17 files changed

+90
-199
lines changed

docs-devsite/vertexai.functiondeclaration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export declare interface FunctionDeclaration
2222

2323
| Property | Type | Description |
2424
| --- | --- | --- |
25-
| [description](./vertexai.functiondeclaration.md#functiondeclarationdescription) | string | Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. |
25+
| [description](./vertexai.functiondeclaration.md#functiondeclarationdescription) | string | Description and purpose of the function. Model uses it to decide how and whether to call the function. |
2626
| [name](./vertexai.functiondeclaration.md#functiondeclarationname) | string | The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a max length of 64. |
27-
| [parameters](./vertexai.functiondeclaration.md#functiondeclarationparameters) | [FunctionDeclarationSchema](./vertexai.functiondeclarationschema.md#functiondeclarationschema_interface) | Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. Parameter names are case-sensitive. For a function with no parameters, this can be left unset. |
27+
| [parameters](./vertexai.functiondeclaration.md#functiondeclarationparameters) | [ObjectSchemaInterface](./vertexai.objectschemainterface.md#objectschemainterface_interface) | Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. Parameter names are case-sensitive. For a function with no parameters, this can be left unset. |
2828

2929
## FunctionDeclaration.description
3030

docs-devsite/vertexai.functiondeclarationschemaproperty.md

-125
This file was deleted.

docs-devsite/vertexai.generationconfig.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export interface GenerationConfig
2626
| [frequencyPenalty](./vertexai.generationconfig.md#generationconfigfrequencypenalty) | number | |
2727
| [maxOutputTokens](./vertexai.generationconfig.md#generationconfigmaxoutputtokens) | number | |
2828
| [presencePenalty](./vertexai.generationconfig.md#generationconfigpresencepenalty) | number | |
29-
| [responseMimeType](./vertexai.generationconfig.md#generationconfigresponsemimetype) | string | Output response mimetype of the generated candidate text. Supported mimetypes are <code>text/plain</code> (default, text output) and <code>application/json</code> (JSON response in the candidates). The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. |
29+
| [responseMimeType](./vertexai.generationconfig.md#generationconfigresponsemimetype) | string | Output response MIME type of the generated candidate text. Supported MIME types are <code>text/plain</code> (default, text output) and <code>application/json</code> (JSON response in the candidates). |
30+
| [responseSchema](./vertexai.generationconfig.md#generationconfigresponseschema) | [TypedSchema](./vertexai.md#typedschema) \| [SchemaRequest](./vertexai.schemarequest.md#schemarequest_interface) | Output response schema of the generated candidate text. This value can be a class generated with a <code>{@link Schema}</code> static method like <code>Schema.string()</code> or <code>Schema.object()</code> or it can be a plain JS object matching the <code>[SchemaRequest](./vertexai.schemarequest.md#schemarequest_interface)</code> interface. <br/>Note: This only applies when the specified <code>responseMIMEType</code> supports a schema; currently this is limited to <code>application/json</code>. |
3031
| [stopSequences](./vertexai.generationconfig.md#generationconfigstopsequences) | string\[\] | |
3132
| [temperature](./vertexai.generationconfig.md#generationconfigtemperature) | number | |
3233
| [topK](./vertexai.generationconfig.md#generationconfigtopk) | number | |
@@ -76,7 +77,7 @@ responseMimeType?: string;
7677

7778
## GenerationConfig.responseSchema
7879

79-
Output response schema of the generated candidate text. This value can be a class generated with a [Schema](./vertexai-preview.schema.md#schema_class) static method like `Schema.string()` or `Schema.object()` or it can be a plain JS object matching the [SchemaRequest](./vertexai-preview.schemarequest.md#schemarequest_interface) interface. <br/>Note: This only applies when the specified `responseMIMEType` supports a schema; currently this is limited to `application/json`<!-- -->.
80+
Output response schema of the generated candidate text. This value can be a class generated with a `{@link Schema}` static method like `Schema.string()` or `Schema.object()` or it can be a plain JS object matching the <code>[SchemaRequest](./vertexai.schemarequest.md#schemarequest_interface)</code> interface. <br/>Note: This only applies when the specified `responseMIMEType` supports a schema; currently this is limited to `application/json`<!-- -->.
8081
8182
<b>Signature:</b>
8283

0 commit comments

Comments
 (0)