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

Python: Upgrade mistralai to > 1.0 #9504

Closed
eavanvalkenburg opened this issue Nov 1, 2024 · 0 comments · Fixed by #9542
Closed

Python: Upgrade mistralai to > 1.0 #9504

eavanvalkenburg opened this issue Nov 1, 2024 · 0 comments · Fixed by #9542
Labels
python Pull requests for the Python Semantic Kernel sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)

Comments

@eavanvalkenburg
Copy link
Member

          We should create a work item to upgrade this to 1.0+: https://github.com/mistralai/client-python/blob/main/MIGRATION.md

Originally posted by @TaoChenOSU in #9345 (comment)

@eavanvalkenburg eavanvalkenburg changed the title Upgrade mistralai to > 1.0 Python: Upgrade mistralai to > 1.0 Nov 1, 2024
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel triage labels Nov 1, 2024
@evchaki evchaki added sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community) and removed triage labels Nov 1, 2024
github-merge-queue bot pushed a commit that referenced this issue Nov 13, 2024
### Motivation and Context

This PR upgrades the MistralAI Connector to Version 1.0.

closes #9504 

ToDo's

- [x] Update Connector Classes to new Mistral Classes
- [x] Update Unit Tests Classes to new Mistral Classes
- [x] Added new Settings to PromptExecutionSettings
- [x] Backwards compability of old settings to not break people
- [x] Fix MyPy Issues


### Description

Mistral released their new Version of their SDK, to enable compability
with a major Version the connector needs to be updated to work with the
newest Version.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants