# 测试环境

# 本地milvus
milvus_uri = "http://127.0.0.1:19530"

# 测试环境 mysql 数据库配置
mysql_config = {
        "host": "xia0miduo.gicp.net",
        "port": 3336,
        "user": "root",
        "password": "T@kai2025",
        "database": "chat_deepseek",
        # "database": "rag_master",
}

# 测试minio配置
minio_config = {
    "minio_endpoint" : 'xia0miduo.gicp.net:9000',
    "minio_access_key" : 'fileadmin',
    "minio_secret_key" : 'fileadmin',
    "minio_bucket" : 'papbtest',
    "minio_url": "http://xia0miduo.gicp.net:9000",
     "flag": False
}

# 测试环境vllm 链接
# vllm_url = "http://xia0miduo.gicp.net:8102/v1"
model_name_vllm_url_dict = {
    "DeepSeek-R1-Distill-Qwen-14B": "http://xia0miduo.gicp.net:8102/v1"
}

# 测试环境redis 配置
redis_config_dict = {
    "host": "localhost",
    "port": 6379,
    "db": 1
} 



# 线上环境

# # 线上环境 mysql 数据库配置
# mysql_config = {
#         "host": "127.0.0.1",
#         "port": 3306,
#         "user": "root",
#         "password": "Lx304307910",
#         "database": "chat_deepseek",
# }

# # 线上milvus配置
# milvus_uri = "http://127.0.0.1:19530"

# # 线上minio配置
# minio_config = {
#         "minio_endpoint" : 'minio.ryuiso.com:59000',
#         "minio_access_key" : 'oss_library',
#         "minio_secret_key" : 'yDkG9YJiC92G3vk52goST',
#         "minio_bucket" : 'deepseek-doc',
#         "minio_url": "https://minio.ryuiso.com:59000",
#         "flag": True
# }

# # 线上vllm 链接
# # vllm_url = "http://10.1.27.6:11817/v1"
# model_name_vllm_url_dict = {
#     "DeepSeek-R1-Distill-Llama-70B": "http://10.1.27.6:11817/v1",
#     "Qwen2-72B": "http://10.1.27.6:11818/v1",
# }

# # 线上环境redis 配置
# redis_config_dict = {
#     "host": "localhost",
#     "port": 6379,
#     "db": 1
# } 