-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
43 lines (43 loc) · 1.23 KB
/
Copy pathwrangler.jsonc
File metadata and controls
43 lines (43 loc) · 1.23 KB
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
36
37
38
39
40
41
42
43
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "feedback-analyzer",
"main": "src/index.ts",
"compatibility_date": "2025-09-27",
"observability": {
"enabled": true
},
// Workers AI binding (also used for AI Search / AutoRAG)
// NOTE: Only ONE AI binding per Worker, but you can use it for multiple models
"ai": {
"binding": "AI"
},
// D1 database binding
"d1_databases": [
{
"binding": "DB",
"database_name": "feedback-data",
"database_id": "ad8305d7-bf1c-4880-8aa4-5069c8c21f39",
"migrations_dir": "migrations"
}
],
// R2 bucket binding
"r2_buckets": [
{
"binding": "BUCKET",
"bucket_name": "feedback"
}
],
// Environment variables
"vars": {
// Discord App Public Key (hex). Required for verifying Interaction requests.
// Replace this with your real Discord application's public key from the Developer Portal.
"DISCORD_PUBLIC_KEY": "f2d69cf2d521adcfe08f6cad00922cd71dfd441fca5eb27646cc46b3649bd92e",
"AI_SEARCH_NAME": "feedback-search",
"MODEL_NORMALIZE": "@cf/meta/llama-3.1-8b-instruct",
"MODEL_SUMMARIZE": "@cf/meta/llama-3.1-8b-instruct"
}
}