The translation for the “Aditional Context” is: The Source Table contains the event schedule and its columns hold the event information, such as: name, description, event type, location, as well as times, days of the week, and dates on which these events will be held. It also indicates whether the event is free and/or for children.
The output should be ordered by the event start date and formatted as follows:
Event Name , should be in bold
Location: Event Location
Type: Event Type
Date(s): Dates in DD/MM/YY format
️ Time: Only the session time*
The output should only include events with dates after today.
Yes. See that the dates are wrong because these are past events and, in this case, they didn’t trunced but show only two events but thera are much more.
I think that feature is not suited for data aggregation. They are likely to reference only X most related rows from your table, not the whole set, and then you face hallucinations like you have here.
One way to do it could be to add a JSON template column in your data table and fill in the fields for the search.
Then from the user profile (or a one row table) add a joined list column and target the JSON template.
Finally use the joined list in a regular open AI request instead of the Answer a question about a table one.
Of course there’s a limit to how much data you can send. If your flow permits maybe you could add some custom filters to limit the number of rows in your joined list/ prompt
Yup, this is what I meant when I say “ingest the whole table”. That’s what I do for a recent app as well when “Answer question about a table” doesn’t work.
The alternative is perhaps training your own GPT, if you have the right structure for it. They are offering 1 million free tokens per day.
I solved the problem of truncated text! If you don’t put anything in “Maximum Lenght”, they assume 255 tokens (I guess). So, the answer truncee. I put 2.000 and works perfectly.