Skip to content

Commit

Permalink
assign missed default
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Sep 11, 2024
1 parent 263f5e6 commit cf72c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class VertexAICheckGroundingWrapper(
location_id: str = Field(default="global")
grounding_config: str = Field(default="default_grounding_config")
citation_threshold: Optional[float] = Field(default=0.6)
client: Any
client: Any = None
credentials: Optional[Credentials] = Field(default=None)
credentials_path: Optional[str] = Field(default=None)

Expand Down
2 changes: 1 addition & 1 deletion libs/community/langchain_google_community/vertex_rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class VertexAIRank(BaseDocumentCompressor):
title_field: Optional[str] = Field(default=None)
credentials: Optional[Credentials] = Field(default=None)
credentials_path: Optional[str] = Field(default=None)
client: Any
client: Any = None

def __init__(self, **kwargs: Any):
"""
Expand Down

0 comments on commit cf72c5d

Please sign in to comment.