admin 管理员组

文章数量: 1184232

题意:使用 OpenAI 的链式思维提示查询订单列表时提供了错误答案。

问题背景:

I'm new to prompt engineering. I'm trying to create an AI bot to retrieve the order data based on the user's queries using OpenAI and gpt-3.5-turbo model. Below is the Python code that also contains the prompt:

我对提示工程还很陌生。 我正在尝试创建一个 AI 机器人,以便根据用户的查询使用 OpenAI 和 gpt-3.5-turbo 模型来检索订单数据。以下是包含提示的 Python 代码:

from openai import OpenAI
import os
os.environ["OPENAI_API_KEY"] = "sk-*****************************************"

client = OpenAI()
prompt = """
You are a helpful AI bot who can answer queries on orders that were processed by a logistics company. Use the orders list under the header "Order list:" to answer the question under header "Question:". Pl

本文标签: OpenAI Query Prompt chain thought