Commit Graph

8 Commits

Author SHA1 Message Date
Enrico Ros ba6d368226 Support Helicone Keys 2023-05-03 11:14:15 -07:00
Enrico Ros 5e4c222d8d Merged Google Programmable Search
Using and Edge function for accessing the Google API and
return the search results (.items[]) to the client (browser).
Added all type definitions (browser<>edge, and edge<>google),
and honor environment variables. When both the new environment
variables are set at build time, the user won't be asked for
keys.

Basically this implements #98, via ReAct.
2023-04-27 03:44:37 -07:00
Enrico Ros 4e8cc43408 Image generation with Prodia 2023-04-22 05:35:00 -07:00
Enrico Ros 69e7086c31 Define environment variables 2023-04-12 23:40:07 -07:00
Enrico Ros 876cf93527 Support for ElevenLabs (disabled by default) 2023-04-12 22:50:11 -07:00
Enrico Ros f7c0409856 Document the OPENAI_API_ORG_ID variable 2023-04-07 08:10:18 -07:00
Enrico Ros 7154db7f72 Configurable API Host
Closes #32. Enable Users / Deployments to change the host where
OpenAI API calls are directed to. This enables project like
[Helicone](https://www.helicone.ai/) (Observability of LLM ops)
for tracking prompt/responses quality in real-time.

Configuration:
- User: App > Settings > Advanced > API host (e.g. "oai.hconeai.com")
- Deployment: set the 'API_API_HOST=...' environment variable

User takes precedence over deployment over api.openai.com. Realtime
switching in chat apps works well.

Note: the Helicone team is fixing dashboard reporting for 'streaming'
over the /v1/chat/completions endpoint.
2023-03-30 20:00:40 -07:00
Enrico Ros 90b267a93b Config cleanup 2023-03-27 01:07:51 -07:00