Files
dsProject/dsRagAnything/Config/Config.py
2025-08-27 07:36:59 +08:00

26 lines
901 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 嵌入向量模型
EMBED_MODEL_NAME = "BAAI/bge-m3"
EMBED_API_KEY = "sk-pbqibyjwhrgmnlsmdygplahextfaclgnedetybccknxojlyl"
EMBED_BASE_URL = "https://api.siliconflow.cn/v1"
EMBED_DIM = 1024
EMBED_MAX_TOKEN_SIZE = 8192
# 重排模型
RERANK_MODEL = 'BAAI/bge-reranker-v2-m3'
RERANK_BASE_URL = 'https://api.siliconflow.cn/v1/rerank'
RERANK_BINDING_API_KEY = 'sk-pbqibyjwhrgmnlsmdygplahextfaclgnedetybccknxojlyl'
# GLM 智谱的API KEY【黄海申请的个人API KEY免费】
GLM_BASE_URL = "https://open.bigmodel.cn/api/paas/v4/chat/completions"
GLM_API_KEY = "69718c8741d64037867f403ffd3423f5.m7d1Jp7h5v2Cbajz"
GLM_MODEL_NAME = "glm-4.1v-thinking-flash"
# 阿里云API信息【绘智科技】
ALY_LLM_API_KEY = "sk-01d13a39e09844038322108ecdbd1bbc"
ALY_LLM_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1"
ALY_LLM_MODEL_NAME = "qwen-plus"# 通义千问