Since day one at Bulkpe, our vision has been to lead with technology and create innovative solutions. To extend our support to other businesses and accelerate innovation, we're open-sourcing some of our most advanced tech, mini projects, and services. Today, We're thrilled to announce that Bulkpe is open-sourcing Docs AI, our innovative chatbot trained on your business knowledge! This powerful tool integrates seamlessly with your Notion page to provide an intelligent, context-aware chat experience for your users.

About Docs AI with Notion

Docs AI leverages AI to get trained on a content knowledge base and offer a dynamic chat assistant. Whether it's for developer API documentation or customer support or any other use case, Docs AI can provide accurate and instant responses based on the specific knowledge you train it with. Currently Docs AI has integration with Notion for knowledge base training and we will be adding more integration to support. It also offers a sleek chat widget which can be added in any website or application for the user to access and chat.

Why Are We Doing This?

Avoiding Reinventing the Wheel

In the tech world, many companies spend valuable resources creating similar solutions over and over. By open-sourcing Docs AI, we aim to eliminate redundant efforts and empower businesses to build upon a robust, existing framework.

Accelerating Innovation

Open source drives innovation by fostering collaboration and knowledge sharing. By making Docs AI available to everyone, we hope to spark new ideas and advancements in AI and chat technology.

Giving Back to the Community

At Bulkpe, we believe in the power of community. Open-sourcing Docs AI is our way of contributing back to the community that has supported us. We’re excited to see how this project grows, improve upon our work and shape up.

How it works?

Docs AI consists of two main components:

  • Backend: A Node.js server that connects with Notion, processes requests, and serves the AI responses.
  • Frontend Widget: A React-based chat widget that you can embed on your website or app, enabling users to interact with the AI.

How to Deploy?

Clone this repository - Link to GitHub Repo

git clone https://github.com/Bulkpe-fintech/Docs-ai-opensource.git
cd Docs-ai-opensource

Prepare and Host Backend

1. Navigate to the backend directory:

cd src/Backend

2. Install the required dependencies:

npm install

3. Configure the environment variables by creating a .env file with the following parameters:

PORT=""  # optional
MONGO_DB_URL=""  # optional
NOTION_API_KEY=""  # optional
NOTION_PAGE_ID=""  # optional
OPEN_API_KEY=""  # mandatory

4. Run the backend code:

node app.js

5. Test the backend to ensure it is working properly.

6. Host the backend code on any server and obtain the URL for the next step.

Build the Widget

1. Navigate to the frontend directory:

cd src/frontend

2. Install the required packages:

npm install

3. Update the src/config.js file with the following parameters:

module.exports = {
    BASE: '',
    preDefinedQuestions: [
        // Your predefined questions here
        "What is Bulkpe?", "What can we do?"
    ],
    widgetHeading: "Docs AI",
    widgetDescription: "from Bulkpe",
}

4. Run the code to test the widget:

npm start

5. Build the production version:

npm run build

6. The build command will create a dist folder. Inside the dist folder, you will find a bundle.min.js file. This file is needed for your site.

Test the Widget

1. Navigate to the sample site directory:

cd Example

2. Paste the bundle.min.js file into this folder.

3. Run the HTML file to test the sample site. You should see the chat widget in the bottom right corner.

Conclusion

We’re excited to see how the community will utilize Docs AI. By open-sourcing this tool, we aim to drive innovation and foster collaboration. We invite developers, product managers, tech enthusiasts, startups, and businesses to explore, contribute, and benefit from this game-changing tool.

Check out our GitHub repository , give it a try, and share your feedback. Together, let's push the boundaries of what's possible!

We are live on Produnt Hunt, We’d love your support—give us an upvote!

About Bulkpe

Bulkpe is building the best neobank, payout, payment gateway, fixed deposits, credit cards, and multiple other solutions for startups and businesses in India. With Bulkpe's web application, mobile application, integrations, and APIs, businesses can completely automate and manage banking and payments for their operations. Bulkpe has partnered with major banks and regulated entities to offer seamless banking and payment services.

Sign up and explore!
Author John Doe