Can a bot be trained on a Github Repo?
# šŸ¤help
t
I am looking to train my botpress bot on a github repo of mine. If it's possible, Can someone guide me how can I do that?. Thanks.
f
Interesting I hadn’t thought of trying. Maybe in the knowledge base put the link to the GitHub repo, and then ask it about some code in a specific file to see if it has the answer
t
It doesn't accept the link to github domains
f
If not you may have to save all the files as .txt files and then upload the files to the knowledge base for it to answer questions from it.
Ahhh I see
Interesting
Yeah I would try that method
Let me know if it works, I am curious
t
Thanks, but this will be tedious job since in my case I have a react project and have about 20 components there, so creating a txt file for each would be inefficient, wdyt?
f
I think for right now there may be some inefficiencies with what you are trying to do until the team adds that feature to take GitHub links. The only way I can think of it is to download the files and save as .txt files to upload
They will probably add the functionality soon. Devs are shipping often
Maybe there’s a feature a team member knows about that can help, sorry I didn’t have a better answer!
t
Will definitely try this, thanks a lot
3 Views