Spaces:
Sleeping
Sleeping
Download docs/10_API_Gateway/modules.example.json from dellweb3/workos-office: direct link, hf CLI and curl.
- Browser
- Download file 3 kB
-
https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/docs/10_API_Gateway/modules.example.json
- Command line
-
hf download hf://spaces/dellweb3/workos-office/docs/10_API_Gateway/modules.example.json
-
curl -L -o modules.example.json https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/docs/10_API_Gateway/modules.example.json
3 kB
| { | |
| "config_revision": "pc-design-v1", | |
| "environment": "pc", | |
| "modules": [ | |
| { | |
| "module_id": "identity", | |
| "adapter_key": "demo.signed.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [] | |
| }, | |
| { | |
| "module_id": "workspace", | |
| "adapter_key": "workspace.local.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [ | |
| "identity" | |
| ] | |
| }, | |
| { | |
| "module_id": "knowledge", | |
| "adapter_key": "knowledge.local.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [ | |
| "identity" | |
| ] | |
| }, | |
| { | |
| "module_id": "context", | |
| "adapter_key": "context.local.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [ | |
| "workspace", | |
| "knowledge" | |
| ] | |
| }, | |
| { | |
| "module_id": "llm", | |
| "adapter_key": "llm.qwen.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [] | |
| }, | |
| { | |
| "module_id": "tool", | |
| "adapter_key": "tool.local.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [ | |
| "workspace" | |
| ] | |
| }, | |
| { | |
| "module_id": "notification", | |
| "adapter_key": "notification.wecom.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [ | |
| "workspace" | |
| ] | |
| }, | |
| { | |
| "module_id": "runtime", | |
| "adapter_key": "runtime.local.v1", | |
| "contract_version": "1", | |
| "enabled": true, | |
| "depends_on": [ | |
| "workspace", | |
| "context", | |
| "knowledge", | |
| "llm", | |
| "tool", | |
| "notification" | |
| ] | |
| } | |
| ], | |
| "gateway": { | |
| "bind_host": "127.0.0.1", | |
| "bind_port": 8000, | |
| "api_processes": 1, | |
| "allowed_hosts": [ | |
| "127.0.0.1", | |
| "localhost" | |
| ], | |
| "allowed_origins": [ | |
| "http://127.0.0.1:8000" | |
| ], | |
| "trusted_proxy_ips": [], | |
| "json_max_bytes": 262144, | |
| "file_max_bytes": 10485760, | |
| "multipart_max_bytes": 11534336, | |
| "metadata_max_bytes": 65536, | |
| "skill_max_utf8_bytes": 32768, | |
| "request_deadline_seconds": 10, | |
| "upload_deadline_seconds": 60, | |
| "sse": { | |
| "heartbeat_seconds": 15, | |
| "max_connection_seconds": 600, | |
| "max_connections_per_user": 3, | |
| "max_connections_per_process": 20, | |
| "queue_max_events": 128, | |
| "queue_max_bytes": 262144, | |
| "poll_interval_seconds": 1, | |
| "poll_page_size": 100 | |
| }, | |
| "rate_limit": { | |
| "per_user_per_minute": 60, | |
| "burst": 20, | |
| "login_per_ip_per_minute": 5, | |
| "run_start_per_user_per_minute": 5 | |
| } | |
| }, | |
| "secret_refs": { | |
| "demo_signing_key": "env:WORKOS_DEMO_SIGNING_KEY", | |
| "demo_accounts": "file:WORKOS_DEMO_ACCOUNTS_FILE", | |
| "database_url": "env:WORKOS_DATABASE_URL", | |
| "qwen_api_key": "env:WORKOS_QWEN_API_KEY", | |
| "wecom_credentials": "file:WORKOS_WECOM_CREDENTIALS_FILE" | |
| } | |
| } | |