加工任务-新建/编辑

更新时间:2024年4月9日 23:45 浏览:410

新建加工任务界面:

process-edit.jpg

便用了 OpenAI 2023年3月份最新发布 Chat Completions 接口,模型:gpt-3.5-turbo

素村处理方法说明:

取用素材 - 直接使用素材里的内容

AI 处理 - 将调用 OpenAI 接口生成内容

 

关于系统提示语 和 用户提示语

系统提示语 可以理解成 上帝视角 给 ChatGPT 一些预提示

用户提示语 为要生成内容的主提示语

 

Chat Completions  接口中关于 系统提示语和用户提示语的格式如下

[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Who won the world series in 2020?"},
    {"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."},
    {"role": "user", "content": "Where was it played?"}
]

 

 

 

导航