-
Notifications
You must be signed in to change notification settings - Fork 723
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
Integration with Nebius AI Studio added #138
base: main
Are you sure you want to change the base?
Conversation
@ksolo may I kindly ask you to review it before it diverges too much from the main? thanks! |
|
||
provider = NebiusProvider() | ||
print(provider.api_key) | ||
response = provider.chat_completions_create(model=selected_model, messages=message_history, top_p=chosen_top_p) |
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.
@Aktsvigun We have been mocking the interaction with the providers. If you look at an example like this one (https://github.com/andrewyng/aisuite/blob/main/tests/providers/test_sambanova_provider.py) we are mostly testing the setup more so than the actual result.
Can you update this to follow that pattern?
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.
Sure, fixed! Kindly check.
I've standardized the test according to the example you sent & modified the NebiusProvider to match most of other providers (e.g. Mistral, Sambanova, etc.)
examples/client.ipynb
Outdated
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 recommend resetting the notebook so the outputs are all clean when committing these.
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.
Could you please specify what outputs you reference? In this notebook (examples/client.ipynb) I can see no outputs.
Hey team,
Thanks for a great framework! Adding integration with Nebius AI Studio, which provides access to state-of-the-art models.