Achieving Bot Responses Using the Knowledge Base Format

Achieving Bot Responses Using the Knowledge Base Format

Hi. I have documents added to my bot’s knowledge base in JSON with this format:

{
  "title": "",
  "link": "",
  "description": ""
}

I want the responses to be based solely on those results and for the response format to be something like this:

“I found answers in title and title

GPTs are capable of achieving these results, but I don’t know how to do it with Pickaxe.

Thank you!

Hi there. It sounds like what you are trying to achieve is you want all your outputs to follow a very particular formatting convention. If you want all outputs from your chatbot to follow the JSON format, I suggest you add some instruction to your prompt to the following effect:

##OUTPUT FORMATTING##

  • Whenever referencing information from the Knowledge base, make sure to format all outputs as JSON objects with a title, link, and description section.