openchatai / OpenChat

LLMs custom-chatbots console ⚡
https://open.cx
MIT License
5.2k stars 639 forks source link

"API Ready" - Does that mean that we can expose the chat bots we create over an API? #25

Open strangelearning opened 1 year ago

strangelearning commented 1 year ago

From the Roadmap

image

Refactor the codebase to be API ready

Does this mean that we will have the ability to expose the chat bot functionality over an API?

gharbat commented 1 year ago

Currently the backend server routes return html views (not REST APIs) which is not optimal, so the goal is to re-write that to be API first.

However, we are having discussions on the discord server about supporting APIs out of the box, so you can do whatever you do on the UI but using APIs, it is still early, but we are moving towards this direction :)

coreation commented 1 year ago

@gharbat that would be great to see, API first might also mean there's no UI to maintain and could be part of a business model on top while allowing more adoption as I think most of the usage will be coming from having access to the "engine" sort of speak.