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
[FEATURE] Mistral AI supports function calling #767
[FEATURE] Mistral AI supports function calling #767
Conversation
…collisions with core libs
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
update forked branch
Merge from upstream
merge upstream
Merge upstream/main March8 2024
Merge upstream repo
Warning Rate Limit Exceeded@czelabueno has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 15 minutes and 30 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@czelabueno thank you a lot, great job as always! I have left a few minor comments/suggestions, but we could also merge it. LMK if you want to address these comments before the next release (this friday or next monday)
...chain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/DefaultMistralAiHelper.java
Show resolved
Hide resolved
...chain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/DefaultMistralAiHelper.java
Show resolved
Hide resolved
...chain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/MistralAiChatModelName.java
Show resolved
Hide resolved
langchain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/MistralAiClient.java
Outdated
Show resolved
Hide resolved
...4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/MistralAiStreamingChatModel.java
Outdated
Show resolved
Hide resolved
...-mistral-ai/src/test/java/dev/langchain4j/model/mistralai/MistralAiStreamingChatModelIT.java
Outdated
Show resolved
Hide resolved
...-mistral-ai/src/test/java/dev/langchain4j/model/mistralai/MistralAiStreamingChatModelIT.java
Outdated
Show resolved
Hide resolved
...chain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/DefaultMistralAiHelper.java
Show resolved
Hide resolved
langchain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/MistralAiChatModel.java
Show resolved
Hide resolved
langchain4j-mistral-ai/src/test/java/dev/langchain4j/model/mistralai/MistralAiChatModelIT.java
Show resolved
Hide resolved
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
Co-authored-by: LangChain4j <langchain4j@gmail.com>
…nd MistralAi models with tools
@langchain4j this PR has been updated with the resolution of all your comments. Additionally, I updated |
Update from upstream/main
…eHandler support for tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@czelabueno thank you so much, great job! And right in time for the release :)
This PR adds
function calling
support for MistralAIchat
andstreaming
completions models.Also, add and deprecate the Mistral AI models like:
Others PR related: