59 lines
2.8 KiB
Bash
59 lines
2.8 KiB
Bash
# DobotAI configuration
|
|
DOBOTAI_LISTEN_ADDR=127.0.0.1:8090
|
|
DOBOTAI_INGRESS_TOKEN=replace-me
|
|
# Optional local-only audit API. Use a distinct secret from DOBOTAI_INGRESS_TOKEN.
|
|
# When set, DOBOTAI_TENANT_KEY must be set and the listen address must be loopback-only.
|
|
DOBOTAI_ADMIN_TOKEN=
|
|
DOBOTAI_GROUP_SESSION_POLICY=shared
|
|
DOBOTAI_AGENT_BINDINGS={"dingtalk:*":"replace-with-agent-id"}
|
|
|
|
# Official WeKnora API only
|
|
WEKNORA_BASE_URL=http://127.0.0.1:8080
|
|
WEKNORA_API_KEY=replace-me
|
|
|
|
# DingTalk Stream mode (official SDK). Leave all three empty to disable the
|
|
# DingTalk channel; set all three to enable it. Never commit real values.
|
|
DINGTALK_CLIENT_ID=
|
|
DINGTALK_CLIENT_SECRET=
|
|
# Tenant key this DingTalk ingress serves (matches tenant_key used by QA).
|
|
DOBOTAI_TENANT_KEY=
|
|
|
|
# Optional DingTalk AI card template ID. Leave empty to use markdown-only replies.
|
|
# When set, a successful QA answer will be delivered as an AI card; markdown
|
|
# is only sent as a fallback when card delivery fails. Never commit real values.
|
|
DINGTALK_CARD_TEMPLATE_ID=
|
|
# Optional, temporary DingTalk card-debug allowlist. When set, only this exact
|
|
# DingTalk user receives _CARD_DEBUG_TOOL_ENTRY=show in per-user privateData.
|
|
# Keep empty outside a controlled debug session; never commit a real user ID.
|
|
DINGTALK_CARD_DEBUG_USER_ID=
|
|
|
|
# Optional DingTalk FAQ table workflow for uncovered questions. Set all four
|
|
# values together; leave all four empty to disable. Required when the support
|
|
# group notification below is enabled. Never commit real IDs.
|
|
DINGTALK_FAQ_TABLE_BASE_ID=
|
|
DINGTALK_FAQ_TABLE_SHEET_ID=
|
|
DINGTALK_FAQ_TABLE_VIEW_ID=
|
|
DINGTALK_FAQ_TABLE_OPERATOR_ID=
|
|
|
|
# Optional PDF-answer image egress for DingTalk cards. When any value is set,
|
|
# all five values are required. DobotAI downloads only authenticated resource://
|
|
# images from WEKNORA_BASE_URL /files, writes content-hashed copies under
|
|
# dobotai/im-images/, and emits private OSS GET URLs valid for 2 hours.
|
|
# Keep the bucket private and configure an OSS lifecycle rule to delete
|
|
# dobotai/im-images/ objects after 1 day. Never commit real credentials.
|
|
DOBOTAI_OUTBOUND_IMAGE_OSS_ENDPOINT=
|
|
DOBOTAI_OUTBOUND_IMAGE_OSS_REGION=
|
|
DOBOTAI_OUTBOUND_IMAGE_OSS_ACCESS_KEY_ID=
|
|
DOBOTAI_OUTBOUND_IMAGE_OSS_ACCESS_KEY_SECRET=
|
|
DOBOTAI_OUTBOUND_IMAGE_OSS_BUCKET=
|
|
|
|
# Optional support group for uncovered-answer notifications. This is the
|
|
# group's openConversationId, not a webhook. Leave empty to record coverage
|
|
# decisions and pending support cases without sending group notifications.
|
|
# When enabled, the FAQ table workflow above must also be configured so the
|
|
# ActionCard can link to the exact FAQ record. Never commit a real group ID.
|
|
DINGTALK_SUPPORT_GROUP_OPEN_CONVERSATION_ID=
|
|
|
|
# Independent DobotAI PostgreSQL; never point this at WeKnora's database
|
|
DATABASE_URL=postgres://dobotai:replace-me@127.0.0.1:5432/dobotai?sslmode=disable
|