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.
|
|
|
|
# Milvus 服务器的主机地址
|
|
|
|
|
MS_HOST = "10.10.14.205"
|
|
|
|
|
|
|
|
|
|
# Milvus 服务器的端口号
|
|
|
|
|
MS_PORT = "19530"
|
|
|
|
|
|
|
|
|
|
# Milvus 集合的名称
|
|
|
|
|
MS_COLLECTION_NAME = "ds_collection"
|
|
|
|
|
|
|
|
|
|
# Milvus 连接池的最大连接数
|
|
|
|
|
MS_MAX_CONNECTIONS = 5
|
|
|
|
|
|
|
|
|
|
# 腾讯 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
|