Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added support for MistralAI API. This includes a #142

Merged
merged 7 commits into from
Feb 12, 2024

Conversation

dwmorris11
Copy link
Contributor

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.

dwmorris11 and others added 2 commits February 10, 2024 16:49
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.
@dwmorris11 dwmorris11 changed the title Added support for MistralAI API. This includes a feat: Added support for MistralAI API. This includes a Feb 12, 2024
Copy link

codecov bot commented Feb 12, 2024

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (43f9808) 90.84% compared to head (b8a899f) 90.65%.

Files Patch % Lines
semantic_router/llms/mistral.py 82.85% 6 Missing ⚠️
semantic_router/encoders/mistral.py 95.00% 2 Missing ⚠️
semantic_router/schema.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
- Coverage   90.84%   90.65%   -0.20%     
==========================================
  Files          29       31       +2     
  Lines        1322     1402      +80     
==========================================
+ Hits         1201     1271      +70     
- Misses        121      131      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dwmorris11
Copy link
Contributor Author

Performed all the tests after learning how to use poetry. Appears ready for merge.

@jamescalam jamescalam merged commit 8d7579f into aurelio-labs:main Feb 12, 2024
6 of 8 checks passed
@jamescalam
Copy link
Member

nice, this looks great @dwmorris11 — I've merged, will be included in the next release (should be published in the next few days)

@dwmorris11 dwmorris11 deleted the mistralaiapi branch February 12, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants