https://discord.gg/botpress logo
#🤝help
Pulling from knowledge base has gotten worse
# 🤝help
r

rapid-quill-81076

07/13/2023, 7:53 AM
Hello, I recently created a bot to pull some information from the knowledge base with some files I provided. When asking the bot some questions, it was able to perfectly answer them. As of today, the same bot is unable to answer the same questions? Is this an issue on my end or Botpress? Thanks
n

nice-fountain-96783

07/13/2023, 9:20 AM
hi Brendan i have the same problem, i think it is an issue of botpress
r

rapid-quill-81076

07/13/2023, 9:52 AM
Yeah, hopefully gets fixed
n

numerous-market-47540

07/13/2023, 10:06 AM
I can't get any answers from the knowledge base (KB) and the logs are telling me "Skipping KB agent because no KBs are enabled" which isn't true as the KB is enabled as an agent as well as enabled in the nodes. Frustrating.
f

faint-traffic-426

07/13/2023, 11:19 AM
It's the same for me... was pulling info from doc, now is not answering
s

stale-wire-6182

07/13/2023, 11:35 AM
I'm in the same boat
g

glamorous-quill-2988

07/13/2023, 11:39 AM
I have this problem too..url and txt seems working but not PDFs
r

rapid-quill-81076

07/13/2023, 1:08 PM
@rich-battery-69172
n

nice-fountain-96783

07/13/2023, 1:13 PM
not even txt works for me
r

rapid-quill-81076

07/14/2023, 5:14 AM
Seems to have started working again for me. But how can I be sure this will not continue to happen?
n

numerous-market-47540

07/14/2023, 6:02 AM
Right, and I was hoping for some clarifying words from a Mod or someone from the team addressing the issue
a

able-forest-32140

07/14/2023, 6:29 AM
for this reason, it's better to add a second layer of KB from another service
r

rapid-quill-81076

07/14/2023, 7:20 AM
But if the issue is to do with BotPress talking to OpenAI, it still wouldnt work right? Only if the issue is to do with the BotPress servers accessing the files?
b

bumpy-boots-2043

07/14/2023, 10:07 AM
I have been pasting my text as "text" directly rather than under documents as a workaround
n

numerous-market-47540

07/14/2023, 1:35 PM
Same here 😦
r

rich-battery-69172

07/14/2023, 1:37 PM
Do you guys get any error in the logs? Documents working fine atm (doesn’t seem to be an issue with the backend)
s

straight-wolf-37371

07/14/2023, 1:47 PM
For me, it seemed to be related to documents, PDF, HTML, etc. but not a problem when the text from those documents were directly copied and pasted as static text in the KB. No errors, just knowledge base unable to find the answer. I'll test today and see if I can provide an example
r

rich-battery-69172

07/14/2023, 1:47 PM
I see. How many documents do you have? do you have multiple KBs?
s

straight-wolf-37371

07/14/2023, 1:48 PM
I have multiple KBs organized in different folders. But i disabled all of them to test it.
It was pulling the doc in the KB saying that it searched it
But wouldn't pull an answer
Let me see if I can get you a specific example with screenshots
r

rich-battery-69172

07/14/2023, 1:50 PM
thanks!
s

straight-wolf-37371

07/14/2023, 1:51 PM
Np, might be a little bit. I'm technically "working from home" right now but I'll get back to you sometime this morning
r

rich-battery-69172

07/14/2023, 1:55 PM
@rapid-quill-81076 if you could also send me more info about when this happens (or even better, invite me to your workspace and send me the screenshots of this happening so I can replicate the issue)
r

rapid-quill-81076

07/14/2023, 2:38 PM
Sure, here is a screenshot of it not working and then working with the same question. My bots are just using the basic document template, I am happy to invite you, could you DM your email?

https://cdn.discordapp.com/attachments/1128957474905522218/1129421571560325211/image.png

s

straight-wolf-37371

07/14/2023, 2:38 PM
Here ya go. It seems its not even pulling from the text now: I ask the the following questions "How many cards are in my starting hand?" "Do some heroes require unique setup steps?" This is two pieces of info directly from the KB: "6. DECK Shuffle your cards to create a deck. Draw the top 4 cards from your deck. This is your starting hand." "8. ADDITIONAL SETUP Some heroes require unique setup steps. If applicable, these steps will be located on the back of your Hero Leaflet." It was unable to answer these questions although it searched the KB in the event debugger.

https://cdn.discordapp.com/attachments/1128957474905522218/1129421684403884082/image.png

https://cdn.discordapp.com/attachments/1128957474905522218/1129421684617785384/image.png

https://cdn.discordapp.com/attachments/1128957474905522218/1129421684823293962/image.png

https://cdn.discordapp.com/attachments/1128957474905522218/1129421685045612616/image.png

Last screenshot to show the proper KB was searched "Rules_Official_kb"

https://cdn.discordapp.com/attachments/1128957474905522218/1129422283988029593/image.png

n

numerous-market-47540

07/14/2023, 2:43 PM
Same effect on my side. KB is searched but no results found. Yesterday, same KB was searched with results.
b

bland-actor-38038

07/14/2023, 2:50 PM
Hi everyone. I was also having this issue yesterday and was told of a weird fix that did the job for me. If you navigate to the full chat window from your bot's dashboard it re-enables the KB somehow. Hope this helps someone.
w

wooden-controller-94602

07/14/2023, 2:56 PM
So website scraping for KB isn't a go ? Got the same problem.. Also got a client texting me about this
s

straight-wolf-37371

07/14/2023, 3:01 PM
Thanks for the advice! So just going to that? Do we need to speak to it in there or anything
@rich-battery-69172 More info for you that could helpful. It looks like it thinks all of my KBs are disabled. Although from previous screenshots above they aren't.

https://cdn.discordapp.com/attachments/1128957474905522218/1129428414273699901/image.png

f

freezing-carpenter-9818

07/14/2023, 3:20 PM
i am getting zero answers from my KB
h

hallowed-football-1829

07/14/2023, 3:36 PM
Hopefully its just a bug that'll get fixed
f

freezing-carpenter-9818

07/14/2023, 3:36 PM
hope so, its been like this since last night
h

hallowed-football-1829

07/14/2023, 3:37 PM
Have you been able to figure out how to use the translation agent to allow your bot to automatically pick up on the language your user is using? I just watched the video on it and tried it and it's not working out. Maybe similar issues to knowledge base
f

freezing-carpenter-9818

07/14/2023, 3:40 PM
no i haven't used the translate bot, i haven't had a use case for it yet, but probably, i have been having trouble with the personality agent too, seem a lot of issues are happening. I got added to the beta for triggers last night, could it be something to do with that?
h

hallowed-football-1829

07/14/2023, 3:43 PM
At this moment it seems the knowledge is working again. Try it.
Also, if I turn the translator on and ask it to speak Spanish for example, it works, but doesn't pick up automatically if I start the convo in Spanish
f

freezing-carpenter-9818

07/14/2023, 3:45 PM
yes i JUST got an answer back from kb
h

hallowed-football-1829

07/14/2023, 3:50 PM
Niceee
f

freezing-carpenter-9818

07/14/2023, 3:56 PM
i am getting tonnes of other issues
would be good to know if the team is working on something
h

hallowed-football-1829

07/14/2023, 4:02 PM
What else?
r

rich-battery-69172

07/14/2023, 4:03 PM
just an update here: i am working with @rapid-quill-81076 and I could replicate the issue
will keep you posted
f

freezing-carpenter-9818

07/14/2023, 4:03 PM
thank you for the update!
out of curiosty whats the easiest way to set up tramnslation just want to give it a quick go before i go home and drown my sorrows
r

rich-battery-69172

07/14/2023, 4:04 PM
OK we found it. We've reached OpenAI's rate limit per company.. We will work with OpenAI to get this raised ASAP and will use different accounts + retries in the meantime
f

freezing-carpenter-9818

07/14/2023, 4:05 PM
oh damn, yes i know that there pricing plan grows as the api requests grow, means botpress is growing!
Thanks! Aiming the pitch forks towards open AI now
r

rapid-quill-81076

07/14/2023, 4:08 PM
Ah okay, thanks for the quick replies, hopefully an easy fix.
h

hallowed-football-1829

07/14/2023, 4:12 PM
lol What I did was go into agents on the left side menu and just turn on translation agent. I'm sure there is a more technical and precise way to do this but this is just what I'm playing with. And then I'll ask the bot "can you speak ot me in spanish" and it changes to spanish for me
f

freezing-carpenter-9818

07/14/2023, 4:15 PM
ah i see, yes that was easy, wonder if there is away to have a dropdown to select a language before you start the conversation
h

hallowed-football-1829

07/14/2023, 4:16 PM
I believe there is a way. I watched the video on Youtube but it was blurry and couldn't really see what they were doing. From what I understand you can either select languages or have it learn to respond automatically to whatever language the user uses when talking to it.
f

freezing-carpenter-9818

07/14/2023, 4:16 PM
i guess you could just start it by using a capture card and asking: what language would you like me to speak.
h

hallowed-football-1829

07/14/2023, 4:17 PM
Im guessing you could, my question would be what if the user for example strictly speaks Chinese and can't understand the question in english with the choices lol
f

freezing-carpenter-9818

07/14/2023, 4:18 PM
hahaha oh yeah i didnt think of that!!
w

worried-country-90417

07/14/2023, 4:18 PM
In how much time would this knowledgebase problem be fixed? I have a client waiting for their chatbot deployment date
r

rich-battery-69172

07/14/2023, 4:20 PM
we have a fix coming in a few minutes
f

freezing-carpenter-9818

07/14/2023, 4:22 PM
In defence of botpress this is a huge problem with openAI payment structure, they basically set a spend limit based on your usage over time. Therefore if you suddenly start growing as company openai then adjust your limit, but there is a delay in that
r

rich-battery-69172

07/14/2023, 4:23 PM
Yeah it's a pain, we have to constantly request higher limits as we grow. We have multiple accounts we can add to counter this problem short-term while they approve our increase requests.
f

freezing-carpenter-9818

07/14/2023, 4:29 PM
dont sweat it, at least a solution was found to the issue, nothing worse than having an issue and not knowing what it is!
w

worried-country-90417

07/14/2023, 4:37 PM
Damn that's quick, thank you
h

hallowed-football-1829

07/14/2023, 4:54 PM
Does anyone find it better to use mostly "raw inputs" to let users navigate to where they want to go rather than usuing multiple choice options?
h

hallowed-waiter-46283

07/14/2023, 7:01 PM
Nooooooo I have the same problem
Hope it gets fixed quick
f

fresh-article-37001

07/14/2023, 7:32 PM
It's still not fixed right?
I think it has something to do with the question not being inputted in the prompt
c

cool-gold-3015

07/14/2023, 7:39 PM
Not been fixed yet,can you give us an ETA please
A lot of people here depend on you fixing thistonight, can we have an eta please
r

rich-battery-69172

07/15/2023, 2:27 PM
@cool-gold-3015 it was fixed
2 Views