You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
[base]
|
|
|
|
|
# 多轮对话历史存储类型(memory:内存)
|
|
|
|
|
history_chat_store = 'memory'
|
|
|
|
|
# 相似度阈值
|
|
|
|
|
similarity_threshold = 0.93
|
|
|
|
|
|
|
|
|
|
####### 模型配置 #######
|
|
|
|
|
[siliconflow]
|
|
|
|
|
# 硅基流动
|
|
|
|
|
# 密钥
|
|
|
|
|
api_key = 'sk-rdoyeoxcyvqjynufqjmewmipwtvrhjjzerqlinpqxiodyafp'
|
|
|
|
|
# 模型名称
|
|
|
|
|
model = 'Qwen/QwQ-32B'
|
|
|
|
|
# API地址
|
|
|
|
|
base_url = 'https://api.siliconflow.cn/v1/'
|
|
|
|
|
# 最大token数
|
|
|
|
|
max_tokens = 4096
|
|
|
|
|
# 温度系数
|
|
|
|
|
temperature = 0.6
|
|
|
|
|
# 是否流式返回
|
|
|
|
|
streaming = true
|
|
|
|
|
|
|
|
|
|
[ark]
|
|
|
|
|
# 火山引擎
|
|
|
|
|
# 密钥
|
|
|
|
|
api_key = '4eefc827-187f-4756-9637-7e0153c93d81'
|
|
|
|
|
# 模型名称
|
|
|
|
|
model = 'deepseek-r1-250120'
|
|
|
|
|
# API地址
|
|
|
|
|
base_url = 'https://ark.cn-beijing.volces.com/api/v3/'
|
|
|
|
|
# 最大token数
|
|
|
|
|
max_tokens = 4096
|
|
|
|
|
# 温度系数
|
|
|
|
|
temperature = 0.6
|
|
|
|
|
# 是否流式返回
|
|
|
|
|
streaming = true
|