Looking for some help on formatting a prompt for open AI.
The prompt needs to include a list of Topics (data type) from the database. Each Topic has a Title and a Description and should appear like this in the prompt…
Title 1
Description 1
Title 2
Description 2
Title 3
Description 3
Etc.
I’m doing a search to retrieve each topic. Is there a way to join the topic Title & Description as per the example above?
“Format as text” is definitely the way to go. But just to make sure, are you using it to output"This mention’s Title" and “This mention’s description” for each element of the list or are you doing something else?
The screenshot only has the description, but you can put both inside the “Format as text” to output both in one simple step.