feat: AI-powered email verification code recognition

This commit is contained in:
eoao
2026-05-10 00:26:45 +08:00
parent c96e349fda
commit d48b139aed
8 changed files with 73 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ id = "9be10cd058e04c55b526f8c0c116f50c" #kv数据库id
#binding = "r2" #r2对象存储绑定名默认不可修改
#bucket_name = "test-email" #r2对象存储桶的名字
[ai]
binding = "AI"
[assets]
binding = "assets" #静态资源绑定名默认不可修改
directory = "./dist" #前端vue项目打包的静态资源存放位置,默认dist
@@ -31,6 +34,7 @@ crons = ["0 16 * * *"] #定时任务每天晚上12点执行
[vars]
ai_model = "@cf/meta/llama-3.1-8b-instruct"
orm_log = false
domain = ["example.com"] #邮件域名可可配置多个 示例: ["example1.com","example2.com"]
admin = "admin@example.com" #管理员的邮箱 示例: admin@example.com