forked from poe-platform/server-bot-quick-start
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdeploy_tutorial_bots.sh
executable file
·35 lines (24 loc) · 1.86 KB
/
deploy_tutorial_bots.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Script to deploy tutorial bots
# You need to change the bot handle
# poe.com/EchoBotDemonstration
BOT_NAME="EchoBotDemo"; modal deploy --name $BOT_NAME echobot.py
# poe.com/CatBotDemo
BOT_NAME="CatBotDemo"; modal deploy --name $BOT_NAME catbot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/AllCapsBotDemo
BOT_NAME="AllCapsBotDemo"; modal deploy --name $BOT_NAME turbo_allcapsbot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/ImageResponseBotDemo
BOT_NAME="ImageResponseBotDemo"; modal deploy --name $BOT_NAME image_response_bot.py
# poe.com/PDFCounterBotDemo
BOT_NAME="PDFCounterBotDemo"; modal deploy --name $BOT_NAME pdf_counter_bot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/FunctionCallingDemo
BOT_NAME="FunctionCallingDemo"; modal deploy --name $BOT_NAME function_calling_bot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/TurboVsClaudeBotDemo
BOT_NAME="TurboVsClaudeBotDemo"; modal deploy --name $BOT_NAME turbo_vs_claude.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/PromptBotDemo
BOT_NAME="PromptBotDemo"; modal deploy --name $BOT_NAME prompt_bot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/LogBotDemo
BOT_NAME="LogBotDemo"; modal deploy --name $BOT_NAME log_bot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/HttpRequestBotDemo
BOT_NAME="HttpRequestBotDemo"; modal deploy --name $BOT_NAME http_request_bot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY
# poe.com/VideoBot
BOT_NAME="VideoBotDemo"; modal deploy --name $BOT_NAME video_bot.py; curl -X POST https://api.poe.com/bot/fetch_settings/$BOT_NAME/$POE_ACCESS_KEY