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.

38 lines
1.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# MYSQL配置信息
MYSQL_HOST = "10.10.14.210"
MYSQL_PORT = 22066
MYSQL_USER = "root"
MYSQL_PASSWORD = "DsideaL147258369"
MYSQL_DB_NAME = "base_db"
# Milvus 服务器的主机地址
MS_HOST = "10.10.14.207"
# Milvus 服务器的端口号
MS_PORT = "19530"
# Milvus 集合的名称
MS_COLLECTION_NAME = "ds_collection"
# Milvus 连接池的最大连接数
MS_MAX_CONNECTIONS = 50
# 腾讯 AI Lab 中文词向量模型的路径
MS_MODEL_PATH = "D:/Tencent_AILab_ChineseEmbedding/Tencent_AILab_ChineseEmbedding.txt"
# 加载词向量模型时限制的词汇数量
MS_MODEL_LIMIT = 10000
# 词向量的维度(腾讯 AI Lab 中文词向量模型的维度为 200
MS_DIMENSION = 200
# Milvus 搜索时的 nprobe 参数,用于控制搜索的精度和性能
MS_NPROBE = 100
# DeepSeek
DEEPSEEK_API_KEY = 'sk-44ae895eeb614aa1a9c6460579e322f1'
DEEPSEEK_URL = 'https://api.deepseek.com'
# 阿里云中用来调用 deepseek v3 的密钥【驿来特】
MODEL_API_KEY = "sk-f6da0c787eff4b0389e4ad03a35a911f"
MODEL_NAME = "qwen-plus"
#MODEL_NAME = "deepseek-v3"
# Jieba分词自定义词典配置
JIEBA_CUSTOM_WORDS = [
'文言虚词',
# 可在此添加更多自定义词语
]