feat: migrate agentic-rag-authorization from Weaviate to Milvus#46
Merged
Conversation
…TS through to UI - Replace all Weaviate references with Milvus (semantic vector search, text-embedding-3-small, MILVUS_URI/MILVUS_TOKEN config vars) - Update project structure, schema, state flow diagram, and Learn More links - api/models.py: max_attempts default now reads from get_config() instead of hardcoded 1 - ui/index.html: stop sending hardcoded max_attempts=1 so server default applies
tstirrat15
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
text-embedding-3-small)pymilvusreplacesweaviate-client; retrieval node embeds queries with OpenAI and runs ANN search against a Milvus collectionsetup_environment.pyembeds all 50 documents and inserts them into Milvus on first runlangchain-spicedbis unchanged — post-filter approach,CheckBulkPermissionsbatch check after retrievalMilvusClientsingleton module, updated config vars (MILVUS_URI,MILVUS_TOKEN), new testsweaviatebranch (which preserves the original Weaviate example)Test plan
docker-compose up -dbrings up etcd, minio, milvus-standalone, and spicedbpython examples/setup_environment.pyembeds docs and loads Milvus without errorspython examples/basic_example.pyruns all 8 demo scenarios correctlypython run_ui.pypasses pre-flight checks and serves the UI at http://localhost:8000pytest tests/passes