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

Can TaskingAI be adapted to provide OpenAI API format calls? #73

Open
TomZhou2024 opened this issue Mar 24, 2024 · 2 comments
Open

Can TaskingAI be adapted to provide OpenAI API format calls? #73

TomZhou2024 opened this issue Mar 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@TomZhou2024
Copy link

The TaskingAI project is the most user-friendly project I've used so far, and I'm very grateful for the hard work of all the developers involved. I have a request that I'm not sure if you would consider.

Is your feature request related to a problem? Please describe.
Some existing excellent frontends (clients) cannot integrate with TaskingAI.

Describe the solution you'd like
Currently, frontend interfaces of AI applications generally adhere to the OpenAI API standards. However, the API provided by TaskingAI cannot be integrated with existing frontend projects that are already adapted to the OpenAI API, such as Chat-next-web.

Describe alternatives you've considered
If TaskingAI could provide an API format compatible with the OpenAI API, it would be possible to integrate with many more clients.

@jameszyao jameszyao added the enhancement New feature or request label Mar 24, 2024
@jameszyao
Copy link
Contributor

Thank you for your kind words and for reaching out with your feature request.

Could you please specify which API endpoint you'd like us to offer in a format compatible with the OpenAI API standards? We will investigate the feasibility of this integration and consider it for future updates :-)

For reference, you can check TaskingAI API endpoints at https://docs.tasking.ai/api/

@jameszyao jameszyao self-assigned this Mar 24, 2024
@TomZhou2024
Copy link
Author

Thanks for your reply!!!
The most commonly used OpenAI API endpoint is: /v1/chat/completions
Using this endpoint, you can access the established assistant in a streaming output manner.
You may need to bind the API key and assistant together, so that once authentication is complete, you can directly access the corresponding assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants