43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
server:
|
||
ip: 0.0.0.0
|
||
port: 50055
|
||
accessToken: "me256487ang1chubdpdialoud22sev1ozhoguumyqca"
|
||
log:
|
||
level: "info"
|
||
logPath: "runtime/logs/app.log"
|
||
chat:
|
||
api_key: "xxxxxxxxxxx"
|
||
base_url: "https://api.moonshot.cn/v1"
|
||
model: "kimi-k2-turbo-preview"
|
||
max_tokens: 4096
|
||
temperature: 1
|
||
top_p: 0.95
|
||
presence_penalty: 0
|
||
frequency_penalty: 0
|
||
bot_desc: "你是一个AI助手,我需要你模拟一名资深的软件工程师来回答我的问题"
|
||
min_response_tokens: 600
|
||
redis:
|
||
host: "host.docker.internal"
|
||
port: 8888
|
||
pwd: "123456"
|
||
dependOn:
|
||
sensitive:
|
||
address: "sensitive-filter:50053"
|
||
accessToken: "ang1chubdev1ozhome256487d22sapguuv1ozhom"
|
||
keywords:
|
||
address: "keywords-filter:50054"
|
||
accessToken: "ang1chubdev1ozhome256487d22sapguuv1ozhom"
|
||
tokenizer:
|
||
address: "http://tokenizer:3002"
|
||
embedding:
|
||
provider: "openai-compatible"
|
||
base_url: "https://open.bigmodel.cn/api/paas/v4"
|
||
api_key: "d51b903546814cc9981d3649a4a899a3.NQOtz3ocRtQwimh9"
|
||
model: "embedding-2"
|
||
timeout: 10
|
||
faiss:
|
||
base_url: "http://faiss:8000"
|
||
search_k: 1
|
||
similarity_threshold: 0.9
|
||
timeout: 10
|