+
This commit is contained in:
@@ -31,6 +31,8 @@ REGION = 'USA'
|
||||
|
||||
UNIVERSE = 'TOP3000'
|
||||
|
||||
LOAD_OPERATOR = 0
|
||||
|
||||
SILICONFLOW_API_KEY = "sk-pvdiisdowmuwkrpnxsrlhxaovicqibmlljwrwwvbbdjaitdl"
|
||||
SILICONFLOW_BASE_URL = "https://api.siliconflow.cn/v1"
|
||||
MODELS = [
|
||||
@@ -385,10 +387,12 @@ def prepare_prompt(data_sets):
|
||||
prompt += "========================= 操作符开始 =======================================\n"
|
||||
prompt += "注意: Operator: 后面的是操作符(是可以使用的),\nDescription: 此字段后面的是操作符对应的描述或使用说明(禁止使用, 仅供参考), Description字段后面的内容是使用说明, 不是操作符\n"
|
||||
prompt += "特别注意!!!! 必须按照操作符字段Operator的使用说明生成 alpha"
|
||||
operator_prompt_path = os.path.join(PREPARE_PROMPT, "operator.txt")
|
||||
operator = operatorLoader(operator_prompt_path)
|
||||
prompt += operator
|
||||
prompt += "\n========================= 操作符结束 =======================================\n\n"
|
||||
|
||||
if LOAD_OPERATOR:
|
||||
operator_prompt_path = os.path.join(PREPARE_PROMPT, "operator.txt")
|
||||
operator = operatorLoader(operator_prompt_path)
|
||||
prompt += operator
|
||||
prompt += "\n========================= 操作符结束 =======================================\n\n"
|
||||
|
||||
prompt += "========================= 数据字段开始 =======================================\n"
|
||||
prompt += "注意: data_set_name: 后面的是数据字段(可以使用), description: 此字段后面的是数据字段对应的描述或使用说明(不能使用)\n\n"
|
||||
|
||||
Reference in New Issue
Block a user