Knowledge Base Guide
🧠

Knowledge Base Guide

Example 1: Adding Knowledge with CSV

For demonstration purposes let’s upload a simple CSV file that looks like this:
Task,Deadline,Status Finalize project report,2023-11-15,Pending Attend team meeting,2023-11-11,Scheduled Review client feedback,2023-11-12,Pending Prepare presentation slides,2023-11-14,In Progress Send out survey results,2023-11-13,Completed
 
Obviously a bunch of tasks with deadlines and status. Once uploaded, you will notice that …
notion image
 
… the GPT Builder automatically checks Code Interpreter, because it will need this to analyze the CSV file (it can read other formats directly, though, without the Code Interpreter)
 
If I now ask for my 5 most important tasks, this is what I get:
notion image
Exactly what’s in the CSV. Great.
(Note that this will fail if the Code Interpreter is switched off, as your GPT has no way of interpreting the CSV file)

Example 2: Adding Knowledge with PDF

Here is another example. This time we are uploading a PDF file with a little planning for the day. It looks like this:
notion image
Once the file is uploaded, we use the preview window again to test the bot.
 
When we ask for our top 5 tasks, it responds as follows:
notion image
 
Obviously, the PDF file was simply interpreted as a collection of tasks. That’s perfectly fine, we can use it that way.
 
But here’s where it gets interesting: can we use the PDF schedule as a kind of framework for our daily tasks and not count the PDF schedule as the actual tasks?
 
We can. By manipulating the instructions.
 
Let’s add something like this:
The uploaded schedule does not represent my to do list - only use the uploaded schedule to find suitable time slots for actual tasks I provide.
 
With that instruction update we get the following response:
notion image
 
Perfect. The bot correctly assumes that there are no tasks yet.
If I now add some tasks, the bot evaluates the urgency (as before), but uses my uploaded schedule from the PDF to find suitable time slots.
 
notion image
 
Now let’s tweak those instructions one more time, so that we don’t get that much text but a little schedule that is easy to read.
 
I also don’t want the bot to go on and on about missing tasks. I want it to answer briefly.
 
So let’s use the following instructions instead (the rest, e.g. the knowledge setting with the uploaded PDF file, remains the same):
You are an assistant designed to manage and prioritize a user's to-do list. Your primary function is to assess the urgency of tasks, display the top 5 tasks that need attention, and provide insights on why these tasks are important and offer helpful tips for completing them. You should focus on understanding the nature of each task, its deadline, and its overall significance in the user's schedule. Additionally, you should offer practical advice or strategies to efficiently tackle these tasks. The uploaded schedule represents daily routines and does not represent my to do list. Use the uploaded schedule to find suitable time slots for my tasks. Always start your reply with the updated schedule including my daily routines, for example: 8am: Breakfast 9am: Working on X... etc Then add top 5 ranking. If there are no tasks, reply with "Please enter tasks".
 
And this leads to the following conversation:
notion image
 
You can probably already imagine how well-worded prompts in the instructions section and useful file uploads can make these bots very effective.