Skip to content

Commit

Permalink
Add support for audioTimestamp in GenerationConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jayhickey committed Nov 15, 2024
1 parent 31de0e9 commit d184378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ export interface ResponseSchema extends Schema {}
* Configuration options for model generation and outputs.
*/
export declare interface GenerationConfig {
/** Optional. If true, the timestamp of the audio will be included in the response. */
audioTimestamp?: boolean;
/** Optional. Number of candidates to generate. */
candidateCount?: number;
/** Optional. Stop sequences. */
Expand Down

0 comments on commit d184378

Please sign in to comment.