With ChatGPT you can leverage the chat history as additional context. Therefore, if you want to ask follow-up or additional questions you have to find a way to embed it into the context of a prompt. Generally, when working with GPT-3 models the prompts and responses are one-off. One of the things you’ll notice is that the responses and interactions with the model are guided not only by the user messages, but also by the initial system message. The responses generated by the model are on the left and these have the assistant role. The messages on the right are the messages I compose. The following screenshot is what a sample chat with a ChatGPT powered digital hiking assistant might look like. You will also share an interesting fact about the local nature on the hikes when making a recommendation. You will then provide three suggestions for nearby hikes that vary in length after you get that information. What hiking intensity they are looking for.When helping people out, you always ask them for this information to inform the hiking recommendation you provide: You introduce yourself when first saying hello. You are a hiking enthusiast who helps people discover fun hikes in their area. A sample system message for a hiking assistant might look like the following: These are the initial set of guidelines for the model. Let’s say you want to use ChatGPT to identify and recommend hikes in your area. These are the tasks and queries you provide. Assistant: Messages containing the completions or responses generated by the model.It provides instructions on context the model can reference when generating a response, what it should and shouldn’t answer, and how to format responses. System: The system message provides the initial context and guidance for the model.Roles help ChatGPT add additional information in the context of a conversation. However, the two key components that distinguish ChatGPT from other GPT models are roles and chat history. In previous posts, we introduced the concepts of prompts and completions.įor the most part, the guidance in those articles is still applicable to ChatGPT. Extract key insights and ask questions about a document.Create a digital assistant (chatbot) to answer questions about your business.As opposed to traditional GPT-3 models, ChatGPT enables you to have multi-turn conversations with GPT models making it easier for you to ask follow-up questions.ĬhatGPT models can be used for the same types of tasks as other GPT models which include: The ChatGPT is a language model optimized for conversational interfaces. The focus of this post is on ChatGPT and how you can use OpenAI models in conversational interfaces using. If you’re new here, check out our first post where we introduce the series and show you how to get started using OpenAI in. Welcome back to this blog series on OpenAI and.
0 Comments
Leave a Reply. |