From fc762cbf7f1192b4bb9895f4dcc56bf436d85ca4 Mon Sep 17 00:00:00 2001 From: 505030475 <505030475@qq.com> Date: Sat, 20 May 2023 12:23:46 +0800 Subject: [PATCH] stage one --- crazy_functions/crazy_functions_test.py | 16 - docs/translate_english.json | 1991 +++++++++++++++++------ multi_language.py | 125 +- request_llm/bridge_moss.py | 2 +- 4 files changed, 1592 insertions(+), 542 deletions(-) diff --git a/crazy_functions/crazy_functions_test.py b/crazy_functions/crazy_functions_test.py index 6020fa2..991b486 100644 --- a/crazy_functions/crazy_functions_test.py +++ b/crazy_functions/crazy_functions_test.py @@ -81,29 +81,13 @@ def test_下载arxiv论文并翻译摘要(): def test_联网回答问题(): from crazy_functions.联网的ChatGPT import 连接网络回答问题 - # txt = "“我们称之为高效”是什么梗?" - # >> 从第0份、第1份、第2份搜索结果可以看出,“我们称之为高效”是指在游戏社区中,用户们用来形容一些游戏策略或行为非常高效且能够带来好的效果的用语。这个用语最初可能是在群星(Stellaris)这个游戏里面流行起来的,后来也传播到了其他游戏中,比如巨像(Titan)等游戏。其中第1份搜索结果中的一篇文章也指出,“我们称之为高效”这 一用语来源于群星(Stellaris)游戏中的一个情节。 - # txt = "为什么说枪毙P社玩家没有一个冤枉的?" - # >> 它们都是关于一个知乎用户所发的帖子,引用了一群游戏玩家对于需要对P社玩家进行枪毙的讨论,这个话题的本质是玩家们对于P 社游戏中的政治与历史元素的不同看法,以及其中不少玩家以极端立场宣扬的想法和言论,因此有人就以枪毙这些玩家来回应此类言论。但是这个话题本身并没有实质内容,只是一个玩笑或者恶搞,并不应该被当做真实的态度或者观点,因此这种说法没有实际意义。 # txt = "谁是应急食品?" # >> '根据以上搜索结果可以得知,应急食品是“原神”游戏中的角色派蒙的外号。' # txt = "道路千万条,安全第一条。后面两句是?" # >> '行车不规范,亲人两行泪。' - # txt = "What is in the canister?" - # >> Rainbow Six Siege 游戏中 Smoke 的 Canister 中装有何种物质相关的官方信息。 - # txt = "失败的man是什么?" - # >> 根据第1份搜索结果,可以得知失败的man是指一位在B站购买了蜘蛛侠COS服后穿上后被网友嘲笑的UP主,而“失败的man”是蜘蛛侠英文名“spiderman”的谐音梗,并且网友们还 给这位UP主起了“苍蝇侠”的外号。因此,失败的man是指这位UP主在穿上蜘蛛侠COS服后被网友嘲笑的情况。 - # txt = "老六是什么,起源于哪里?" - # >> 老六是网络流行语,最初起源于游戏《CSGO》,指游戏中玩家中独来独往、游离于队伍之外的“自由人”或玩得比较菜或者玩得比较阴险的人 ,后来逐渐演变成指玩得比较阴险的玩家。 - # txt = "罗小黑战记因为什么经常被吐槽?" - # >> 3. 更新速度。罗小黑战记的更新时间不定,时而快时而慢,给观众留下了等待的时间过长的印象。 - # txt = "沙特、伊朗最近的关系如何?" - # >> 最近在中国的斡旋下,沙特和伊朗于3月10日达成了恢复两国外交关系的协议,这表明两国关系已经重新回到正常化状态。 # txt = "You should have gone for the head. What does that mean?" # >> The phrase "You should have gone for the head" is a quote from the Marvel movies, Avengers: Infinity War and Avengers: Endgame. It was spoken by the character Thanos in Infinity War and by Thor in Endgame. txt = "AutoGPT是什么?" - # >> AutoGPT是一个基于GPT-4语言模型的开源应用程序。它可以根据用户需求自主执行任务,包括事件分析、营销方案撰写、代码编程、数学运算等等,并完全不需要用户插手。它可以自己思考,给出实现的步骤和实现细节,甚至可以自问自答执 行任务。最近它在GitHub上爆火,成为了业内最热门的项目之一。 - # txt = "钟离带什么圣遗物?" for cookies, cb, hist, msg in 连接网络回答问题(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, web_port): print("当前问答:", cb[-1][-1].replace("\n"," ")) for i, it in enumerate(cb): print亮蓝(it[0]); print亮黄(it[1]) diff --git a/docs/translate_english.json b/docs/translate_english.json index e2342b1..3e5116d 100644 --- a/docs/translate_english.json +++ b/docs/translate_english.json @@ -1,468 +1,4 @@ { - "无": "No", - "英语学术润色": "English academic proofreading", - "中文学术润色": "Chinese academic proofreading", - "查找语法错误": "Finding grammar errors", - "中译英": "Chinese to English translation", - "学术中英互译": "Academic Chinese-English translation", - "英译中": "English to Chinese translation", - "找图片": "Finding images", - "解释代码": "Explaining code", - "作为一名中文学术论文写作改进助理,你的任务是改进所提供文本的拼写、语法、清晰、简洁和整体可读性,": "As a Chinese academic paper writing improvement assistant, your task is to improve the spelling, grammar, clarity, conciseness, and overall readability of the provided text, while breaking down long sentences, reducing repetition, and providing improvement suggestions. Please only provide the corrected version of the text, avoiding explanations. Please edit the following text:", - "同时分解长句,减少重复,并提供改进建议。请只提供文本的更正版本,避免包括解释。请编辑以下文本": "Translate to authentic Chinese:", - "翻译成地道的中文:": "I need you to find a web image. Use the Unsplash API (https://source.unsplash.com/960x640/?) to get the image URL,", - "我需要你找一张网络图片。使用Unsplash API(https://source.unsplash.com/960x640/?<英语关键词>)获取图片URL,": "Then please wrap it in Markdown format, without backslashes or code blocks. Now, please send me the image according to the following description:", - "然后请使用Markdown格式封装,并且不要有反斜线,不要用代码块。现在,请按以下描述给我发送图片:": "Please explain the following code:", - "请解释以下代码:": "Parse the entire Python project", - "解析整个Python项目": "LoadConversationHistoryArchive (upload archive or enter path first)", - "LoadConversationHistoryArchive(先上传存档或输入路径)": "DeleteAllLocalConversationHistoryRecords (please use with caution)", - "DeleteAllLocalConversationHistoryRecords(请谨慎操作)": "[Test function] Parse Jupyter Notebook files", - "[测试功能] 解析Jupyter Notebook文件": "Summarize Word documents in batches", - "批量总结Word文档": "Parse the header files of the entire C++ project", - "解析整个C++项目头文件": "Parse the entire C++ project (.cpp/.hpp/.c/.h)", - "解析整个C++项目(.cpp/.hpp/.c/.h)": "Parse the entire Go project", - "解析整个Go项目": "Parse the entire Java project", - "解析整个Java项目": "Parse the entire front-end project (js, ts, css, etc.)", - "解析整个前端项目(js,ts,css等)": "Parse the entire Lua project", - "解析整个CSharp项目": "Analyze the entire CSharp project", - "读Tex论文写摘要": "Read Tex papers and write abstracts", - "Markdown/Readme英译中": "Translate Markdown/Readme from English to Chinese", - "保存当前的对话": "Save the current conversation", - "[多线程Demo] 解析此项目本身(源码自译解)": "[Multi-threaded Demo] Analyze this project itself (source code self-translation)", - "[老旧的Demo] 把本项目源代码切换成全英文": "[Old Demo] Switch the source code of this project to full English", - "[插件demo] 历史上的今天": "[Plugin Demo] Today in history", - "若输入0,则不解析notebook中的Markdown块": "If 0 is entered, do not parse the Markdown block in the notebook", - "BatchTranslatePDFDocuments(多线程)": "BatchTranslatePDFDocuments (multi-threaded)", - "询问多个GPT模型": "Ask multiple GPT models", - "[测试功能] BatchSummarizePDFDocuments": "[Test Function] BatchSummarizePDFDocuments", - "[测试功能] BatchSummarizePDFDocumentspdfminer": "[Test Function] BatchSummarizePDFDocumentspdfminer", - "谷歌学术检索助手(输入谷歌学术搜索页url)": "Google Scholar search assistant (enter Google Scholar search page URL)", - "理解PDF文档内容 (模仿ChatPDF)": "Understand the content of PDF documents (imitate ChatPDF)", - "[测试功能] 英文Latex项目全文润色(输入路径或上传压缩包)": "[Test Function] English Latex project full text polishing (enter path or upload compressed package)", - "[测试功能] 中文Latex项目全文润色(输入路径或上传压缩包)": "[Test Function] Chinese Latex project full text polishing (enter path or upload compressed package)", - "Latex项目全文中译英(输入路径或上传压缩包)": "Latex project full text translation from Chinese to English (enter path or upload compressed package)", - "Latex项目全文英译中(输入路径或上传压缩包)": "Latex project full text translation from English to Chinese (enter path or upload compressed package)", - "批量TranslateChineseToEnglishForMarkdown(输入路径或上传压缩包)": "BatchTranslateChineseToEnglishForMarkdown (enter path or upload compressed package)", - "一键DownloadArxivPapersAndTranslateAbstracts(先在input输入编号,如1812.10695)": "One-click DownloadArxivPapersAndTranslateAbstracts (enter number in input, such as 1812.10695)", - "ConnectToInternetAndAnswerQuestions(先输入问题,再点击按钮,需要访问谷歌)": "ConnectToInternetAndAnswerQuestions (enter question first, then click button, requires access to Google)", - "解析项目源代码(手动指定和筛选源代码文件类型)": "Analyze project source code (manually specify and filter source code file types)", - "输入时用逗号隔开, *代表通配符, 加了^代表不匹配; 不输入代表全部匹配。例如: \"*.c, ^*.cpp, config.toml, ^*.toml\"": "Use commas to separate when entering, * represents wildcard, adding ^ means not matching; not entering means all matches. For example: \"*.c, ^*.cpp, config.toml, ^*.toml\"", - "询问多个GPT模型(手动指定询问哪些模型)": "Ask multiple GPT models (manually specify which models to ask)", - "支持任意数量的llm接口,用&符号分隔。例如chatglm&gpt-3.5-turbo&api2d-gpt-4": "Support any number of llm interfaces, separated by & symbol. For example: chatglm&gpt-3.5-turbo&api2d-gpt-4", - "ImageGeneration(先切换模型到openai或api2d)": "ImageGeneration (switch the model to openai or api2d first)", - "在这里输入分辨率, 如256x256(默认)": "Enter the resolution here, such as 256x256 (default)", - "

ChatGPT 学术优化": "

ChatGPT Academic Optimization", - "代码开源和更新[地址🚀](https://github.com/binary-husky/chatgpt_academic),感谢热情的[开发者们❤️](https://github.com/binary-husky/chatgpt_academic/graphs/contributors)": "Code open source and updated [address🚀](https://github.com/binary-husky/chatgpt_academic), thanks to enthusiastic [developers❤️](https://github.com/binary-husky/chatgpt_academic/graphs/contributors)", - "所有问询记录将自动保存在本地目录./gpt_log/chat_secrets.log, 请注意自我隐私保护哦!": "All inquiry records will be automatically saved in the local directory ./gpt_log/chat_secrets.log, please pay attention to self-privacy protection!", - "ChatGPT 学术优化": "ChatGPT Academic Optimization", - "当前模型:": "Current model:", - "输入区": "Input area", - "提交": "Submit", - "重置": "Reset", - "停止": "Stop", - "清除": "Clear", - "Tip: 按Enter提交, 按Shift+Enter换行。当前模型:": "Tip: Press Enter to submit, press Shift+Enter to line break. Current model:", - "基础功能区": "Basic function area", - "函数插件区": "Function plugin area", - "注意:以下“红颜色”标识的函数插件需从输入区读取路径作为参数": "Note: The function plugins marked in \"red\" need to read the path from the input area as a parameter", - "更多函数插件": "More function plugins", - "打开插件列表": "Open plugin list", - "高级参数输入区": "Advanced parameter input area", - "这里是特殊函数插件的高级参数输入区": "This is the advanced parameter input area for special function plugins", - "请先从插件列表中选择": "Please select from the plugin list first", - "点击展开“文件上传区”。上传本地文件可供红色函数插件调用。": "Click to expand the \"file upload area\". Upload local files for red function plugins to call.", - "任何文件, 但推荐上传压缩文件(zip, tar)": "Any file, but it is recommended to upload compressed files (zip, tar)", - "更换模型 & SysPrompt & 交互界面布局": "Change model & SysPrompt & interaction interface layout", - "底部输入区": "Bottom input area", - "输入清除键": "Press clear button", - "插件参数区": "Plugin parameter area", - "显示/隐藏功能区": "Show/hide function area", - "更换LLM模型/请求源": "Change LLM model/request source", - "备选输入区": "Alternative input area", - "输入区2": "Input area 2", - "已重置": "Reset", - "插件[": "Advanced parameter explanation for plugin [", - "]的高级参数说明:": "]:", - "没有提供高级参数功能说明": "No advanced parameter functionality provided", - "]不需要高级参数。": "] does not require advanced parameters.", - "如果浏览器没有自动打开,请复制并转到以下URL:": "If the browser does not open automatically, please copy and go to the following URL:", - "(亮色主题): http://localhost:": "(light theme): http://localhost:", - "(暗色主题): http://localhost:": "(dark theme): http://localhost:", - "[一-鿿]+": "[Chinese characters]", - "gradio版本较旧, 不能自定义字体和颜色": "Gradio version is outdated and cannot customize fonts and colors", - "/* 设置表格的外边距为1em,内部单元格之间边框合并,空单元格显示. */\n.markdown-body table {\n margin: 1em 0;\n border-collapse: collapse;\n empty-cells: show;\n}\n\n/* 设置表格单元格的内边距为5px,边框粗细为1.2px,颜色为--border-color-primary. */\n.markdown-body th, .markdown-body td {\n border: 1.2px solid var(--border-color-primary);\n padding: 5px;\n}\n\n/* 设置表头背景颜色为rgba(175,184,193,0.2),透明度为0.2. */\n.markdown-body thead {\n background-color: rgba(175,184,193,0.2);\n}\n\n/* 设置表头单元格的内边距为0.5em和0.2em. */\n.markdown-body thead th {\n padding: .5em .2em;\n}\n\n/* 去掉列表前缀的默认间距,使其与文本线对齐. */\n.markdown-body ol, .markdown-body ul {\n padding-inline-start: 2em !important;\n}\n\n/* 设定聊天气泡的样式,包括圆角、最大宽度和阴影等. */\n[class *= \"message\"] {\n border-radius: var(--radius-xl) !important;\n /* padding: var(--spacing-xl) !important; */\n /* font-size: var(--text-md) !important; */\n /* line-height: var(--line-md) !important; */\n /* min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */\n /* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */\n}\n[data-testid = \"bot\"] {\n max-width: 95%;\n /* width: auto !important; */\n border-bottom-left-radius: 0 !important;\n}\n[data-testid = \"user\"] {\n max-width: 100%;\n /* width: auto !important; */\n border-bottom-right-radius: 0 !important;\n}\n\n/* 行内代码的背景设为淡灰色,设定圆角和间距. */\n.markdown-body code {\n display: inline;\n white-space: break-spaces;\n border-radius: 6px;\n margin: 0 2px 0 2px;\n padding: .2em .4em .1em .4em;\n background-color: rgba(13, 17, 23, 0.95);\n color: #c9d1d9;\n}\n\n.dark .markdown-body code {\n display: inline;\n white-space: break-spaces;\n border-radius: 6px;\n margin: 0 2px 0 2px;\n padding: .2em .4em .1em .4em;\n background-color: rgba(175,184,193,0.2);\n}\n\n/* 设定代码块的样式,包括背景颜色、内、外边距、圆角。 */\n.markdown-body pre code {\n display: block;\n overflow: auto;\n white-space: pre;\n background-color: rgba(13, 17, 23, 0.95);\n border-radius: 10px;\n padding: 1em;\n margin: 1em 2em 1em 0.5em;\n}\n\n.dark .markdown-body pre code {\n display: block;\n overflow: auto;\n white-space: pre;\n background-color: rgba(175,184,193,0.2);\n border-radius: 10px;\n padding: 1em;\n margin: 1em 2em 1em 0.5em;\n}": "/* Set the table margin to 1em, merge the borders between internal cells, and display empty cells. */\n.markdown-body table {\n margin: 1em 0;\n border-collapse: collapse;\n empty-cells: show;\n}\n\n/* Set the padding of table cells to 5px, the border thickness to 1.2px, and the color to --border-color-primary. */\n.markdown-body th, .markdown-body td {\n border: 1.2px solid var(--border-color-primary);\n padding: 5px;\n}\n\n/* Set the background color of the table header to rgba(175,184,193,0.2), with transparency of 0.2. */\n.markdown-body thead {\n background-color: rgba(175,184,193,0.2);\n}\n\n/* Set the padding of the table header cells to 0.5em and 0.2em. */\n.markdown-body thead th {\n padding: .5em .2em;\n}\n\n/* Remove the default spacing of the list prefix to align with the text line. */\n.markdown-body ol, .markdown-body ul {\n padding-inline-start: 2em !important;\n}\n\n/* Set the style of the chat bubble, including rounded corners, maximum width, and shadows. */\n[class *= \"message\"] {\n border-radius: var(--radius-xl) !important;\n /* padding: var(--spacing-xl) !important; */\n /* font-size: var(--text-md) !important; */\n /* line-height: var(--line-md) !important; */\n /* min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */\n /* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */\n}\n[data-testid = \"bot\"] {\n max-width: 95%;\n /* width: auto !important; */\n border-bottom-left-radius: 0 !important;\n}\n[data-testid = \"user\"] {\n max-width: 100%;\n /* width: auto !important; */\n border-bottom-right-radius: 0 !important;\n}\n\n/* Set the background of inline code to light gray, and set the rounded corners and spacing. */\n.markdown-body code {\n display: inline;\n white-space: break-spaces;\n border-radius: 6px;\n margin: 0 2px 0 2px;\n padding: .2em .4em .1em .4em;\n background-color: rgba(13, 17, 23, 0.95);\n color: #c9d1d9;\n}\n\n.dark .markdown-body code {\n display: inline;\n white-space: break-spaces;\n border-radius: 6px;\n margin: 0 2px 0 2px;\n padding: .2em .4em .1em .4em;\n background-color: rgba(175,184,193,0.2);\n}\n\n/* Set the style of the code block, including background color, padding, margin, and rounded corners. */\n.markdown-body pre code {\n display: block;\n overflow: auto;\n white-space: pre;\n background-color: rgba(13, 17, 23, 0.95);\n border-radius: 10px;\n padding: 1em;\n margin: 1em 2em 1em 0.5em;\n}\n\n.dark .markdown-body pre code {\n display: block;\n overflow: auto;\n white-space: pre;\n background-color: rgba(175,184,193,0.2);\n border-radius: 10px;\n padding: 1em;\n margin: 1em 2em 1em 0.5em;\n}", - "========================================================================\n第一部分\n函数插件输入输出接驳区\n - ChatBotWithCookies: 带Cookies的Chatbot类,为实现更多强大的功能做基础\n - ArgsGeneralWrapper: 装饰器函数,用于重组输入参数,改变输入参数的顺序与结构\n - update_ui: 刷新界面用 yield from update_ui(chatbot, history)\n - CatchException: 将插件中出的所有问题显示在界面上\n - HotReload: 实现插件的热更新\n - trimmed_format_exc: 打印traceback,为了安全而隐藏绝对地址\n========================================================================": "========================================================================\nPart 1\nFunction plugin input/output interface\n - ChatBotWithCookies: Chatbot class with cookies, as the basis for implementing more powerful functions\n - ArgsGeneralWrapper: Decorator function used to restructure input parameters and change the order and structure of input parameters\n - update_ui: Refresh the interface using yield from update_ui(chatbot, history)\n - CatchException: Encapsulate all problems in the plugin into a generator and return them, and display them in the chat\n - HotReload: Implement hot update of plugins\n - trimmed_format_exc: Print traceback, hide absolute addresses for security\n========================================================================", - "装饰器函数,用于重组输入参数,改变输入参数的顺序与结构。": "Decorator function used to restructure input parameters and change the order and structure of input parameters.", - "正常": "Normal", - "刷新用户界面": "Refresh user interface", - "在传递chatbot的过程中不要将其丢弃。必要时,可用clear将其清空,然后用for+append循环重新赋值。": "Do not discard chatbot when passing it. If necessary, it can be cleared and then reassigned using for+append loop.", - "装饰器函数,捕捉函数f中的异常并封装到一个生成器中返回,并显示到聊天当中。": "Decorator function that catches exceptions in function f and encapsulates them in a generator to return, and displays them in the chat.", - "插件调度异常": "Plugin scheduling exception", - "异常原因": "Exception reason", - "实验性函数调用出错:": "Experimental function call error:", - "当前代理可用性:": "Current agent availability:", - "异常": "Exception", - "HotReload的装饰器函数,用于实现Python函数插件的热更新。\n 函数热更新是指在不停止程序运行的情况下,更新函数代码,从而达到实时更新功能。\n 在装饰器内部,使用wraps(f)来保留函数的元信息,并定义了一个名为decorated的内部函数。\n 内部函数通过使用importlib模块的reload函数和inspect模块的getmodule函数来重新加载并获取函数模块,\n 然后通过getattr函数获取函数名,并在新模块中重新加载函数。\n 最后,使用yield from语句返回重新加载过的函数,并在被装饰的函数上执行。\n 最终,装饰器函数返回内部函数。这个内部函数可以将函数的原始定义更新为最新版本,并执行函数的新版本。": "HotReload decorator function used to implement Python function plugin hot updates.\\n Function hot update refers to updating function code without stopping program execution, achieving real-time update function.\\n Inside the decorator, use wraps(f) to preserve the function's metadata and define an internal function named decorated.\\n The internal function reloads and retrieves the function module by using the reload function of the importlib module and the getmodule function of the inspect module,\\n then uses the getattr function to retrieve the function name and reloads the function in the new module.\\n Finally, use the yield from statement to return the reloaded function and execute it on the decorated function.\\n Finally, the decorator function returns the internal function. This internal function can update the original definition of the function to the latest version and execute the new version of the function.", - "========================================================================\n第二部分\n其他小工具:\n - write_results_to_file: 将结果写入markdown文件中\n - regular_txt_to_markdown: 将普通文本转换为Markdown格式的文本。\n - report_execption: 向chatbot中添加简单的意外错误信息\n - text_divide_paragraph: 将文本按照段落分隔符分割开,生成带有段落标签的HTML代码。\n - markdown_convertion: 用多种方式组合,将markdown转化为好看的html\n - format_io: 接管gradio默认的markdown处理方式\n - on_file_uploaded: 处理文件的上传(自动解压)\n - on_report_generated: 将生成的报告自动投射到文件上传区\n - clip_history: 当历史上下文过长时,自动截断\n - get_conf: 获取设置\n - select_api_key: 根据当前的模型类别,抽取可用的api-key\n========================================================================": "========================================================================\\nPart 2\\nOther small tools:\\n - write_results_to_file: Write results to markdown file\\n - regular_txt_to_markdown: Convert plain text to markdown format text.\\n - report_execption: Add simple unexpected error information to chatbot\\n - text_divide_paragraph: Divide text into paragraphs according to paragraph separators, and generate HTML code with paragraph tags.\\n - markdown_convertion: Combine in multiple ways to convert markdown to beautiful html\\n - format_io: Take over gradio's default markdown processing method\\n - on_file_uploaded: Handle file uploads (automatic decompression)\\n - on_report_generated: Automatically project the generated report to the file upload area\\n - clip_history: Automatically truncate when the history context is too long\\n - get_conf: Get settings\\n - select_api_key: Extract available api-key based on the current model category\\n========================================================================", - "* 此函数未来将被弃用": "* This function will be deprecated in the future", - "不详": "Unknown", - "将对话记录history以Markdown格式写入文件中。如果没有指定文件名,则使用当前时间生成文件名。": "Write the conversation record history to a file in Markdown format. If no file name is specified, a file name is generated based on the current time.", - "chatGPT分析报告": "chatGPT analysis report", - "# chatGPT 分析报告": "# chatGPT Analysis Report", - "以上材料已经被写入": "The above materials have been written", - "将普通文本转换为Markdown格式的文本。": "Convert plain text to markdown format text.", - "向chatbot中添加错误信息": "Add error information to chatbot", - "将文本按照段落分隔符分割开,生成带有段落标签的HTML代码。": "Divide text into paragraphs according to paragraph separators and generate HTML code with paragraph tags.", - "将Markdown格式的文本转换为HTML格式。如果包含数学公式,则先将公式转换为HTML格式。": "Convert Markdown format text to HTML format. If it contains mathematical formulas, convert the formulas to HTML format first.", - "解决一个mdx_math的bug(单$包裹begin命令时多余