1 line
3.8 KiB
JSON
1 line
3.8 KiB
JSON
{"repo": "cgz4526/data-agent", "files": {"data-agent-backend/src/main/resources/application.yml.example": {"79e6018a82441bfcbb908fa86ab6709200db724d": {"t": 1785746935.7465749, "n": 1514, "h": "72ee55bd59eeab1a", "c": "# ============================================================\n# Data Agent 后端配置模板\n# ============================================================\n# 使用方式:\n# 1. 复制本文件为 application.yml\n# 2. 设置环境变量 DASHSCOPE_API_KEY(或在下方替换 api-key 值)\n# 3. 生产环境建议将敏感配置放在 application-local.yml(已被 .gitignore 排除)\n#\n# 环境变量说明:\n# DASHSCOPE_API_KEY — 阿里云百炼 API Key(必须)\n# DB_PASSWORD — PostgreSQL 密码(默认 postgres)\n\nserver:\n port: 9933\n\nspring:\n application:\n name: data-agent-backend\n\n datasource:\n url: jdbc:postgresql://localhost:5433/data_agent\n username: postgres\n password: \"${DB_PASSWORD:postgres}\"\n driver-class-name: org.postgresql.Driver\n\n ai:\n openai:\n # ⚠️ 替换为你自己的 DashScope API Key(兼容 OpenAI 接口)\n # 获取地址:https://bailian.console.aliyun.com/\n api-key: \"${DASHSCOPE_API_KEY:sk-your-dashscope-api-key}\"\n base-url: \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n\n chat:\n options:\n model: deepseek-v4-pro\n\n embedding:\n options:\n model: text-embedding-v4\n dimensions: 1024\n\n vectorstore:\n pgvector:\n initialize-schema: true\n index-type: HNSW\n distance-type: COSINE_DISTANCE\n dimensions: 1024\n schema-name: public\n table-name: vector_store\n\nmybatis:\n mapper-locations: classpath:mapper/**/*.xml\n type-aliases-package: com.libambu.dataagent.entity.dataset\n configuration:\n map-underscore-to-camel-case: true\n\nlogging:\n level:\n com.libambu.dataagent.advisor: debug\n"}, "83a954456c9a90fcb92dcf6c19067f029f44c819": {"t": 1785769165.4845355, "n": 1514, "h": "72ee55bd59eeab1a", "c": "# ============================================================\n# Data Agent 后端配置模板\n# ============================================================\n# 使用方式:\n# 1. 复制本文件为 application.yml\n# 2. 设置环境变量 DASHSCOPE_API_KEY(或在下方替换 api-key 值)\n# 3. 生产环境建议将敏感配置放在 application-local.yml(已被 .gitignore 排除)\n#\n# 环境变量说明:\n# DASHSCOPE_API_KEY — 阿里云百炼 API Key(必须)\n# DB_PASSWORD — PostgreSQL 密码(默认 postgres)\n\nserver:\n port: 9933\n\nspring:\n application:\n name: data-agent-backend\n\n datasource:\n url: jdbc:postgresql://localhost:5433/data_agent\n username: postgres\n password: \"${DB_PASSWORD:postgres}\"\n driver-class-name: org.postgresql.Driver\n\n ai:\n openai:\n # ⚠️ 替换为你自己的 DashScope API Key(兼容 OpenAI 接口)\n # 获取地址:https://bailian.console.aliyun.com/\n api-key: \"${DASHSCOPE_API_KEY:sk-your-dashscope-api-key}\"\n base-url: \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n\n chat:\n options:\n model: deepseek-v4-pro\n\n embedding:\n options:\n model: text-embedding-v4\n dimensions: 1024\n\n vectorstore:\n pgvector:\n initialize-schema: true\n index-type: HNSW\n distance-type: COSINE_DISTANCE\n dimensions: 1024\n schema-name: public\n table-name: vector_store\n\nmybatis:\n mapper-locations: classpath:mapper/**/*.xml\n type-aliases-package: com.libambu.dataagent.entity.dataset\n configuration:\n map-underscore-to-camel-case: true\n\nlogging:\n level:\n com.libambu.dataagent.advisor: debug\n"}}}} |