You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This directory contains an example implementation of a real-time chat agent using the [Fishjam](https://fishjam.io) and [OpenAI Agents](https://github.com/openai/openai-agents-python) Python SDKs.
3
4
5
+
The agent introduces itself when the user joins and creates limericks based on what the user says.
6
+
The agent handles interruptions from users to ensure a natural conversation flow.
7
+
8
+
## Running
9
+
10
+
> ![NOTE] All commands should be run from the parent directory of this README
11
+
12
+
Make sure to [install uv](https://docs.astral.sh/uv/getting-started/installation/) if you don't have it already.
13
+
Once you have `uv` installed, fetch the dependencies with
14
+
15
+
```bash
16
+
uv sync
17
+
```
18
+
19
+
To run the app, you will need 3 environment variables:
20
+
21
+
-`FISHJAM_ID`: Your Fishjam ID, which you can get on the [Fishjam website](https://fishjam.io/app)
22
+
-`FISHJAM_MANAGEMENT_TOKEN`: Your Fishjam management token, which you can get on the [Fishjam website](https://fishjam.io/app)
23
+
-`OPENAI_API_KEY`: An API key for the OpenAI Realtime API. You can generate one on the [OpenAI website](https://platform.openai.com/api-keys).
24
+
25
+
Once you have these variables, you can run the demo with
0 commit comments