-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwrangler.toml.example
More file actions
49 lines (45 loc) · 1.93 KB
/
Copy pathwrangler.toml.example
File metadata and controls
49 lines (45 loc) · 1.93 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
44
45
46
47
48
49
name = "company-docs-mcp"
main = "src/index.ts"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
[vars]
ORGANIZATION_NAME = "Your Organization"
ORGANIZATION_DOMAIN = "example.com"
ORGANIZATION_LOGO_URL = ""
ORGANIZATION_TAGLINE = "Get instant answers from your documentation."
# Note: These should be set as secrets using: npx wrangler secret put SUPABASE_URL
# SUPABASE_URL and SUPABASE_ANON_KEY are shown here as examples only
# In production, remove these and use wrangler secrets instead
SUPABASE_URL = "https://your-project.supabase.co"
SUPABASE_ANON_KEY = "your-anon-key-here"
# OPENAI_API_KEY should NEVER be in this file - use wrangler secrets
VECTOR_SEARCH_ENABLED = "true"
VECTOR_SEARCH_MODE = "vector"
# Embedding provider: "workers-ai" (default) or "openai"
# Workers AI uses the built-in AI binding below — no API key needed
# EMBEDDING_PROVIDER = "workers-ai"
# Provider plugin selectors (see src/providers/README.md). Defaults preserve
# the standard stack; set these only when running a custom backend.
# VECTOR_STORE = "supabase"
# CHAT_PROVIDER = "openai"
# The chat provider only affects the optional web chat demo (/ai-chat) and
# Slack — MCP clients bring their own LLM. Set "anthropic" + ANTHROPIC_API_KEY
# to run the demo on Claude instead of OpenAI.
# CHAT_PROVIDER = "anthropic"
# ANTHROPIC_API_KEY = "sk-ant-..."
# ANTHROPIC_MODEL = "claude-opus-4-8"
# CACHE = "kv"
[[kv_namespaces]]
binding = "CONTENT_CACHE"
id = "your-kv-namespace-id-here"
# Cloudflare Workers AI binding — provides in-network embeddings and chat fallback
[ai]
binding = "AI"
# SECURITY NOTICE:
# DO NOT commit actual API keys or secrets to version control!
# Use wrangler secrets for sensitive values:
#
# echo "your-key" | npx wrangler secret put OPENAI_API_KEY
# echo "your-key" | npx wrangler secret put SUPABASE_SERVICE_KEY
# echo "your-url" | npx wrangler secret put SUPABASE_URL
# echo "your-key" | npx wrangler secret put SUPABASE_ANON_KEY