litellm-mirror/litellm/llms/cohere
Krish Dholakia 09462ba80c
Add cohere v2/rerank support (#8421) (#8605)
* Add cohere v2/rerank support (#8421)

* Support v2 endpoint cohere rerank

* Add tests and docs

* Make v1 default if old params used

* Update docs

* Update docs pt 2

* Update tests

* Add e2e test

* Clean up code

* Use inheritence for new config

* Fix linting issues (#8608)

* Fix cohere v2 failing test + linting (#8672)

* Fix test and unused imports

* Fix tests

* fix: fix linting errors

* test: handle tgai instability

* fix: skip service unavailable err

* test: print logs for unstable test

* test: skip unreliable tests

---------

Co-authored-by: vibhavbhat <vibhavb00@gmail.com>
2025-02-22 22:25:29 -08:00
..
chat fix: dictionary changed size during iteration error (#8327) (#8341) 2025-02-07 16:20:28 -08:00
completion fix: dictionary changed size during iteration error (#8327) (#8341) 2025-02-07 16:20:28 -08:00
embed (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
rerank Add cohere v2/rerank support (#8421) (#8605) 2025-02-22 22:25:29 -08:00
rerank_v2 Add cohere v2/rerank support (#8421) (#8605) 2025-02-22 22:25:29 -08:00
common_utils.py (fix) unable to pass input_type parameter to Voyage AI embedding mode (#7276) 2024-12-17 19:23:49 -08:00