-
- Downloads
Merge pull request #79 from aurelio-labs/ashraq/llm-module
feat: Add OpenAI, Cohere and OpenRouter as separate LLMs
No related branches found
No related tags found
Showing
- README.md 12 additions, 10 deletionsREADME.md
- docs/02-dynamic-routes.ipynb 42 additions, 38 deletionsdocs/02-dynamic-routes.ipynb
- pyproject.toml 1 addition, 1 deletionpyproject.toml
- semantic_router/layer.py 19 additions, 7 deletionssemantic_router/layer.py
- semantic_router/llms/__init__.py 6 additions, 0 deletionssemantic_router/llms/__init__.py
- semantic_router/llms/base.py 13 additions, 0 deletionssemantic_router/llms/base.py
- semantic_router/llms/cohere.py 45 additions, 0 deletionssemantic_router/llms/cohere.py
- semantic_router/llms/openai.py 53 additions, 0 deletionssemantic_router/llms/openai.py
- semantic_router/llms/openrouter.py 58 additions, 0 deletionssemantic_router/llms/openrouter.py
- semantic_router/route.py 18 additions, 9 deletionssemantic_router/route.py
- semantic_router/schema.py 9 additions, 1 deletionsemantic_router/schema.py
- semantic_router/utils/function_call.py 12 additions, 7 deletionssemantic_router/utils/function_call.py
- tests/unit/llms/test_llm_base.py 16 additions, 0 deletionstests/unit/llms/test_llm_base.py
- tests/unit/llms/test_llm_cohere.py 52 additions, 0 deletionstests/unit/llms/test_llm_cohere.py
- tests/unit/llms/test_llm_openai.py 56 additions, 0 deletionstests/unit/llms/test_llm_openai.py
- tests/unit/llms/test_llm_openrouter.py 60 additions, 0 deletionstests/unit/llms/test_llm_openrouter.py
- tests/unit/test_layer.py 13 additions, 0 deletionstests/unit/test_layer.py
- tests/unit/test_route.py 32 additions, 24 deletionstests/unit/test_route.py
- tests/unit/test_schema.py 26 additions, 0 deletionstests/unit/test_schema.py
Loading
Please register or sign in to comment