Skip to content

Commit

Permalink
fix: Change IVFFlat lists default to 100 (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
duwenxin99 committed Jun 27, 2024
1 parent e6e97ab commit 45854a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/langchain_google_cloud_sql_pg/indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def to_string(self):
@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 45854a1

Please sign in to comment.