What it does
KB Bot is a bot service in which users can give their webpage or upload their files and it will automatically build a bot over that knowledge.
There are 2 parts to it,
The core python library which I have published (https://pypi.org/project/kb-bot.core/). This can be used both to create the knowledge base and chat with the bot as well.
The user can either use the WebScraper to scrape their webpages or FileScraper to extract file contents.
The data is split into multiple chunks. It can be done with multiple strategies, with semantic chunking being the recommended one.
This uses TiDB as database. The chunks are converted to vector with oepnai embedding model and store in TiDB.
For chatting the OpenAI gpt-4o-mini is used. Using function calling it is provided with the option to retrive data from TiDB.
The Second part is a dashboard built on top of the core library. Users can use this as a UI interface to create their bots. Once the KB is created the user can embed the bot into their website by simplle copy pasting a script.
What's next for KB Bot
Complete the pending features Publish it as cloud service
Built With
- openai
- tidb
Log in or sign up for Devpost to join the conversation.