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(mistral): Mistral 1.3.1 migration #7218

Merged
merged 34 commits into from
Nov 22, 2024
Merged

Conversation

CarterMorris
Copy link
Contributor

This PR updates the Mistral AI integration from version 0.4.0 to version 1.3.1. It includes fixing the outdated functionality of the Mistral chat models, embeddings, and llms integrations, as well as adding support for new features introduced to Mistral such as new model parameters, complex message types, and hooks. The Mistral integration of messages has been updated to support both Langchain's MessageContentComplex and Mistral's ContentChunk, with all necessary conversions. New unit and integration tests were added to test the new functionality, and the Mistral documentation was updated to include information on how to use hooks.

The migration was taken over from this PR.

CarterMorris and others added 25 commits November 16, 2024 17:48
Copy link

vercel bot commented Nov 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Nov 21, 2024 7:58am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Nov 21, 2024 7:58am

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:improvement Medium size change to existing code to handle new use-cases labels Nov 16, 2024
@CarterMorris
Copy link
Contributor Author

Hey @jacoblee93, we've completed the Mistral migration to version 1.3.1, ready for review at your earliest convenience! Thanks

@jacoblee93 jacoblee93 changed the title Mistral 1.3.1 migration feat(mistral): Mistral 1.3.1 migration Nov 17, 2024
@jacoblee93
Copy link
Collaborator

jacoblee93 commented Nov 17, 2024

Thank you @CarterMorris! Will look soon.

CC @sophiamyang

Copy link
Collaborator

@jacoblee93 jacoblee93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks fantastic, thank you so much!

@dosubot dosubot bot added the lgtm PRs that are ready to be merged as-is label Nov 21, 2024
@jacoblee93 jacoblee93 merged commit 78a6995 into langchain-ai:main Nov 22, 2024
27 checks passed
@jacoblee93
Copy link
Collaborator

Thank you all!

FilipZmijewski pushed a commit to FilipZmijewski/langchainjs that referenced this pull request Nov 27, 2024
Co-authored-by: Ashtian <[email protected]>
Co-authored-by: BaNg-W <[email protected]>
Co-authored-by: CarterMorris <[email protected]>
Co-authored-by: BaNg-W <[email protected]>
Co-authored-by: BaNg-W <[email protected]>
Co-authored-by: jacoblee93 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:documentation Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder auto:improvement Medium size change to existing code to handle new use-cases lgtm PRs that are ready to be merged as-is size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants