-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add MistralAILLM
#293
Add MistralAILLM
#293
Conversation
Docs are work in progress |
output = [] | ||
for response in responses: | ||
chat_completion = response.choices[0] | ||
try: |
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.
I believe this might be missing in some other implementations?
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.
will take a look, but maybe this is a special behaviour of this API, it doesn't deal with num_generations
in the same way as OpenAI does, so it's easier to grab that choice
There's a version conflict with httpx between |
Related to argilla-io/argilla#4531 |
pyproject.toml
Outdated
@@ -42,6 +42,7 @@ vertexai = ["google-cloud-aiplatform >= 1.38.0"] | |||
together = ["together"] | |||
argilla = ["argilla >= 1.22.0", "sentence-transformers >= 2.0.0", "textdescriptives >= 2.0.0"] |
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.
Shouldn't we pin Argilla to a higher version here?
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.
Is there a higher version than argilla>=1.22
right now?
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.
No, I mean when we merge the httpx
bumped version
This should be ready once we have argilla-io/argilla#4531 merged |
…feat/mistral-api
Description
This PR integrates Mistral AI API as a new LLM.
The new
MistralAILLM
is a wrapper over their python client.Closes #153