[新服务]chatgpt telegram bot + cloudflare worker (no vps is needed)

date
Mar 26, 2023
slug
newservice-chatgpt-telegram-bpt-cloudflare-worker
status
Published
summary
新服务-
tags
service
type
Post
URL

Summary

通过修改Worker .js 可以修改使用的model,环境变量可以限定谁才可以访问

步骤

#1 telegram bot

notion image

#2 openai api

notion image

#3 cloudflare worker set-up

notion image
notion image

#4 environment variables

notion image
notion image

#5

notion image
notion image

#6 激活 - 运行 https://workers_name.username.workers.dev/init 自动绑定telegram的webhook和设定所有指令

notion image
 

#7 chat - type “/new” to start a new conversation

notion image

验证


© Ying Bun 2021 - 2024