feat: update Cohere embedding model to use langchain_cohere, added support to dynamically load latest embedding models, improved error handling (#6034)

* update cohere model

* Update src/backend/base/langflow/components/embeddings/cohere.py

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Edwin Jose 2025-02-06 12:43:38 -05:00 • committed by GitHub
commit e89edc3c1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 47 additions and 12 deletions

View file

@ -109,7 +109,7 @@ dependencies = [
"uv>=0.5.7",
"ag2>=0.1.0",
"scrapegraph-py>=1.10.2",
"pydantic-ai>=0.0.19"
"pydantic-ai>=0.0.19",
]
[tool.uv.sources]