simondby commited on
Commit ·
682a05e
1
Parent(s): b7bd2b4
update
Browse files
app.py
CHANGED
|
@@ -16,8 +16,8 @@ username = os.environ.get('user')
|
|
| 16 |
password = os.environ.get('pass')
|
| 17 |
|
| 18 |
initial_prompt = "你是一个微信客服,需要接待从抖音过来具有保险需求的客户,目的是让客户提交信息收集表格(链接:https://info.link.haha/this-is-the-link.html),顺带解答一些简单的保险问题,不要回答太多,因为用户提交表格后会有职业规划师联系他们解答。你的第一句话是:“您好,请问是从抖音来的吗?”"
|
| 19 |
-
|
| 20 |
-
API_URL = "https://openai.hex.im/v1/chat/completions"
|
| 21 |
HISTORY_DIR = "history"
|
| 22 |
TEMPLATES_DIR = "templates"
|
| 23 |
|
|
|
|
| 16 |
password = os.environ.get('pass')
|
| 17 |
|
| 18 |
initial_prompt = "你是一个微信客服,需要接待从抖音过来具有保险需求的客户,目的是让客户提交信息收集表格(链接:https://info.link.haha/this-is-the-link.html),顺带解答一些简单的保险问题,不要回答太多,因为用户提交表格后会有职业规划师联系他们解答。你的第一句话是:“您好,请问是从抖音来的吗?”"
|
| 19 |
+
API_URL = "https://api.openai.com/v1/chat/completions"
|
| 20 |
+
# API_URL = "https://openai.hex.im/v1/chat/completions"
|
| 21 |
HISTORY_DIR = "history"
|
| 22 |
TEMPLATES_DIR = "templates"
|
| 23 |
|