-
Notifications
You must be signed in to change notification settings - Fork 482
feat: add scaleway inference provider #1674
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
base: main
Are you sure you want to change the base?
Conversation
9dc304d
to
e232732
Compare
e232732
to
8d0ba03
Compare
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
Clean!
I made a few changes to better align with our code style and use the type system a bit more.
Let's wait for a review from @Wauplin or @hanouticelina to move forward but looks good to me!
@@ -148,6 +149,12 @@ export const PROVIDERS: Record<InferenceProvider, Partial<Record<InferenceTask, | |||
conversational: new Sambanova.SambanovaConversationalTask(), | |||
"feature-extraction": new Sambanova.SambanovaFeatureExtractionTask(), | |||
}, | |||
scaleway: { | |||
conversational: new Scaleway.ScalewayConversationalTask(), | |||
"image-to-text": new Scaleway.ScalewayConversationalTask(), |
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.
image-text-to-text
support is included in conversational
handler
"image-to-text": new Scaleway.ScalewayConversationalTask(), |
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.
Looks good to me! thanks @Gnoale
I tested the PR locally and it works as expected! ✅
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.
LGTM!
When we start to integrate and make some comms, let's focus on the chat completion endpoints for now :) (though, good to see the other tasks)
Hi 🤗
Register Scaleway as inference provider
Test passing