使用 chatgpt 写文章

相关引用

  1. 推荐标题

    • eg:

      • 提供关于智能实验机器人话题的博客标题列表
  2. 推荐提纲

    • eg:

      • 关于标题“智能实验机器人话题的博客标题列表”的文章提纲
  3. 推荐内容编写

    • eg:

      • 撰写关于提纲”介绍智能实验机器人的概念和作用“的内容,在 100 字以内

ChatML

在 chatgpt prompt 中使用 变量的方法

You can use the format {variable_name} inside the chat prompt to insert the value of a variable that has been previously set in the conversation. Here's an example:

``` md
User: set name to John
Chatbot: Okay, I'll remember your name is {name}. How can I assist you today?
User: What is my name?
```

Chatbot: Your name is John. How can I assist you further?
In this example, the chatbot remembers the value of the name variable and uses it later in the conversation by inserting {name} in the chat prompt. You can set variables and retrieve their values using the ChatGPT API.