Skip to content

docs: add scalar quantization code examples #3322#2177

Open
mimundoenunlapiz0610-cmd wants to merge 1 commit intoqdrant:masterfrom
mimundoenunlapiz0610-cmd:patch-1
Open

docs: add scalar quantization code examples #3322#2177
mimundoenunlapiz0610-cmd wants to merge 1 commit intoqdrant:masterfrom
mimundoenunlapiz0610-cmd:patch-1

Conversation

@mimundoenunlapiz0610-cmd
Copy link
Copy Markdown

This PR addresses the missing code examples for Scalar Quantization as requested in issue #3322.

I have added practical implementation examples for both Python and Java SDKs. The examples specifically include the quantile parameter configuration, which is crucial for balancing search precision and memory usage in production environments.

  • Python: Added models.ScalarQuantization with quantile and always_ram parameters.
  • Java: Added QuantizationConfig using the grpc builder pattern, including setQuantile and setAlwaysRam.

Closes #3322
/claim #3322

This PR addresses the missing code examples for Scalar Quantization as requested in issue #3322. 

I have added practical implementation examples for both Python and Java SDKs. The examples specifically include the quantile parameter configuration, which is crucial for balancing search precision and memory usage in production environments.

- Python: Added models.ScalarQuantization with quantile and always_ram parameters.
- Java: Added QuantizationConfig using the grpc builder pattern, including setQuantile and setAlwaysRam.

Closes #3322
/claim #3322
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 28, 2026

Deploy Preview for condescending-goldwasser-91acf0 ready!

Name Link
🔨 Latest commit e3547ba
🔍 Latest deploy log https://app.netlify.com/projects/condescending-goldwasser-91acf0/deploys/69a372ee0364b900087f8f24
😎 Deploy Preview https://deploy-preview-2177--condescending-goldwasser-91acf0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mimundoenunlapiz0610-cmd
Copy link
Copy Markdown
Author

As requested, here is the demo video showing the Scalar Quantization implementation for both Python and Java SDKs.

Video: https://drive.google.com/file/d/167hYrVbsgptFJ1zvvCal0IcFkqV7SXTw/view?usp=drivesdk

This addresses all requirements for issue #3322.
/claim #3322"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant