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

Integrate with Foundation Models #744

Open
rain1024 opened this issue Jul 24, 2024 · 0 comments
Open

Integrate with Foundation Models #744

rain1024 opened this issue Jul 24, 2024 · 0 comments

Comments

@rain1024
Copy link
Contributor

rain1024 commented Jul 24, 2024

Integrate with foundation models such as ChatGPT and Claude.

Suggested API:

Generate API

> from underthesea import generate
> generate("Ai là tổng thống Mỹ năm 2024")

Chat API

> from underthesea import chat
> chat([
   {"user": "xin chào các bạn"},
   {"assistant": ""}
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant