Skip to content

Support using ColPali library to compute embedding #796

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

Merged
merged 10 commits into from
Aug 1, 2025
Merged

Conversation

badmonster0
Copy link
Member

@badmonster0 badmonster0 commented Jul 24, 2025

@badmonster0 badmonster0 force-pushed the colpali branch 2 times, most recently from aa820bd to 143d57c Compare July 27, 2025 06:56
Add PREFER_GRPC config at the top of main.py for easy switching between gRPC (default, port 6334) and HTTP (port 6333) Qdrant connections via environment variable.

Frontend (App.jsx): Use window.location.hostname for API and image URLs, so devices on the same LAN can access the backend and images when the frontend is served on 0.0.0.0. This enables seamless LAN access to search and image results.
Move example to image_search/colpali_main.py
  - Use @functools.cache for model caching instead of manual dict
  - Add 'colpali' optional dependency separate from 'embeddings'
  - Fix dimension detection and LAN access for frontend
@georgeh0 georgeh0 force-pushed the colpali branch 2 times, most recently from 6355024 to b0459c5 Compare July 31, 2025 22:55
@badmonster0 badmonster0 merged commit d77ae24 into main Aug 1, 2025
6 checks passed
@badmonster0 badmonster0 deleted the colpali branch August 1, 2025 03:05
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.

3 participants