Skip to content

Commit b0ae3e9

Browse files
authored
fix: update poe bot creation docs (mem0ai#500)
1 parent fc633da commit b0ae3e9

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Diff for: docs/examples/poe_bot.mdx

+12-4
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,28 @@ title: '🔮 Poe Bot'
1010
pip install embedchain[poe]
1111
```
1212

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
1515
4. Give it a handle and an optional description.
1616
5. Select `Use API`.
1717
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.
1818
7. Copy your api key and paste it in `.env` as `POE_API_KEY`.
1919
8. Start the bot.
2020

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+
2127
```bash
2228
python -m embedchain.bots.poe --port 5000
2329
```
2430

2531
9. Click `Run check` to make sure your machine can be reached.
2632
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
34+
12. Now you bot is created.
2935

3036
### 💬 How to use
3137

@@ -34,6 +40,8 @@ python -m embedchain.bots.poe --port 5000
3440
/add <url_or_text>
3541
```
3642

43+
- You can refer the [Supported Data formats](https://docs.embedchain.ai/advanced/data_types) section to refer the supported data types in embedchain.
44+
3745
- To ask the bot questions, just type your query:
3846
```text
3947
<your-question-here>

0 commit comments

Comments
 (0)