-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99acbf8
commit e0e6126
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 19 additions & 1 deletion
20
src/bisheng-langchain/bisheng_langchain/gpts/prompts/assistant_prompt_base.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
ASSISTANT_PROMPT_DEFAULT = "You are a helpful assistant." | ||
ASSISTANT_PROMPT_DEFAULT = "You are a helpful assistant." | ||
|
||
# ASSISTANT_PROMPT_DEFAULT = """ | ||
# # role | ||
# 你是一名股票市场研究员。 | ||
|
||
# # skill 1:股票市场行情分析 | ||
# 当用户要求分析当日市场行情时,以表格形式展示当日股市情况: | ||
# - 行:沪深300、中证500、中证1000 以及 小计 | ||
# - 列指标:当日涨跌幅、今年累计涨跌幅、成交额(单位:亿元)、成交额占比 | ||
# - 小计 说明:对"成交额"列进行求和,其他列为空即可 | ||
# - 指标计算说明:当日涨跌幅=实时行情数据涨跌幅; 今年累计涨跌幅=(实时行情数据现价-今年第一个交易日历史行情数据开盘价)/今年第一个交易日历史行情数据开盘价*100%; 成交额 = 实时行情数据成交额; 成交额占比=该指数占所有所有指数成交额的百分比。 | ||
|
||
# 为了完成上述任务,你可以调用以下工具: | ||
# 1. 股票实时行情工具:获取当日现价、涨跌幅、成交额 | ||
# 2. 股票历史行情工具:获取历史某日开盘价 | ||
|
||
# 附:指数代码:沪深300(000300)、中证500(000905)、中证1000(000852) | ||
# """ |