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
Copy file name to clipboardExpand all lines: docs/examples/poe_bot.mdx
+12-4
Original file line number
Diff line number
Diff line change
@@ -10,22 +10,28 @@ title: '🔮 Poe Bot'
10
10
pip install embedchain[poe]
11
11
```
12
12
13
-
2. Create a free account on [Poe](https://www.poe.com).
14
-
3. Click "create bot".
13
+
2. Create a free account on [Poe](https://www.poe.com?utm_source=embedchain).
14
+
3. Click "Create Bot" button on top left
15
15
4. Give it a handle and an optional description.
16
16
5. Select `Use API`.
17
17
6. Under `API URL` enter your server or ngrok address. You can use your machine's public IP or DNS. Otherwise, employ a proxy server like [ngrok](https://ngrok.com/) to make your local bot accessible.
18
18
7. Copy your api key and paste it in `.env` as `POE_API_KEY`.
19
19
8. Start the bot.
20
20
21
+
```bash
22
+
python -m embedchain.bots.poe
23
+
```
24
+
25
+
If you want to run the bot on another port, you can pass `--port option` like
26
+
21
27
```bash
22
28
python -m embedchain.bots.poe --port 5000
23
29
```
24
30
25
31
9. Click `Run check` to make sure your machine can be reached.
26
32
10. Make sure your bot is private if that's what you want.
27
-
11. Click `Create bot`.
28
-
12.Happy chatting!
33
+
11. Click `Create bot` at the bottom to finally create the bot
0 commit comments