Made with Supabase

Knowledge-Base πŸ‘©β€πŸ’»πŸ“š

πŸŽ₯ Watch it in action in this video

Introduction 🌟

Welcome to Knowledge-Base, an innovative Slack bot designed to revolutionize how you interact with your personal information. Developed as a submission for the Supabase Launch Week 8 Hackathon πŸš€, Knowledge-Base is a powerful tool that indexes webpages and engages in intelligent conversations to provide you with the most relevant information at your fingertips.

Functionality πŸ› οΈ

Knowledge-Base offers a seamless user experience by efficiently indexing webpages and employing cutting-edge AI techniques to comprehend and respond to user queries. By integrating the pg_vector extension and harnessing the power of the Language Model (LLM) from OpenAI's GPT-3, this Slack bot takes information retrieval to new heights.

Key Features ✨

Webpage Indexing 🌐

With Knowledge-Base, you have the ability to index entire websites or individual webpages. By employing the sitemap of a website, the bot can comprehensively index web content. Alternatively, you can manually index specific webpages, ensuring you have control over the information you need.

Intelligent Chat Interface πŸ’¬

Engage in natural conversations with Knowledge-Base to retrieve the information you seek. Simply send a message to the bot, and it will employ the indexed data to find the most relevant webpages. This dynamic interaction is powered by advanced AI techniques that ensure accuracy and speed.

Seamless Integration πŸš€

Using Knowledge-Base is a breeze. Add the bot to your Slack workspace with a simple click, and you're ready to start benefiting from its capabilities. The installation process is straightforward, and once integrated, you'll have a valuable tool at your disposal.

How It Works πŸ€–πŸ“Š

When you provide Knowledge-Base with a webpage or sitemap URL, it skillfully embeds and stores the content in its database. Utilizing the pg_vector extension, it creates vectors that represent both the content and your messages. This allows the bot to determine the most relevant information based on your query.

The selected information is then fed to the Language Model (LLM), which generates contextually appropriate responses. This unique blend of advanced technologies ensures that you receive accurate, coherent, and personalized information.

Tech Stack πŸ› οΈπŸ”§

Knowledge-Base is built upon a robust tech stack that includes:

  • Supabase: Leveraging its database capabilities (Postgres), edge functions (Deno), and database webhooks to manage and retrieve information efficiently.
  • Slack API: Enabling seamless integration into the Slack platform for easy user interaction.
  • OpenAI API (GPT-3): Powering the Language Model to generate contextually relevant responses.
  • pg_vector Extension: Utilizing vector representations for efficient content comparison.
  • LangChain.js: Facilitating smooth communication between different components of the system.
  • Other Libraries: Employing various tools like Eslint, Prettier, commit-lint, husky, and TypeScript for maintaining code quality and development standards.

Future Roadmap πŸš—πŸ—ΊοΈ

Knowledge-Base is just the beginning. We have exciting plans for its expansion, including:

  1. Extended File Support: Introducing compatibility with diverse file formats such as PDFs and documents, enhancing its utility.
  2. Multi-Platform Integration: Broadening its reach by integrating with other popular chat platforms like Discord, Telegram, and more.

Contributors πŸ‘₯πŸ™Œ

This remarkable project was brought to life by the collaborative efforts of:

  1. Bhavin Kamani
  2. Shantanu Sardesai

Conclusion πŸŽ‰

Knowledge-Base redefines how you access and interact with information. With its powerful indexing capabilities, intelligent chat interface, and cutting-edge technology stack, it's not just a Slack bot; it's your ultimate information navigator. Experience the future of information retrieval today!

Related Projects


A project by Zernonia