| | |
| | | # Spring配置 |
| | | spring: |
| | | main: |
| | | allow-circular-references: true |
| | | profiles: |
| | | active: hckx |
| | | active: dev |
| | | langchain4j: |
| | | mcp: |
| | | # MCP 服务端地址(根据实际部署的 MCP 服务调整) |
| | | server-url: http://114.132.189.42:8093/ocr |
| | | # 请求超时时间(毫秒) |
| | | timeout: 30000 |
| | | # 可选:MCP 协议版本 |
| | | version: 1.0 |
| | | community: |
| | | dashscope: |
| | | streaming-chat-model: |
| | | api-key: sk-bd235cc13cd74e2388aa8984c84f691f |
| | | model-name: "qwen-max" |
| | | embedding-model: |
| | | api-key: sk-9748859926b94096b920baaa12c343f5 |
| | | model-name: "text-embedding-v3" |
| | | chat-model: |
| | | api-key: sk-9748859926b94096b920baaa12c343f5 |
| | | model-name: "qwen-max" |
| | | open-ai: |
| | | chat-model: |
| | | api-key: sk-9748859926b94096b920baaa12c343f5 |
| | | base-url: "https://dashscope.aliyuncs.com/compatible-mode/v1" |
| | | model-name: "deepseek-v3" |
| | | log-requests: true |
| | | log-responses: true |
| | | temperature: 0.9 |
| | | |
| | | ollama: |
| | | chat-model: |
| | | base-url: "http://localhost:11434" |
| | | model-name: "deepseek-r1:1.5b" |
| | | log-requests: true |
| | | log-responses: true |
| | | knowledge: |
| | | one: D:\新疆大罗素企业产品体系说明文档.md |