-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more functions #364
base: master
Are you sure you want to change the base?
Add more functions #364
Conversation
sastpg
commented
May 6, 2023
•
edited
Loading
edited
- 适配EdgeGPT 0.3.8 版本;
- 增加防止微软撤回或拦截AI消息,不用再次请求,不会清除记忆;
- 增加对话风格切换,同时不会清除记忆 建议支持new bing的模式(创造力 平衡 准确)切换 #357
- 指令:/creative, /balanced, /precise
bot: Chatbot = None | ||
cookies: list = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cookies->cookies_list
model/bing/new_bing_model.py
Outdated
|
||
user_session = dict() | ||
user_chathistory = dict() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user_chathistory->user_chat_history
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactor variable name
Thanks for review, refactoring variable name done. |
Specifications about the new antiinterception feature: here |
画图功能好像不行? |
|
1 similar comment
|
This comment was marked as duplicate.
This comment was marked as duplicate.
老哥,我是国外服务器,提示这个输入的内容可能违反微软的图片生成内容策略。过多的策略冲突可能会导致你被暂停访问。 |
可能是你的cookies的原因。你可以:
个人认为很可能是第2条。如果成功了或者还有问题欢迎交流 |
感谢老哥的帮助,果然是我的cookie的原因。 |
不能画图的问题相当诡异,已知"image_create_prefix": ["画"]是没有问题的,但提问的时候是不进context.get('type', None) == 'IMAGE_CREATE'这个判断的,调试发现是context.get('type')为空: def reply(self, query: str, context=None): 如果强行进IMAGE_CREATE的话: [INFO][2023-05-14 08:45:43][log.py:32] - [NewBing] image_query=画knight |
执行pip install --no-cache-dir -r requirements.txt就好了 |
EdgeGPT更新了接口 |
有空我会更新一下 |
现在不论发啥回复全变成*号了 |