GithubHelp home page GithubHelp logo

ml-sketch / sidekick Goto Github PK

View Code? Open in Web Editor NEW

This project forked from finic-ai/finic

0.0 0.0 0.0 7.23 MB

Developer support bot for Slack and Discord

Home Page: https://www.getsidekick.ai/

License: GNU General Public License v3.0

Shell 0.16% Python 55.18% TypeScript 40.38% HTML 4.28%

sidekick's Introduction

๐Ÿค– Sidekick

Use GPT to answer questions over documentation

Sidekick is a Slack and Discord bot that provides developer support, using the GPT API. It scales very well with documentation.

Sidekick is also open source. Try out the demo on web here.

๐Ÿ’Ž Features

  • Bots for Slack, Discord, Web, and Discourse
  • Ingestion of JSON formatted docs, chunking and storing as vector embeddings
  • Guardrails to prevent hallucinated answers
  • Cites sources
  • Short term memory for conversations

[WIP] Get started - 30 min

To add a bot to Slack or Discord that answers questions over your documentation:

  1. Submit a PR with a single change: a new .json file under documentation-sources with the content you'd like to index. The name of the file must match the Slack workspace ID or Discord server ID you want to add the bot to. For example, T04CTF40G06.json
  2. The .json file must be an array of objects with the following schema:
{
    "name": string, // the name of this document e.g. "Step 1: Setup",
    "source": string, // A URL e.g. "https://github.com/apollographql/apollo-client/tree/main/docs/source/get-started.mdx",
    "content": string, // A single string blob with all the content for this document. Markdown is fine.
    "tag": string, // the name of your product, used as an identifier. Must be unique e.g. "apollo-client"
  }
  1. Click here to add the bot: Slack/Discord
  2. Ask it something!

Building locally

npm run start will start the web client. However you won't be able to make any requests until the API url and API key are set up in .env. We are trying to make the product more self-serve, but in the meantime please contact us on Discord or reach out to [email protected] to get the API url and an API key.

Contributing

To add more documentation for existing products or to add new products, submit a PR to add a new .json file with the content you'd like to index. Follow the structure of the files in the documentation-sources directory.

sidekick's People

Contributors

jasonwcfan avatar ayan-bandyopadhyay avatar teddarific avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.