litellm-mirror/litellm
Ishaan Jaff 5f15b0aa20
(code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319)
* add base rerank config

* working sync cohere rerank

* update rerank types

* update base rerank config

* remove old rerank

* add new cohere handler.py

* add cohere rerank transform

* add get_provider_rerank_config

* add rerank to base llm http handler

* add rerank utils

* add arerank to llm http handler.py

* add AzureAIRerankConfig

* updates rerank config

* update test rerank

* fix unused imports

* update get_provider_rerank_config

* test_basic_rerank_caching

* fix unused import

* test rerank
2024-12-19 17:03:34 -08:00
..
adapters (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
assistants (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
batch_completion (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
batches (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
caching (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
deprecated_litellm_server (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
files (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
fine_tuning (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
integrations (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
litellm_core_utils (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
llms (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
proxy (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
realtime_api (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
rerank_api (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
router_strategy (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
router_utils (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
secret_managers (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
types (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
__init__.py (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00
_logging.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
_redis.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
_service_logger.py LiteLLM Minor Fixes & Improvements (12/05/2024) (#7037) 2024-12-05 00:02:31 -08:00
_version.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
budget_manager.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
constants.py (feat) Add Bedrock knowledge base pass through endpoints (#7267) 2024-12-16 22:19:34 -08:00
cost.json
cost_calculator.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
exceptions.py Litellm 12 02 2024 (#6994) 2024-12-02 22:00:01 -08:00
main.py fix(hosted_vllm/transformation.py): return fake api key, if none give… (#7301) 2024-12-18 18:41:53 -08:00
model_prices_and_context_window_backup.json o1 - add image param handling (#7312) 2024-12-19 11:22:25 -08:00
py.typed feature - Types for mypy - #360 2024-05-30 14:14:41 -04:00
router.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
scheduler.py (refactor) caching use LLMCachingHandler for async_get_cache and set_cache (#6208) 2024-10-14 16:34:01 +05:30
timeout.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
utils.py (code refactor) - Add BaseRerankConfig. Use BaseRerankConfig for cohere/rerank and azure_ai/rerank (#7319) 2024-12-19 17:03:34 -08:00