agent_9art/backend/generation-service/target/classes/application.yml
jiao db8aa25da6 feat: 升级话术生成能力,优化prompt工程与前端交互
1. 重构PromptEngine,拆分系统/用户提示词并新增多维度上下文支持
2. 为Doubao客户端新增temperature参数解析配置
3. 前端新增客户画像、对话历史、参考话术自动带入生成参数
4. 调整默认LLM模型为qwen-plus,优化返回结果格式与展示
2026-06-05 15:39:59 +08:00

46 lines
1.1 KiB
YAML

server:
servlet:
encoding:
charset: UTF-8
enabled: true
force: true
port: 8086
spring:
application:
name: generation-service
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:ai_assistant}?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
username: ${MYSQL_USERNAME:root}
password: ${MYSQL_PASSWORD:root}
redis:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
database: 0
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
rabbitmq:
host: ${RABBITMQ_HOST:localhost}
port: ${RABBITMQ_PORT:5672}
username: ${RABBITMQ_USERNAME:admin}
password: ${RABBITMQ_PASSWORD:admin}
llm:
qianwen:
api-key: sk-39ceb8d746014b349109e76f893acb18
model: qwen-plus
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0