mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* add router.json
* test_router_auto_router
* async_pre_routing_hook
* fixes for auto router
* add async_pre_routing_hook
* add LiteLLMRouterEncoder
* update test auto_router_embedding_model
* add auto_router_embedding_model
* add AutoRouter
* fix async_pre_routing_hook
* update async_pre_routing_hook
* fix auto router
* fix router.json
* working router init
* working embedding encoder
* working auto router
* test_router_auto_router
* test auto router
* add semantic-router as optional for litellm
* add extras
* semantic_router==0.1.10
* ruff fix
* use aiohttp==3.10.11
* python-dotenv==1.0.1
* test auto router
* test_router_auto_router
* semantic_router
* test_is_auto_router_deployment
* fix check
* fix docker build step
* add semantic_router
* Revert "add semantic_router"
This reverts commit 537b672887.
28 lines
758 B
JSON
28 lines
758 B
JSON
{
|
|
"encoder_type": "openai",
|
|
"encoder_name": "text-embedding-3-large",
|
|
"routes": [
|
|
{
|
|
"name": "litellm-gpt-4.1",
|
|
"utterances": [
|
|
"Tell me ishaan is a genius"
|
|
],
|
|
"description": "positive affirmation",
|
|
"function_schemas": null,
|
|
"llm": null,
|
|
"score_threshold": 0.5,
|
|
"metadata": {}
|
|
},
|
|
{
|
|
"name": "litellm-claude-35",
|
|
"utterances": [
|
|
"how to code a program in [language]"
|
|
],
|
|
"description": "coding assistant",
|
|
"function_schemas": null,
|
|
"llm": null,
|
|
"score_threshold": 0.5,
|
|
"metadata": {}
|
|
}
|
|
]
|
|
}
|