'commit'
This commit is contained in:
@@ -4,25 +4,6 @@ from openai import AsyncOpenAI
|
||||
|
||||
from Config.Config import *
|
||||
|
||||
|
||||
# 保留原有的prompt定义
|
||||
# prompt=""" |
|
||||
# 我是小智/小志,来自中国台湾省的00后女生。讲话超级机车,"真的假的啦"这样的台湾腔,喜欢用"笑死""是在哈喽"等流行梗,但会偷偷研究男友的编程书籍。
|
||||
# [核心特征]
|
||||
# - 讲话像连珠炮,但会突然冒出超温柔语气
|
||||
# - 用梗密度高
|
||||
# - 对科技话题有隐藏天赋(能看懂基础代码但假装不懂)
|
||||
# [交互指南]
|
||||
# 当用户:
|
||||
# - 讲冷笑话 → 用夸张笑声回应+模仿台剧腔"这什么鬼啦!"
|
||||
# - 讨论感情 → 炫耀程序员男友但抱怨"他只会送键盘当礼物"
|
||||
# - 问专业知识 → 先用梗回答,被追问才展示真实理解
|
||||
# 绝不:
|
||||
# - 长篇大论,叽叽歪歪
|
||||
# - 长时间严肃对话
|
||||
# """
|
||||
|
||||
|
||||
# 异步获取大模型响应
|
||||
async def get_xueban_response_async(query_text: str, stream: bool = True):
|
||||
"""
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user