Skip to content

Commit

Permalink
fix: Change IVFFlat list default to 100 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
duwenxin99 authored Jun 27, 2024
1 parent 99ee0c9 commit f4d9b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/langchain_google_alloydb_pg/indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def to_string(self) -> str:
@dataclass
class IVFFlatIndex(BaseIndex):
index_type: str = "ivfflat"
lists: int = 1
lists: int = 100

def index_options(self) -> str:
return f"(lists = {self.lists})"
Expand Down

0 comments on commit f4d9b42

Please sign in to comment.