Files

1 line
1.7 KiB
JSON
Raw Permalink 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.
{"repo": "answerlink/intelliq", "files": {"config/__init__.py": {"9d5ab146139ef492d9c46e17d7989359d29efd5f": {"t": 1785674110.7590632, "n": 1267, "h": "5c8edf120c2e4b3d", "c": "print(\"Config package initialized.\")\n\nDEBUG = True\n\n# MODEL ------------------------------------------------------------------------\n\n# 模型支持OpenAI规范接口\nGPT_URL = 'https://api.siliconflow.cn/v1/chat/completions'\nMODEL = 'Qwen/Qwen3-32B'\nAPI_KEY = 'sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'\nSYSTEM_PROMPT = 'You are a helpful assistant.'\n\n# MODEL ------------------------------------------------------------------------\n\n# API CONFIGURATION ------------------------------------------------------------------------\n\n# API基础地址\nAPI_BASE_URL = 'http://xxxxxxx:xxxx'\n\n# 场景配置API地址(已弃用)\nSCENE_CONFIG_API_URL = f'{API_BASE_URL}/api/mock_slots'\n\n# 场景处理API地址模板\nSCENE_API_URL_TEMPLATE = f'{API_BASE_URL}/api/{{scene_name}}'\n\n# API请求超时时间(秒)\nAPI_TIMEOUT = 10\n\n# API CONFIGURATION ------------------------------------------------------------------------\n\n# CONFIGURATION ------------------------------------------------------------------------\n\n# 意图相关性判断阈值0-1(已废弃,保留用于兼容性)\nRELATED_INTENT_THRESHOLD = 0.5\n\n# 聊天记录数量(发送给LLM的历史消息条数)\nCHAT_HISTORY_COUNT = 3\n\n# 无场景识别的默认响应\nNO_SCENE_RESPONSE = \"您好,请问您需要办理什么业务?\"\n\n# API结果处理提示词\nAPI_RESULT_PROMPT = \"以下是查询的结果,请向用户解释,禁止使用markdown:\\n\\n{api_result}:\"\n\n# CONFIGURATION ------------------------------------------------------------------------\n"}}}}