https://discord.gg/botpress logo
Try to sort it in a FAQ structure or
# 🌎general
r
Try to sort it in a FAQ structure or play with the chunks in your knowledge agent, since GPT4 mini answers are much better
a
Ill give you an example
i provided my bot with a school bell schedule
on regular days the school ends at 13:50
on Tuesdays the school day ends at 12:30 since its a short day
lets say i ask the bot - what time does my son at grade 1 finish school today
it will provide me with the correct answer Okay great
lets say then i asked " what about 2 days ago then"
it gets confused and tells me he finish at 11:50 which is the start of the last class of the day but not the actual end of the day
r
I have not used the autonomous node yet so i can't help you with that but try to change to GPT instead of claude for now
a
i have layed out the schedule system evertremely clearly on table, on a pdf and now on raw text and it keeps messing up
i have a question without the autonomous node - how would you set the bot up to have converstation memeory and knowledge. because i want to do that with a standard node and it just keeps breaking
Also i have tried gpt its not any better honeslty
w
Of course. - to enable conversation memory, the [Summary Agent](https://botpress.com/docs/summary-agent) needs to be active - You can still use [AI cards](https://botpress.com/docs/ai) even in a standard node
a
so summary agent is broken with claude for somereason
w
I'd recommend starting with GPT4o-mini, considering the cost and benefits.
Then, when it works, you can consider other models.
a
so i made an Api call that will get teh current time before anything else tell the bot about it
it still provides me with incorrect knowledge base answers
im actually so confused at this point
i ask it when the students finish today... it says 1pm
they finish at 2:50pm
w
Probably, to get the current time, it's sufficient to have an execution node that saves it in a workflow.now variable
a
yes thats exactly what i did - it gets the day and exact time
it then transitions to my autonomous bot, i ask it when does school end today it gives me the incorrect information - which im soo confused how it soo incorrect
even the chunks for the pdf look pretty clean
yeah idk at this point
tuesday in my knowledge base is very clear that its a short day and the timings are different
w
Clicking on 'Inspect' should allow you to see how the node creates a query to the table
a
i did that and it thinks very.. linear it doesnt think logically
you know
cuz me asking it what about 2 days ago has suddenly come a trick question
it figures out that 2 days ago is tuesday - determines, but ignore the logical answer and provide with an instant answer without asking the user questions..
b
can you use variables in prompts? you could add a “today is: {date}” in the main instructions prompt, so the bot knows what day it is
ah never mind that was already suggested
a
omg i finally somehow made him answer a correct answer
b
what you change?
a
i really hope its not a fluke
i gave my knowledge base card its own instructions
where it says optional
b
aha
hmm
it just chokes
and stops
nvm its seems like a fluke were back to incorrect answers
thats intreseting though in the second answer it didnt ask for the assistent help. which is probably why it porivded me with an incorrect answer...