Remove redis and use embedder for vector #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_redis_embedder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Eliminates hero_redis dependency entirely. hero_embedder now handles both embedding generation AND vector storage/search (2 services instead of 3). Core changes: - Rewrite vectorsdk/store.rs: HeroEmbedderClient replaces HeroRedisClient with structured doc IDs ({book}::{page}::{page_num}::{topic}::{pair_idx}) and text-based search (hero_embedder embeds queries internally) - Simplify vectorsdk/indexer.rs: remove embedding generation step, hero_embedder auto-embeds on index.add - Update vectorsdk/rhai.rs: new typed API (vector_store_config_new(), embedder_url/namespace fields, text-based search) - Update web/server.rs: replace redis config with embedder_url, text-based search via search_text() - Update web/rpc.rs, rpc_spec.rs: embedderConnected replaces redisConnected - Update main.rs CLI: --embedder-url replaces --redis-* flags - Remove hero_redis from Cargo.toml dependencies - Update Makefile: remove redis/init-db targets - Update all examples (Rust + Rhai) and zinit-service.toml - Delete examples/init_redis_db.rs - Update books-client models: embedder_connected field