dede做购物网站南宁网站制作公
- 作者: 多梦笔记
- 时间: 2026年02月16日 10:14
当前位置: 首页 > news >正文
dede做购物网站,南宁网站制作公,百度搜索排名查询,0453牡丹江信息网息网最近在极客时间学习《AI 大模型应用开发实战营》#xff0c;自己一边跟着学一边开发了一个进阶版本的 OpenAI-Translator#xff0c;在这里简单记录下开发过程和心得体会#xff0c;供有兴趣的同学参考 功能概览 通过openai的chat API#xff0c;实现一个pdf翻译器实现一个…最近在极客时间学习《AI 大模型应用开发实战营》自己一边跟着学一边开发了一个进阶版本的 OpenAI-Translator在这里简单记录下开发过程和心得体会供有兴趣的同学参考 功能概览 通过openai的chat API实现一个pdf翻译器实现一个web GUI可以上传pdf文件然后翻译成目标语言的pdf文件实现了一个openai的pluginpdf翻译器 系统概述 #mermaid-svg-IPuu9IUBACFaHS4M {font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-IPuu9IUBACFaHS4M .error-icon{fill:#552222;}#mermaid-svg-IPuu9IUBACFaHS4M .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-IPuu9IUBACFaHS4M .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-IPuu9IUBACFaHS4M .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-IPuu9IUBACFaHS4M .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-IPuu9IUBACFaHS4M .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-IPuu9IUBACFaHS4M .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-IPuu9IUBACFaHS4M .marker{fill:#333333;stroke:#333333;}#mermaid-svg-IPuu9IUBACFaHS4M .marker.cross{stroke:#333333;}#mermaid-svg-IPuu9IUBACFaHS4M svg{font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-IPuu9IUBACFaHS4M .label{font-family:“trebuchet ms”,verdana,arial,sans-serif;color:#333;}#mermaid-svg-IPuu9IUBACFaHS4M .cluster-label text{fill:#333;}#mermaid-svg-IPuu9IUBACFaHS4M .cluster-label span{color:#333;}#mermaid-svg-IPuu9IUBACFaHS4M .label text,#mermaid-svg-IPuu9IUBACFaHS4M span{fill:#333;color:#333;}#mermaid-svg-IPuu9IUBACFaHS4M .node rect,#mermaid-svg-IPuu9IUBACFaHS4M .node circle,#mermaid-svg-IPuu9IUBACFaHS4M .node ellipse,#mermaid-svg-IPuu9IUBACFaHS4M .node polygon,#mermaid-svg-IPuu9IUBACFaHS4M .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-IPuu9IUBACFaHS4M .node .label{text-align:center;}#mermaid-svg-IPuu9IUBACFaHS4M .node.clickable{cursor:pointer;}#mermaid-svg-IPuu9IUBACFaHS4M .arrowheadPath{fill:#333333;}#mermaid-svg-IPuu9IUBACFaHS4M .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-IPuu9IUBACFaHS4M .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-IPuu9IUBACFaHS4M .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-IPuu9IUBACFaHS4M .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-IPuu9IUBACFaHS4M .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-IPuu9IUBACFaHS4M .cluster text{fill:#333;}#mermaid-svg-IPuu9IUBACFaHS4M .cluster span{color:#333;}#mermaid-svg-IPuu9IUBACFaHS4M div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-IPuu9IUBACFaHS4M :root{–mermaid-font-family:“trebuchet ms”,verdana,arial,sans-serif;} PDF Translator Load Prompt Response Save Parsed Content Model PDF Parser Writer PDF File ChatGPT Translated PDF File PDF Parser 通过pdfminer.six库解析pdf文件得到pdf的内容通过解析pdf的内容得到pdf的图片表格文本等内容 Model 通过prompt的方式把pdf的内容转化为目标语言 Writer 把翻译后的内容写入到pdf 或者markdown文件中 Prompt 优化过程 第一次尝试 为了支持其他语言的翻译在prompt里把目标语言设置为变量 {target_language} [{role: system,content: For the input text, translate it into {target_language} as native speaker
},
{role: user,content: “Santiago,” the boy said.\n
}]问题 表格格式没有保留翻译不准确表现是没有把user 的content内容翻译成目标语言 优化Prompt里system的描述 增加格式化输出的描述 output each of these data in json format方便代码后续解析增加prompt让模型知道需要翻译的内容所属语言是什么 Identify the language of input text [{role: system,content: From the input text, output each of these data in json format:\n\n1. (language) Identify the language of input text \n2. (translation) Translate to Chinese as a native speaker and keep the original character format of the text unchanged\n3. (translation_language) The language translated from the input text
},
{role: user,content: “Santiago,” the boy said.\n
} ]问题 偶尔翻译不准确表现是没有把user 的content内容翻译成目标语言 再次优化Prompt增加黑魔法think step by step 翻译text的prompt [{role: system,content: fYou act as a language expert, do a language translation job, here are the steps:\n\nf1. (language) Identify the language of input text \nf2. (translation) Translate the input text to {target_language} as a native speaker \nf3. (output) output the language and translation in json format\n},{role: user,content: f“Santiago,” the boy said.\n}]翻译table的prompt 加注保持表格的原有格式与标点符号 format and maintain spacing (spaces, separators), and return in tabular form [{role: system,content: fFrom the input text, do a language translation job, here are the steps:\n\nf1. (language) Identify the language of input text \nf2. (translation) Translate the input text to {target_language} as a native speaker, format and maintain spacing (spaces, separators), and return in tabular form\nf3. (output) output the language and translation in json format},{role: user,content: f{table content}}]代码结构 重构content #mermaid-svg-b7DSd1MKhMbpdmJh {font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-b7DSd1MKhMbpdmJh .error-icon{fill:#552222;}#mermaid-svg-b7DSd1MKhMbpdmJh .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-b7DSd1MKhMbpdmJh .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-b7DSd1MKhMbpdmJh .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-b7DSd1MKhMbpdmJh .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-b7DSd1MKhMbpdmJh .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-b7DSd1MKhMbpdmJh .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-b7DSd1MKhMbpdmJh .marker{fill:#333333;stroke:#333333;}#mermaid-svg-b7DSd1MKhMbpdmJh .marker.cross{stroke:#333333;}#mermaid-svg-b7DSd1MKhMbpdmJh svg{font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-b7DSd1MKhMbpdmJh g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-b7DSd1MKhMbpdmJh g.classGroup text .title{font-weight:bolder;}#mermaid-svg-b7DSd1MKhMbpdmJh .nodeLabel,#mermaid-svg-b7DSd1MKhMbpdmJh .edgeLabel{color:#131300;}#mermaid-svg-b7DSd1MKhMbpdmJh .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-b7DSd1MKhMbpdmJh .label text{fill:#131300;}#mermaid-svg-b7DSd1MKhMbpdmJh .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-b7DSd1MKhMbpdmJh .classTitle{font-weight:bolder;}#mermaid-svg-b7DSd1MKhMbpdmJh .node rect,#mermaid-svg-b7DSd1MKhMbpdmJh .node circle,#mermaid-svg-b7DSd1MKhMbpdmJh .node ellipse,#mermaid-svg-b7DSd1MKhMbpdmJh .node polygon,#mermaid-svg-b7DSd1MKhMbpdmJh .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-b7DSd1MKhMbpdmJh .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-b7DSd1MKhMbpdmJh g.clickable{cursor:pointer;}#mermaid-svg-b7DSd1MKhMbpdmJh g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-b7DSd1MKhMbpdmJh g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-b7DSd1MKhMbpdmJh .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-b7DSd1MKhMbpdmJh .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-b7DSd1MKhMbpdmJh .dashed-line{stroke-dasharray:3;}#mermaid-svg-b7DSd1MKhMbpdmJh #compositionStart,#mermaid-svg-b7DSd1MKhMbpdmJh .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #compositionEnd,#mermaid-svg-b7DSd1MKhMbpdmJh .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #dependencyStart,#mermaid-svg-b7DSd1MKhMbpdmJh .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #dependencyStart,#mermaid-svg-b7DSd1MKhMbpdmJh .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #extensionStart,#mermaid-svg-b7DSd1MKhMbpdmJh .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #extensionEnd,#mermaid-svg-b7DSd1MKhMbpdmJh .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #aggregationStart,#mermaid-svg-b7DSd1MKhMbpdmJh .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh #aggregationEnd,#mermaid-svg-b7DSd1MKhMbpdmJh .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-b7DSd1MKhMbpdmJh .edgeTerminals{font-size:11px;}#mermaid-svg-b7DSd1MKhMbpdmJh :root{–mermaid-font-family:“trebuchet ms”,verdana,arial,sans-serif;} Content set_translation ImageContent set_translation TextContent set_translation 重构parser #mermaid-svg-YHQ5em28kBAuOTum {font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-YHQ5em28kBAuOTum .error-icon{fill:#552222;}#mermaid-svg-YHQ5em28kBAuOTum .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-YHQ5em28kBAuOTum .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-YHQ5em28kBAuOTum .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-YHQ5em28kBAuOTum .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-YHQ5em28kBAuOTum .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-YHQ5em28kBAuOTum .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-YHQ5em28kBAuOTum .marker{fill:#333333;stroke:#333333;}#mermaid-svg-YHQ5em28kBAuOTum .marker.cross{stroke:#333333;}#mermaid-svg-YHQ5em28kBAuOTum svg{font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-YHQ5em28kBAuOTum g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-YHQ5em28kBAuOTum g.classGroup text .title{font-weight:bolder;}#mermaid-svg-YHQ5em28kBAuOTum .nodeLabel,#mermaid-svg-YHQ5em28kBAuOTum .edgeLabel{color:#131300;}#mermaid-svg-YHQ5em28kBAuOTum .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-YHQ5em28kBAuOTum .label text{fill:#131300;}#mermaid-svg-YHQ5em28kBAuOTum .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-YHQ5em28kBAuOTum .classTitle{font-weight:bolder;}#mermaid-svg-YHQ5em28kBAuOTum .node rect,#mermaid-svg-YHQ5em28kBAuOTum .node circle,#mermaid-svg-YHQ5em28kBAuOTum .node ellipse,#mermaid-svg-YHQ5em28kBAuOTum .node polygon,#mermaid-svg-YHQ5em28kBAuOTum .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-YHQ5em28kBAuOTum .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-YHQ5em28kBAuOTum g.clickable{cursor:pointer;}#mermaid-svg-YHQ5em28kBAuOTum g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-YHQ5em28kBAuOTum g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-YHQ5em28kBAuOTum .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-YHQ5em28kBAuOTum .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-YHQ5em28kBAuOTum .dashed-line{stroke-dasharray:3;}#mermaid-svg-YHQ5em28kBAuOTum #compositionStart,#mermaid-svg-YHQ5em28kBAuOTum .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #compositionEnd,#mermaid-svg-YHQ5em28kBAuOTum .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #dependencyStart,#mermaid-svg-YHQ5em28kBAuOTum .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #dependencyStart,#mermaid-svg-YHQ5em28kBAuOTum .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #extensionStart,#mermaid-svg-YHQ5em28kBAuOTum .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #extensionEnd,#mermaid-svg-YHQ5em28kBAuOTum .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #aggregationStart,#mermaid-svg-YHQ5em28kBAuOTum .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum #aggregationEnd,#mermaid-svg-YHQ5em28kBAuOTum .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-YHQ5em28kBAuOTum .edgeTerminals{font-size:11px;}#mermaid-svg-YHQ5em28kBAuOTum :root{–mermaid-font-family:“trebuchet ms”,verdana,arial,sans-serif;} PageParser parse PageImageParser parse PageTableParser parse PageTextParser parse 重构writer #mermaid-svg-CGEfK98clzbNzmgp {font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-CGEfK98clzbNzmgp .error-icon{fill:#552222;}#mermaid-svg-CGEfK98clzbNzmgp .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-CGEfK98clzbNzmgp .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-CGEfK98clzbNzmgp .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-CGEfK98clzbNzmgp .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-CGEfK98clzbNzmgp .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-CGEfK98clzbNzmgp .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-CGEfK98clzbNzmgp .marker{fill:#333333;stroke:#333333;}#mermaid-svg-CGEfK98clzbNzmgp .marker.cross{stroke:#333333;}#mermaid-svg-CGEfK98clzbNzmgp svg{font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-CGEfK98clzbNzmgp g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:“trebuchet ms”,verdana,arial,sans-serif;font-size:10px;}#mermaid-svg-CGEfK98clzbNzmgp g.classGroup text .title{font-weight:bolder;}#mermaid-svg-CGEfK98clzbNzmgp .nodeLabel,#mermaid-svg-CGEfK98clzbNzmgp .edgeLabel{color:#131300;}#mermaid-svg-CGEfK98clzbNzmgp .edgeLabel .label rect{fill:#ECECFF;}#mermaid-svg-CGEfK98clzbNzmgp .label text{fill:#131300;}#mermaid-svg-CGEfK98clzbNzmgp .edgeLabel .label span{background:#ECECFF;}#mermaid-svg-CGEfK98clzbNzmgp .classTitle{font-weight:bolder;}#mermaid-svg-CGEfK98clzbNzmgp .node rect,#mermaid-svg-CGEfK98clzbNzmgp .node circle,#mermaid-svg-CGEfK98clzbNzmgp .node ellipse,#mermaid-svg-CGEfK98clzbNzmgp .node polygon,#mermaid-svg-CGEfK98clzbNzmgp .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-CGEfK98clzbNzmgp .divider{stroke:#9370DB;stroke:1;}#mermaid-svg-CGEfK98clzbNzmgp g.clickable{cursor:pointer;}#mermaid-svg-CGEfK98clzbNzmgp g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#mermaid-svg-CGEfK98clzbNzmgp g.classGroup line{stroke:#9370DB;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#mermaid-svg-CGEfK98clzbNzmgp .classLabel .label{fill:#9370DB;font-size:10px;}#mermaid-svg-CGEfK98clzbNzmgp .relation{stroke:#333333;stroke-width:1;fill:none;}#mermaid-svg-CGEfK98clzbNzmgp .dashed-line{stroke-dasharray:3;}#mermaid-svg-CGEfK98clzbNzmgp #compositionStart,#mermaid-svg-CGEfK98clzbNzmgp .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #compositionEnd,#mermaid-svg-CGEfK98clzbNzmgp .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #dependencyStart,#mermaid-svg-CGEfK98clzbNzmgp .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #dependencyStart,#mermaid-svg-CGEfK98clzbNzmgp .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #extensionStart,#mermaid-svg-CGEfK98clzbNzmgp .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #extensionEnd,#mermaid-svg-CGEfK98clzbNzmgp .extension{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #aggregationStart,#mermaid-svg-CGEfK98clzbNzmgp .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp #aggregationEnd,#mermaid-svg-CGEfK98clzbNzmgp .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#mermaid-svg-CGEfK98clzbNzmgp .edgeTerminals{font-size:11px;}#mermaid-svg-CGEfK98clzbNzmgp :root{–mermaid-font-family:“trebuchet ms”,verdana,arial,sans-serif;} Writer save PDFWriter save MarkdownWriter save PDF格式 为了保持PDF文档内容结构需要保留原文档的空格换行分隔符等分段策略 以空行为分段标志 翻译后的文档保持原文档的空格换行分隔符等示例老人与海的pdf文档 图形用户界面GUI 设计 设计以及代码由 gpt4 生成如下是使用的prompt 对一个翻译pdf功能的服务器设计一个GUI请用python实现一下请用 HTML、CSS 和 JavaScript 实现一个你上文提到的UI请增加这些功能显示文件上传和翻译进度、选择源语言和目标语言、处理文件上传大小的限制对于代码的错误交给gpt4让它来修复代码中的问题 详见 chatGPT shareWeb GUI效果图 plugin开发 openapi文档的生成通过gpt4生成 通过把路由代码交给gpt然后让它生成对应的openapi文档然后对应着plugin 官方文档修正下就可以了
openapi: 3.0.1info:title: PDF Translatordescription: A Plugin that allows the user to translate the PDF to any language they want.version: v1servers:- url: http://localhost:8080paths:/translate:post:operationId: translatePDFsummary: Translate the content of PDF file to target languageparameters:- content:multipart/form-data:schema:type: objectproperties:file:type: stringformat: binarydescription: The PDF file that should be translated todst_lang:type: stringdescription: The language and should be translated to, e.g. Chinese.responses:200:description: OKcontent:application/json:schema:$ref: #/components/schemas/translatePDF400:description: Bad Requestcontent:text/plain:schema:type: string500:description: Internal Server Errorcomponents:schemas:translatePDF:type: stringproperties:weather:type: stringformat: binarydescription: The content of PDF file that has been translated收获和总结 openai API的使用 chat API调用以及各个参数的含义openai playground的使用调试prompt很好用的工具prompt的使用以及优化这一点需要在实际的案例中加强训练熟悉了openai plugin开发步骤以及流程 Github Code
- 上一篇: dede做的网站怎样去换模版佛山制作手机网站
- 下一篇: Dell网站建设建议轻云服务器 多个网站
相关文章
-
dede做的网站怎样去换模版佛山制作手机网站
dede做的网站怎样去换模版佛山制作手机网站
- 站长
- 2026年02月16日
-
dede增加手机网站专业SEO教程网站
dede增加手机网站专业SEO教程网站
- 站长
- 2026年02月16日
-
dede移动端网站源码欧米伽官方网站手表价格
dede移动端网站源码欧米伽官方网站手表价格
- 站长
- 2026年02月16日
-
Dell网站建设建议轻云服务器 多个网站
Dell网站建设建议轻云服务器 多个网站
- 站长
- 2026年02月16日
-
delphi 可做网站吗企业建站设计
delphi 可做网站吗企业建站设计
- 站长
- 2026年02月16日
-
destoon 手机网站模板公司黄页企业名录在哪里查
destoon 手机网站模板公司黄页企业名录在哪里查
- 站长
- 2026年02月16日
