Study buddy api ai chatbot for my website is it po...
# 🤝help
t
Hello guys, I am planning a small project as a capstone for myself. I've skimmed thru the documentation for developers and a little bit on the studio. Is it possible to create a study bot ai chatbot where the student not the creator of the study ai chatbot to upload documents and assist the bot with the students interest or subject matters. So far I've only seen the template already presented in the botpress website, however as I've said I'd like to give freedom to the student to upload their documents for the bot to analyze. Btw I'd like to do custom integration to my own built website. Thanks
f
Hey there, It is 100% possible, but it would require some technical skills.
t
okay thanks for the response
f
I can give you a brief idea of how it can be done, if you want?
t
yeah that would be nice
thanks
f
Alrighty so a quick version would be to use the new files api https://botpress.com/docs/api-documentation/#files You would add something in your webchat so that the user could upload a file. You would add this file to your KB. The user could then ask a question, and you chatbot could query this file in your KB and answer questions about it.
The files API is on my to do list, and its hopefully not going to be long before I can start to play around with it. When I do I can help you a bit more. If you create a good solution with this let me know, would love to get a little head start on my own project.
t
Okay thanks a lot
I just learned that webchat is a prebuilt integration, do you have any resources where it points out some of what can be done with it?
Btw i am still studying the docs I am kinda slow and new to programming so I think you'll be able to go pass my current progress
f
Most of the bots in #1120796649686573086 are build on the webchat. There's also a lot of tutorials in #1132038253109837994 that are using the Webchat
t
okay thanks a lot!
f
You are very welcome
t
I'd like to ask as well, what's the botpress client which uses the javascript or typescript for api?
And the api of botpress can you give me a bit of information about it. Is it used alongside webchat integration and the bot created in the studio?
sorry I am a bit clueless how I would integrate the api of botpress with the studio, and webchat integration. Just a brief overview would help to get the big picture
I think I will try to figure it out on my own first, but just to let you know what I understand. The webchat integration allows interaction with the bot and I have to setup my bot in the studio. Api calls from the botpress api are additional data I could get from the calls?
f
You can use the client directly inside the Botpress studio in an execute code card.
What additional data would you like from the calls?
t
I've seen the documentation and saw several pieces of data that can be obtained. Can I use the api in the webchat integration?
f
Yea. You can use it in an execute code card with Axios, but then you might as well just use the client
t
Okay thanks again for everything! that's all I need to know to start
and for your patience thanks
f
You are very welcome!
5 Views