fix: update jina embedding model name in OLLAMA_EMBEDDING_MODELS constant#10679
fix: update jina embedding model name in OLLAMA_EMBEDDING_MODELS constant#10679amiraiman wants to merge 4 commits intolangflow-ai:mainfrom
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughUpdated an embedding model entry in the OLLAMA_EMBEDDING_MODELS constant list, replacing "jina-embeddings-v2-base-en" with "jina/jina-embeddings-v2" in the Ollama constants module. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Pre-merge checks and finishing touchesImportant Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 3 inconclusive)
✅ Passed checks (3 passed)
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. Comment |
This PR fix jina embedding models not showing in ollama_embedding component due to the filtering done via a naive
startsWithcheck. The jina embedding models lives under ajina/namespace, but the model name in the constant does not include that namespace causing the check to fail. The change also remove the hardcoded suffix-base-enin the constant since jina also provides embedding model in other language like german (-base-de) or spanish (-base-es).Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.