Open chitalian opened 4 months ago
You need to do something like this PR: https://github.com/mckaywrigley/chatbot-ui/pull/1510
Can you create a pull request?
Hi @fkesheh actually all we need to do is set the OPEN_API_BASE. Do you know if I can do this easily somewhere?
You will need to change the api/chat files like this one and attach a new base API for it
https://github.com/mckaywrigley/chatbot-ui/blob/main/app/api/chat/openai/route.ts
Perhaps you can also try to set OPENAI_BASE_URL in .env.local - I believe OpenAI library picks that automatically
https://github.com/openai/openai-node/blob/70d2bb37fae06e685f73a98db3eca6e540c8ed01/src/index.ts#L31
Hello! Can we add support for Helicone to Chatbot UI?
I can help cut the PR, it should be really simple. You just need to add the ability to enable Helicone and store the Helicone API key.
We have a few customers of Helicone asking for this, it should be a simple lift.
I assume we can attach a new element to the
profile
object likeproxyProvider
or something and then configure it within the settings panel.