Skip to content

Commit

Permalink
Address some PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Sep 30, 2024
1 parent 892d464 commit ff3aaf6
Show file tree
Hide file tree
Showing 17 changed files with 90 additions and 199 deletions.
4 changes: 2 additions & 2 deletions docs-devsite/vertexai.functiondeclaration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export declare interface FunctionDeclaration

| Property | Type | Description |
| --- | --- | --- |
| [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. |
| [description](./vertexai.functiondeclaration.md#functiondeclarationdescription) | string | Description and purpose of the function. Model uses it to decide how and whether to call the function. |
| [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. |
| [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. |
| [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. |

## FunctionDeclaration.description

Expand Down
125 changes: 0 additions & 125 deletions docs-devsite/vertexai.functiondeclarationschemaproperty.md

This file was deleted.

5 changes: 3 additions & 2 deletions docs-devsite/vertexai.generationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export interface GenerationConfig
| [frequencyPenalty](./vertexai.generationconfig.md#generationconfigfrequencypenalty) | number | |
| [maxOutputTokens](./vertexai.generationconfig.md#generationconfigmaxoutputtokens) | number | |
| [presencePenalty](./vertexai.generationconfig.md#generationconfigpresencepenalty) | number | |
| [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. |
| [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). |
| [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>. |
| [stopSequences](./vertexai.generationconfig.md#generationconfigstopsequences) | string\[\] | |
| [temperature](./vertexai.generationconfig.md#generationconfigtemperature) | number | |
| [topK](./vertexai.generationconfig.md#generationconfigtopk) | number | |
Expand Down Expand Up @@ -76,7 +77,7 @@ responseMimeType?: string;

## GenerationConfig.responseSchema

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`<!-- -->.
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`<!-- -->.
<b>Signature:</b>
Expand Down
Loading

0 comments on commit ff3aaf6

Please sign in to comment.