Add embeddings and vector_io tests#488
Conversation
jgarciao
commented
Aug 4, 2025
- Add test to verify embedding model functionality and vector generation.
- Add tests to verify registering, inserting and retrieving information from a milvus vector db database
- Based on the example available at: https://llama-stack.readthedocs.io/en/latest/building_applications/rag.html
Signed-off-by: Jorge Garcia Oncins <jgarciao@redhat.com>
Signed-off-by: Jorge Garcia Oncins <jgarciao@redhat.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Suggested reviewers
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: in model registry rbac tests, client instantiation tests are designed to verify the ability to creat...Applied to files:
🧬 Code Graph Analysis (1)tests/rag/test_rag.py (1)
🔇 Additional comments (5)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
|
The following are automatically added/executed:
Available user actions:
Supported labels{'/hold', '/verified', '/build-push-pr-image', '/wip', '/cherry-pick', '/lgtm'} |
jiripetrlik
left a comment
There was a problem hiding this comment.
Looks good to me. I'm concerned, though, that we might have too many smoke tests. Perhaps we can move some of them to a higher tier.
@jiripetrlik , it is a valid concern. Currently, all rag tests (including these 2 new) run in 3m 30s in my machine. In my opinion, we can merge this PR and move some tests to sanity when we have more or they require more time |
jiripetrlik
left a comment
There was a problem hiding this comment.
Yes @jgarciao , it is true. Let's merge this PR and decide about moving tests to sanity in the future.
|
Status of building tag latest: success. |