-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproxy-config.json
More file actions
44 lines (44 loc) · 2.19 KB
/
proxy-config.json
File metadata and controls
44 lines (44 loc) · 2.19 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
{
"proxyPort": 8080,
"managementPort": 8081,
"ollamaEndpoint": "http://localhost:11434",
"ollamaModel": "qwen2.5:3b",
"useAIDetection": true,
"aiConfidenceThreshold": 0.7,
"ollamaMaxConcurrent": 1,
"logLevel": "info",
"caCertFile": "ca-cert.pem",
"caKeyFile": "ca-key.pem",
"bindAddress": "127.0.0.1",
"managementToken": "",
"upstreamProxy": "",
"enabledPacks": ["GLOBAL", "DE", "SECRETS"],
"packDecayRate": 0.05,
"aiApiDomains": [
"api.anthropic.com",
"api.openai.com",
"api.cohere.ai",
"generativelanguage.googleapis.com",
"api.mistral.ai",
"api.together.xyz",
"api.perplexity.ai",
"api.replicate.com",
"api.huggingface.co"
],
"authDomains": [
"accounts.google.com",
"login.microsoftonline.com",
"auth0.com",
"okta.com"
],
"authPaths": [
"/auth", "/login", "/signin", "/signup", "/register",
"/token", "/oauth", "/authenticate", "/session",
"/v1/auth", "/api/auth", "/api/login", "/api/token"
],
"piiInstructions": {
"claude": "PRIVACY TOKENS: This request contains privacy-preserving placeholders matching the pattern [PII_TYPE_XXXXXXXXXXXXXXXX] where TYPE indicates the kind of information (e.g. EMAIL, PHONE, SSN) and XXXXXXXXXXXXXXXX is a 16-character hex hash. You MUST reproduce every such token EXACTLY as written in your response. Do NOT replace them with example values, email addresses, phone numbers, names, or any other substitutes. Treat [PII_*] tokens as opaque identifiers that must pass through unchanged.",
"gpt": "PRIVACY TOKENS: This request contains privacy-preserving placeholders matching the pattern [PII_TYPE_XXXXXXXXXXXXXXXX] where TYPE indicates the kind of information (e.g. EMAIL, PHONE, SSN) and XXXXXXXXXXXXXXXX is a 16-character hex hash. Reproduce every such token verbatim in your response. Do not substitute them with example values.",
"default": "PRIVACY TOKENS: This request contains privacy-preserving placeholders matching the pattern [PII_TYPE_XXXXXXXXXXXXXXXX] where TYPE indicates the kind of information (e.g. EMAIL, PHONE, SSN) and XXXXXXXXXXXXXXXX is a 16-character hex hash. Reproduce every such token verbatim in your response. Do not substitute them with example values."
}
}