-
Notifications
You must be signed in to change notification settings - Fork 325
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
Comments
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/ |
Thanks for your reply!!! |
@TomZhou2024 OpenAI-compatible chat completion API is now available in the latest release, v0.3.0. Please try it out! |
@jameszyao @SimsonW @XiaoZhou2024 Hello, thanks for the feature. How can I make the API "OpenAI-compatible" when I self-host TaskingAI? |
You may find the instructions by: go to assistant or model management page -> locate your target model or assistant -> click the three dots at the right of that row -> click 'View Code'. You will find something similar to the following screenshot: This includes all the possible ways to use your assistants and models out of the UI console. |
Or If you are using Python, please follow the instructions here: https://www.tasking.ai/examples/access-taskingai-agents-through-openai-compatible-apis This post was for using cloud platform. And since you are self-hosting, simply replace |
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.
The text was updated successfully, but these errors were encountered: