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.

28 lines
1.1 KiB

5 months ago
from pathlib import Path
5 months ago
# 固定配置项
5 months ago
MODEL_API_KEY = "sk-01d13a39e09844038322108ecdbd1bbc"
5 months ago
MODEL_API_URL = 'https://dashscope.aliyuncs.com/compatible-mode/v1'
5 months ago
MODEL_NAME = "deepseek-v3"
5 months ago
MODEL_GENERATION_TEXT_URL = "https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation" # 阿里云文本生成服务
QWEN_MODEL_NAME = 'qwen-plus'
5 months ago
5 months ago
# 华为云
5 months ago
HW_API_KEY = '2R7vrjfIZO1chcfk4V3zDscx2Ms4I4kdoY7XSFnxa8Z2RNfAztg8qrXXKkwJGZWvMtS4qnN782WmaY4xZfMhyg'
HW_API_URL = url = "https://infer-modelarts-cn-southwest-2.modelarts-infer.com/v1/infers/952e4f88-ef93-4398-ae8d-af37f63f0d8e/v1/chat/completions"
HW_MODEL_NAME = 'DeepSeek-R1'
5 months ago
# 阿里云的配置信息
5 months ago
ALY_AK = 'LTAI5tE4tgpGcKWhbZg6C4bh'
ALY_SK = 'oizcTOZ8izbGUouboC00RcmGE8vBQ1'
5 months ago
5 months ago
# 正确路径拼接方式
mdWorkingPath = Path(__file__).parent / 'md-file' / 'readme'
DEFAULT_TEMPLATE = mdWorkingPath / 'default.md' # 使用 / 运算符
5 months ago
DEFAULT_OUTPUT_DIR = mdWorkingPath / 'output' # 使用 / 运算符
5 months ago
# 请在Config.py中配置以下参数
NEO4J_URI = "neo4j://10.10.21.20:7687"
5 months ago
NEO4J_AUTH = ("neo4j", "DsideaL4r5t6y7u")