Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support to create more vector index types #1407

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

BubbleCal
Copy link
Contributor

No description provided.

Signed-off-by: BubbleCal <bubble-cal@outlook.com>
@BubbleCal BubbleCal requested a review from rpgreen June 26, 2024 13:17
@github-actions github-actions bot added enhancement New feature or request Python Python SDK labels Jun 26, 2024
@@ -111,6 +111,7 @@ def create_index(
num_sub_vectors: Optional[int] = None,
replace: Optional[bool] = None,
accelerator: Optional[str] = None,
index_type="IVF_PQ",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this default to "vector" for backwards-compatiblity with older server versions?

https://github.com/lancedb/sophon/pull/2189/files#diff-3f4ef59e62aab203d6a9c873f3d07a0fdee2d007427635de47c5aaabe7adf2e0R72

Signed-off-by: BubbleCal <bubble-cal@outlook.com>
@BubbleCal BubbleCal enabled auto-merge (squash) June 27, 2024 02:29
@BubbleCal BubbleCal merged commit 12b3c87 into lancedb:main Jul 2, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Python Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants