Commit Graph

24 Commits

Author SHA1 Message Date
Enrico Ros 89f5802e8d Large improvement to (model-dependent) token utilization
And update README.md
2023-04-03 04:03:12 -07:00
Enrico Ros 4a0c083d78 Update README 2023-04-02 00:45:07 -07:00
Enrico Ros c74675f9ef Refix 2023-04-01 05:48:19 -07:00
Enrico Ros 70a3336b01 Update purpose screenshot 2023-04-01 05:47:20 -07:00
Enrico Ros 181e78bd2d Manifest 2023-04-01 05:43:47 -07:00
Enrico Ros dd9d76172a Fix URLs 2023-04-01 05:40:43 -07:00
Enrico Ros eef67f3b68 Show the new features! 2023-04-01 05:38:13 -07:00
Enrico Ros e3014a2622 Update readme 2023-03-30 20:26:17 -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 d63ba35581 Freshen up README.md 2023-03-30 19:24:45 -07:00
Enrico Ros f678a0d463 Remove Sandpack (code execution)
The package makes the App slower to load, and I am not
aware of people using the Code
Execution feature

If someone still wants it, we can quickly revert
this commit and add it back (or you can use an older
official/preview build on Vercel)
2023-03-30 05:54:14 -07:00
Enrico Ros 797d21ed96 Update README.md 2023-03-30 01:59:48 -07:00
Enrico Ros 4ef48f0923 Lints 2023-03-24 18:22:13 -07:00
Enrico Ros 5425ed3ca4 Update README.md 2023-03-20 21:27:01 -07:00
Enrico Ros 5cfcd7931e React hook for Speech Recognition
Adapt speech recognition to begin as 'false' and dynamically update state.
UX: the button can now be dynamic (no hydration issues). Differentiated
mobile vs desktop look.

I need to use the 'useCallback' function to pass the onResult callback,
otherwise the code loops (as the callback function will get recreated
every time, and it's circular).
2023-03-20 21:04:26 -07:00
Marc Khoury 1a052b3b64 Basic Voice Input 2023-03-20 20:59:40 -04:00
Enrico Ros a414ca139d Thank Contributors.
And add Tech Stack
2023-03-19 20:43:11 -07:00
Enrico Ros 466a3667a4 Add demo link 2023-03-19 05:28:23 -07:00
Enrico Ros cbbf0dc698 Add demo link 2023-03-19 05:28:07 -07:00
Enrico Ros 3c60361635 User Provided API Keys
The keys are stored within the localStorage of the browser.
The string is passed to the backend as a parameter in the REST
API call (to '/api/chat'), where it has priority over other
keys set in the OPENAI_API_KEY of the backend.
2023-03-19 04:28:20 -07:00
Enrico Ros caff2353da More Screenshots 2023-03-19 02:46:21 -07:00
Enrico Ros d73c50740f Update Readme 2023-03-19 02:25:34 -07:00
Enrico Ros 0b4646cd0a Create Next App 2023-03-18 23:54:30 -07:00
Enrico Ros 4d56d1a4ac Initial commit 2023-03-18 21:50:48 -07:00