Commit Graph

550 Commits

Author SHA1 Message Date
binary-husky b72289bfb0 Fix missing MATHPIX_APPID and MATHPIX_APPKEY
configuration
2024-02-21 14:20:10 +08:00
binary-husky dae180b9ea update spark v3.5, fix glm parallel problem 2024-02-18 14:08:35 +08:00
binary-husky 2e9b4a5770
Merge Frontier, Update to Version 3.72 (#1553)
* Zhipu sdk update 适配最新的智谱SDK,支持GLM4v (#1502)

* 适配 google gemini 优化为从用户input中提取文件

* 适配最新的智谱SDK、支持glm-4v

* requirements.txt fix

* pending history check

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>

* Update "生成多种Mermaid图表" plugin: Separate out the file reading function (#1520)

* Update crazy_functional.py with new functionality deal with PDF

* Update crazy_functional.py and Mermaid.py for plugin_kwargs

* Update crazy_functional.py with new chart type: mind map

* Update SELECT_PROMPT and i_say_show_user messages

* Update ArgsReminder message in get_crazy_functions() function

* Update with read md file and update PROMPTS

* Return the PROMPTS as the test found that the initial version worked best

* Update Mermaid chart generation function

* version 3.71

* 解决issues #1510

* Remove unnecessary text from sys_prompt in 解析历史输入 function

* Remove sys_prompt message in 解析历史输入 function

* Update bridge_all.py: supports gpt-4-turbo-preview (#1517)

* Update bridge_all.py: supports gpt-4-turbo-preview

supports gpt-4-turbo-preview

* Update bridge_all.py

---------

Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com>

* Update config.py: supports gpt-4-turbo-preview (#1516)

* Update config.py: supports gpt-4-turbo-preview

supports gpt-4-turbo-preview

* Update config.py

---------

Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com>

* Refactor 解析历史输入 function to handle file input

* Update Mermaid chart generation functionality

* rename files and functions

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
Co-authored-by: hongyi-zhao <hongyi.zhao@gmail.com>
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com>

* 接入mathpix ocr功能 (#1468)

* Update Latex输出PDF结果.py

借助mathpix实现了PDF翻译中文并重新编译PDF

* Update config.py

add mathpix appid & appkey

* Add 'PDF翻译中文并重新编译PDF' feature to plugins.

---------

Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com>

* fix zhipuai

* check picture

* remove glm-4 due to bug

* 修改config

* 检查MATHPIX_APPID

* Remove unnecessary code and update
function_plugins dictionary

* capture non-standard token overflow

* bug fix #1524

* change mermaid style

* 支持mermaid 滚动放大缩小重置,鼠标滚动和拖拽 (#1530)

* 支持mermaid 滚动放大缩小重置,鼠标滚动和拖拽

* 微调未果 先stage一下

* update

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com>

* ver 3.72

* change live2d

* save the status of ``clear btn` in cookie

* 前端选择保持

* js ui bug fix

* reset btn bug fix

* update live2d tips

* fix missing get_token_num method

* fix live2d toggle switch

* fix persistent custom btn with cookie

* fix zhipuai feedback with core functionality

* Refactor button update and clean up functions

---------

Co-authored-by: XIao <46100050+Kilig947@users.noreply.github.com>
Co-authored-by: Menghuan1918 <menghuan2003@outlook.com>
Co-authored-by: hongyi-zhao <hongyi.zhao@gmail.com>
Co-authored-by: Hao Ma <893017927@qq.com>
Co-authored-by: zeyuan huang <599012428@qq.com>
2024-02-14 18:35:09 +08:00
binary-husky b9b1e12dc9 fix missing get_token_num method 2024-02-12 15:58:55 +08:00
binary-husky f889ef7625 解决issues #1510 2024-01-25 22:42:08 +08:00
binary-husky 1c0764753a Merge branch 'frontier' of github.com:binary-husky/chatgpt_academic into frontier 2024-01-25 22:05:13 +08:00
Menghuan1918 c847209ac9
Update "Generate multiple Mermaid charts" plugin with md file read (#1506)
* Update crazy_functional.py with new functionality deal with PDF

* Update crazy_functional.py and Mermaid.py for plugin_kwargs

* Update crazy_functional.py with new chart type: mind map

* Update SELECT_PROMPT and i_say_show_user messages

* Update ArgsReminder message in get_crazy_functions() function

* Update with read md file and update PROMPTS

* Return the PROMPTS as the test found that the initial version worked best

* Update Mermaid chart generation function
2024-01-24 17:44:54 +08:00
binary-husky 4f9d40c14f 删除冗余代码 2024-01-24 01:42:31 +08:00
binary-husky 49e28a5a00 Merge branch 'frontier' of github.com:binary-husky/chatgpt_academic into frontier 2024-01-23 15:48:49 +08:00
binary-husky 01def2e329 Merge branch 'master' into frontier 2024-01-23 15:48:06 +08:00
Menghuan1918 2291be2b28
Update "Generate multiple Mermaid charts" plugin (#1503)
* Update crazy_functional.py with new functionality deal with PDF

* Update crazy_functional.py and Mermaid.py for plugin_kwargs
2024-01-23 15:45:34 +08:00
Menghuan1918 1506c19834
Update crazy_functional.py with new functionality deal with PDF (#1500) 2024-01-22 14:55:39 +08:00
binary-husky a6fdc493b7 autogen plugin bug fix 2024-01-22 00:08:04 +08:00
Menghuan1918 7b6828ab07
从当前对话历史中生产Mermaid图表的插件 (#1497)
* Add functionality to generate multiple types of Mermaid charts

* Update conditional statement in 解析历史输入 function
2024-01-21 23:41:39 +08:00
binary-husky 7bbaf05961 Merge branch 'master' into frontier 2024-01-20 22:33:41 +08:00
binary-husky 3b83279855 anim generation bug fix #896 2024-01-20 22:17:51 +08:00
binary-husky 37164a826e GengKanghua #896 2024-01-20 22:14:13 +08:00
binary-husky dd2a97e7a9 draw project struct with mermaid 2024-01-20 21:23:56 +08:00
binary-husky 031f19b6dd 替换错误的变量名称 2024-01-20 18:28:54 +08:00
binary-husky 71adc40901 support diagram plotting via mermaid ! 2024-01-15 02:49:21 +08:00
binary-husky 7ab379688e format source code 2024-01-13 18:04:09 +08:00
fzcqc d883c7f34b
fix: expected_words添加反斜杆 (#1442) 2024-01-03 19:57:10 +08:00
Menghuan1918 aba871342f
修复分割函数中使用的变量错误 (#1443)
* Fix force_breakdown function parameter name

* Add handling for PDFs with lowercase starting paragraphs

* Change first lowercase word in meta_txt to uppercase
2024-01-03 19:49:17 +08:00
binary-husky 1bd3637d32 modify image gen plugin user interaction 2023-12-25 22:24:12 +08:00
binary-husky e3e9921f6b correct the misuse of spark image understanding 2023-12-23 17:46:25 +08:00
binary-husky f7588d4776 avoid adding the same file multiple times
to the chatbot's files_to_promote list
2023-12-20 11:50:54 +08:00
binary-husky a0bfa7ba1c improve long text breakdown perfomance 2023-12-20 11:50:54 +08:00
binary-husky 8d13821099 a lm-based story writing game 2023-12-15 23:27:12 +08:00
binary-husky d169fb4b16 fix typo 2023-12-15 13:32:39 +08:00
binary-husky d3f7267a63 Merge branch 'master' into frontier 2023-12-15 12:58:05 +08:00
qingxu fu f4127a9c9c change clip history policy 2023-12-15 12:52:21 +08:00
binary-husky c0a36e37be Merge branch 'master' into frontier 2023-12-09 22:36:28 +08:00
binary-husky 2f148bada0 Merge branch 'new_langchain' 2023-12-09 21:41:33 +08:00
binary-husky 0cb7dd5280 test vector store on docker 2023-12-08 22:22:01 +08:00
binary-husky 892ccb14c7 互动游戏 2023-12-08 00:18:04 +08:00
qingxu fu 21bccf69d2 add installation info 2023-12-07 21:29:41 +08:00
binary-husky 7bac8f4bd3 fix local vector store bug 2023-12-06 22:45:14 +08:00
binary-husky 8a6e96c369 知识库插件修正 2023-12-05 22:56:19 +08:00
binary-husky 49f3fcf2c0 vector store external to internal 2023-12-05 21:22:15 +08:00
binary-husky ec60a85cac new vector store establishment 2023-12-05 00:15:17 +08:00
binary-husky 26291b33d1 Merge branch 'TestServer' of https://github.com/Skyzayre/gpt_academic 2023-12-04 11:01:14 +08:00
Skyzayre 95504f0bb7
Resolve conflicts 2023-12-04 10:31:12 +08:00
Skyzayre 6126024f2c
dall-e-3添加 'style' 风格参数
dall-e-3添加 'style' 风格参数(参考 platform.openai.com/doc/api-reference),修改dall-e-3作图时的参数判断逻辑
2023-12-01 10:36:59 +08:00
binary-husky 2f805db35d Merge branch 'master' into frontier 2023-11-30 22:37:07 +08:00
binary-husky ecaf2bdf45 add comparison pdf file save and load 2023-11-30 22:36:16 +08:00
binary-husky 22e00eb1c5 Merge branch 'master' into frontier 2023-11-30 22:24:34 +08:00
qingxu fu 900fad69cf produce comparison pdf cache 2023-11-30 22:21:44 +08:00
qingxu fu 55d807c116 解决内存泄露问题 2023-11-30 22:19:05 +08:00
505030475 9a0ed248ca 谁是卧底小游戏 2023-11-30 00:15:09 +08:00
qingxu fu 2d2e02040d DALLE2修改图像插件 2023-11-26 01:08:34 +08:00
qingxu fu aee57364dd edit image 2023-11-26 00:24:51 +08:00
binary-husky e533ed6d12 修正并行运行时的截断 2023-11-23 17:51:00 +08:00
qingxu fu 1253a2b0a6 修正错误地把重名路径当成文件的bug 2023-11-23 15:37:00 +08:00
binary-husky 71537b570f
Merge pull request #1315 from Harry67Hu/master
fix MacOS-zip bug
2023-11-22 16:49:22 +08:00
Harry67Hu 7754215dad fix MacOS-zip bug 2023-11-22 15:23:23 +08:00
qingxu fu b1be05009b 移除冗余代码,修复多用户存档问题 2023-11-20 01:06:19 +08:00
qingxu fu 977f992e3a 修复多用户文件冲突 2023-11-20 00:33:18 +08:00
qingxu fu e5cd66a2f7 Merge branch 'frontier' of https://github.com/binary-husky/chatgpt_academic into frontier 2023-11-19 21:50:15 +08:00
binary-husky 5caeb7525d
Update 图片生成.py 2023-11-14 23:15:19 +08:00
Skyzayre f495bb154e
Update 图片生成.py 2023-11-14 21:33:00 +08:00
Skyzayre 4d1657a531
Update 图片生成.py 2023-11-14 21:25:47 +08:00
Skyzayre 443915b6d6
Update 图片生成.py 2023-11-14 20:49:53 +08:00
binary-husky f03aa8713d limit author nums 2023-11-13 01:10:12 +08:00
binary-husky 27db900692 移除batchsize 2023-11-13 00:24:20 +08:00
binary-husky b9b7bf38ab 修复插件导入时的pytorch加载问题 2023-11-13 00:15:15 +08:00
binary-husky c45336a3cd change nougat batchsize 2023-11-12 15:57:18 +08:00
binary-husky f34f1091c3 fix nougat 2023-11-12 14:13:49 +08:00
qingxu fu a55bc0c07c AutoGen自动忽略重复的输入 2023-11-11 23:22:09 +08:00
qingxu fu f7f6db831b 处理模型兼容的一些细节 2023-11-11 22:35:06 +08:00
qingxu fu a655ce1f00 Merge branch 'frontier' into master_autogen 2023-11-11 22:03:20 +08:00
qingxu fu 28119e343c 将autogen大模型调用底层hook掉 2023-11-11 22:01:19 +08:00
qingxu fu e4409b94d1 修正拼写 report_execption -> report_exception #1220 2023-11-11 18:30:57 +08:00
binary-husky fcf04554c6
Merge pull request #1255 from xiangsam/master
[Feature] 更新精准翻译PDF文档(NOUGAT)插件
2023-11-11 14:07:22 +08:00
qingxu fu da7c03e868 图像修改 2023-11-10 22:54:55 +08:00
xiangsam 362b545a45 更改import nougat时机 2023-11-10 14:32:07 +00:00
Samrito 84b45dc4fb
Merge branch 'binary-husky:master' into master 2023-11-10 22:07:41 +08:00
qingxu fu 0299b0f95f 支持DALLE3 2023-11-10 20:59:08 +08:00
xiangsam 33bf795c66 更新精准翻译PDF文档(NOUGAT)插件 2023-11-10 12:06:39 +00:00
qingxu fu 2912eaf082 Merge branch 'master' of https://github.com/Skyzayre/gpt_academic into Skyzayre-master2 2023-11-10 12:51:50 +08:00
binary-husky 996057e588 support chatglm3 2023-11-07 15:41:04 +08:00
binary-husky 804599bbc3 autogen 2023-11-07 15:36:05 +08:00
Skyzayre 4d9256296d
Update 多智能体.py 2023-11-07 14:13:37 +08:00
binary-husky 8e375b0ed2 support chatglm3 2023-11-07 14:07:30 +08:00
binary-husky 5192d316f0 Merge branch 'frontier' 2023-11-07 11:40:27 +08:00
binary-husky f016323b8a
Update 理解PDF文档内容.py 2023-11-01 22:26:46 +08:00
ji-jinlong ca7ff47fcb
Update 理解PDF文档内容.py 2023-11-01 16:05:57 +08:00
binary-husky 527f9d28ad change get_conf 2023-10-29 00:34:40 +08:00
binary-husky cf085565a7 rename folder 2023-10-28 17:44:17 +08:00
binary-husky 5a530df4f2 修复autogen接口的问题 2023-10-28 17:41:22 +08:00
qingxu fu a711db0b5b stashed commit 2023-10-25 11:32:32 +08:00
binary-husky 5dd3f4ad6d rename 2023-10-23 21:50:47 +08:00
binary-husky 27c4e3ef4f 优化autogen的使用 2023-10-23 01:56:18 +08:00
binary-husky e2b3c47186 Version 3.56 - Merge branch 'frontier' 2023-10-22 23:24:41 +08:00
binary-husky a14ef78d52 容忍tex文件的缺失 2023-10-22 00:05:48 +08:00
binary-husky ff2bc64d57 图片交互显示 2023-10-20 23:56:24 +08:00
binary-husky 218f0c445e 微调Autogen代码结构 2023-10-20 23:18:32 +08:00
binary-husky 7ee0c94924 接入autogen 2023-10-20 21:31:50 +08:00
binary-husky 3531e7f23f
修正提示 2023-10-20 15:40:36 +08:00
binary-husky d99f4681f0
修正提示 2023-10-20 15:39:50 +08:00
binary-husky c18a235d33 微调HTML 2023-10-20 10:43:05 +08:00