Loading...

We're setting up your new app...

Template

OpenAi Convo - 2

How to include "Starters" into the prompt you're sending to OpenAi

Industry: n/a
Function:
The purpose of this app is to demonstrate how to expand your OpenAi conversation app, to include dynamic "Starters." Starters can be throught of as a "Header" to the prompt you're sending to OpenAi - They contain a set of instructions that the Ai will follow - These instructions establish the "guardrails" that keep the Ai from going off topic - They can be as short as you wish, or as long and detailed as you want
Loading...

How we built this app

This version of the app brings in a new table: Starters Inside the Messages table, we've also included a way for you to select the starter you wish to use. - This also necessitated that we update the prompt preview (shown inside the form before you save your message) - We also had to modify the Prompt parameter being sent to the Ai, to include this new set of information. To help differentiate the information from the {THREAD HISTORY} and this new data, we've included a new header: {INSTRUCTIONS} - This token-type of word (being encapsulated in curly brackets) really helps differentiate one group of info from another.
This is a preview of the data sets used in the app.

Data

This is a high-level model of both the data entities and the UI elements in the app.
Loading...
Start for free