添加图片识别千问大模型

This commit is contained in:
2025-08-02 14:46:02 +08:00
parent 840be2a338
commit 43546d56a9
9 changed files with 1272 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# 图片识别配置
image:
recognition:
# AI API配置
api-url: https://api.siliconflow.cn/v1/chat/completions
model-name: Qwen/Qwen2.5-VL-32B-Instruct
api-key: sk-sbmuklhrcxqlsucufqebiibauflxqfdafqjxaedtwirurtrc
max-retries: 3
temperature: 0.0
max-tokens: 4096
# 图片处理配置
max-image-dimension: 512
image-quality: 60
# 识别配置
default-recognition-type: bom
enable-voting: true
voting-rounds: 3
# 支持的图片格式
supported-formats:
- jpg
- jpeg
- png
- bmp
- gif
# 超时配置
connect-timeout: 30000
read-timeout: 60000
# 缓存配置
enable-cache: true
cache-ttl: 3600
# 日志配置
enable-debug-log: false