Skip to content

Commit

Permalink
google-common[patch]: Add method property to GoogleAISafetySetting …
Browse files Browse the repository at this point in the history
…interface (#6310)

* feat: Add method property to GoogleAISafetySetting interface

* fix make param optional
  • Loading branch information
marsal authored Aug 2, 2024
1 parent 3f76d14 commit dead673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/langchain-google-common/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export interface GoogleConnectionParams<AuthOptions>
export interface GoogleAISafetySetting {
category: string;
threshold: string;
method?: string;
}

export type GoogleAIResponseMimeType = "text/plain" | "application/json";
Expand Down

0 comments on commit dead673

Please sign in to comment.