-
- Downloads
Added support for MistralAI API. This includes a
new encoder and a new LLMS. The encoder is a simple wrapper around the MistralAI API, and the LLMS is a simple wrapper around the encoder. The encoder is tested with a simple unit test, and the LLMS is tested with a simple unit test.
Showing
- semantic_router/encoders/__init__.py 2 additions, 0 deletionssemantic_router/encoders/__init__.py
- semantic_router/encoders/mistral.py 55 additions, 0 deletionssemantic_router/encoders/mistral.py
- semantic_router/llms/__init__.py 2 additions, 1 deletionsemantic_router/llms/__init__.py
- semantic_router/llms/mistral.py 56 additions, 0 deletionssemantic_router/llms/mistral.py
- semantic_router/schema.py 8 additions, 2 deletionssemantic_router/schema.py
- tests/unit/encoders/test_mistral.py 113 additions, 0 deletionstests/unit/encoders/test_mistral.py
- tests/unit/llms/test_llm_mistral.py 56 additions, 0 deletionstests/unit/llms/test_llm_mistral.py
semantic_router/encoders/mistral.py
0 → 100644
semantic_router/llms/mistral.py
0 → 100644
tests/unit/encoders/test_mistral.py
0 → 100644
tests/unit/llms/test_llm_mistral.py
0 → 100644
Please register or sign in to comment