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

[Provider] Add support for AI21 models #12

Closed
vrushankportkey opened this issue Sep 26, 2023 · 8 comments · Fixed by #225
Closed

[Provider] Add support for AI21 models #12

vrushankportkey opened this issue Sep 26, 2023 · 8 comments · Fixed by #225
Assignees
Labels
good first issue Good for newcomers hacktoberfest Issues to pick up for Hacktoberfest

Comments

@vrushankportkey
Copy link
Collaborator

Docs: https://docs.ai21.com/reference/j2-complete-api-ref

@vrushankportkey vrushankportkey added good first issue Good for newcomers hacktoberfest Issues to pick up for Hacktoberfest labels Sep 26, 2023
@vrushankportkey vrushankportkey changed the title [Integration] Add support for AI21 models [Provider] Add support for AI21 models Sep 26, 2023
@kritikash18
Copy link

Hi @vrushankportkey, can I please work on this issue if its available?

@vrushankportkey
Copy link
Collaborator Author

Thank you, @kritikash18 - assigned to you.

Cheers!

@kritikash18
Copy link

@vrushankportkey just wanted to confirm if there is any baseline for the APIs that need to be supported since the API types for AI21 are different than regular chat, complete and embedding APIs as AI21 provides specific service APIs instead.
APIs offered:

complete API
datasets APIs (get/delete)
custom model APIs (training/get/complete/epoch)
tokenize API
task-specific APIs - (paraphrase/grammatical error corrections/ summarize, ..etc)

do I need to support a fixed subset or all?

@VisargD
Copy link
Collaborator

VisargD commented Oct 4, 2023

Hey. You can start with the complete API. Structure for adding a new provider can be seen under https://github.com/Portkey-AI/Rubeus/tree/main/src/providers. Please let me know if you have any doubts once you go through the code.

@kritikash18
Copy link

Raised #21

@VisargD VisargD linked a pull request Oct 7, 2023 that will close this issue
@VisargD
Copy link
Collaborator

VisargD commented Oct 7, 2023

Thanks @kritikash18 . Will take a look into this

@vrushankportkey
Copy link
Collaborator Author

vrushankportkey commented Oct 9, 2023

Thank you for raising the PR so quickly, @kritikash18

Are you there on the Portkey discord?

@kritikash18
Copy link

Hi, joined now...the username is bytecode_bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issues to pick up for Hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants