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.
34 lines
1.1 KiB
34 lines
1.1 KiB
# 嵌入模型
|
|
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
|
|
|
|
# 大模型 【DeepSeek深度求索官方】
|
|
#LLM_API_KEY = "sk-44ae895eeb614aa1a9c6460579e322f1"
|
|
#LLM_BASE_URL = "https://api.deepseek.com"
|
|
#LLM_MODEL_NAME = "deepseek-chat"
|
|
|
|
# 阿里云提供的大模型服务
|
|
LLM_API_KEY="sk-f6da0c787eff4b0389e4ad03a35a911f"
|
|
LLM_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
# LLM_MODEL_NAME = "qwen-plus" # 不要使用通义千问,会导致化学方程式不正确!
|
|
LLM_MODEL_NAME = "deepseek-v3"
|
|
|
|
# 视觉模型
|
|
VISION_API_KEY = "sk-pbqibyjwhrgmnlsmdygplahextfaclgnedetybccknxojlyl"
|
|
VISION_BASE_URL = "https://api.siliconflow.cn/v1/chat/completions"
|
|
VISION_MODEL_NAME = "GLM-4.1V-9B-Thinking"
|
|
|
|
# Neo4j
|
|
NEO4J_URI = "bolt://localhost:7687"
|
|
NEO4J_USERNAME = "neo4j"
|
|
NEO4J_PASSWORD = "DsideaL147258369"
|
|
NEO4J_AUTH = (NEO4J_USERNAME, NEO4J_PASSWORD)
|
|
|
|
# 写入Neo4j的批次大小
|
|
BATCH_SIZE_NODES = 100
|
|
# 写入Neo4j的批次大小
|
|
BATCH_SIZE_EDGES = 100
|