Live data from Hacker News

Launch HN: Sidekick (YC W23) – AI support bot for developers

news.ycombinator.com

1–10 of 92 posts

Launch HN: Sidekick (YC W23) – AI support bot for developers

#1
Hi Hacker News! We’re Jason and Ayan, the cofounders of Sidekick (https://www.getsidekick.ai/). We made a GPT-driven bot for developers that runs in Slack and Discord and answers questions about your developer docs, while automatically keeping them up to date with new info. You can join our public Slack where you can ask Sidekick questions about Airbyte, a popular open source data connector catalog: https://join.slack.com/t/sidekick-public/shared_invite/zt-1r...

Or if you prefer to not sign up to our Slack, here's a demo video showing the same thing: https://youtu.be/fPhP1325RkI

We’re in the process of making everything open source (there are some contractual issues we’re working through), but our client side code and basic infra is here: https://github.com/ai-sidekick/sidekick.

Providing technical support to developers has been expensive for companies because they need to hire skilled engineers to do it. We’ve seen community support channels with a 2000:1 ratio of developers to support engineers - there’s no way every question will get answered. We built Sidekick to make this much easier. It’s particularly helpful for open-source companies/projects because many OSS communities have a lot of people asking questions, but hardly anyone helping troubleshoot.

We integrate with Slack and Discord, since that’s where developer support is already happening. On the backend, we use Weaviate to index the data and OpenAI’s text-davinci-3 model to generate responses.

In addition to answering questions, Sidekick can also update .md files automatically with new information. When someone reacts to a message in Slack with the emoji, Sidekick will use Weaviate to find the part in your documentation that’s most related to the message, then use GPT3 to merge the new info into the documentation. Finally, it will submit a pull request on Github with the changes. We saw that devrel teams are already making product announcements and helping users troubleshoot common issues in the community, so we built this feature to save them even more time.

We use GPT for generating the responses and new documentation, but are relying less and less on it after learning that you hit a ceiling on answer quality very quickly by using only GPT and prompt engineering techniques. Here’s some of what we learned trying to prevent hallucinations in our answers: https://medium.com/@jfan001/how-we-cut-the-rate-of-gpt-hallu...

What we found makes a much bigger difference is the breadth and quality of the content you can search through, which is why we now rely a lot more on cleaning and annotating data, which yields far better results when combined with prompt chaining. For example, instead of naively chunking data into 1000 token blocks, we parse the markdown into semantically meaningful sections (e.g. paragraphs, lists, code blocks) and tag the content with the header name and document name so it’s more likely to surface for searches that are match for the section it’s from, even if it doesn’t exactly match the content in that chunk.

One fun thing we also learned is that when Sidekick gets added to a #help channel, people who otherwise wouldn’t ask questions start using it. It turns out, there are a lot of “lurkers” who come to these channels to find answers, but don’t want to bother anyone with their issue. Adding a tool that they can get answers from instantly brings these people out into the community, giving founders and community managers an opportunity to reach out to them.

To summarize, Sidekick 1) saves support engineers time, 2) keeps the docs up to date and 3) helps engage developers in the community. Long-term we want to provide an analytics product on top of Sidekick so companies can understand how their product is being used and where there are opportunities to add more value to their customers (and charge more money for it).

We’d love to hear from the HN community about this product! Do you think using a tool to search through and update developer docs from Slack would save you time?

Re: Launch HN: Sidekick (YC W23) – AI support bot for developers

#2
This looks really cool. I have a couple of questions

1. How exactly does this automatically keep docs up to date?

2. Does sidekick work well across multiple repos? (my org builds client facing apps so we have about 30 repos)

3. Is the doc auto updating expected to be in a particular format? My docs are very disorganized throughout all of these projects since I inherited a lot of codebases.

Overall looks really interesting. If you can actually deliver on the use cases you describe I think this will have value to a lot of people

Re: Launch HN: Sidekick (YC W23) – AI support bot for developers

#4
post #2

This looks really cool. I have a couple of questions 1. How exactly does this automatically keep docs up to date? 2. Does sidekick work well across multiple repos? (my org builds client facing apps so we have about 30 repos) 3. Is the doc auto updating expected to be in a particular format? My docs are very disorganized throughout all of these projects since I inherited a lot of codebases. Overall looks really intere…

Hey thanks for asking!

1. If someone reacts to a message in Slack with the :memo: emoji, Sidekick will take the contents of the message and search for a chunk in the docs that closely matches the content. Each chunk is tagged with the source url on Github. Then it uses Github's Octokit client to pull that file, parses out appropriate chunk, and use GPT3 to merge the old content with the information from the message. Finally, it'll submit a pull request to the repo where the docs are stored with the changes.

2. Yep! It can ingest docs from multiple repos and link out to docs across all of them depending on which is most relevant. You can also add custom logic e.g. restricting it to search through certain repos for specific channels

3. It works better if there's a consistent structure throughout the docs, but it will try its best to merge info into docs that aren't structured. The risk here is that if you let Sidekick go wild it'll lead to very haphazard looking docs, so some curation is still needed.

Re: Launch HN: Sidekick (YC W23) – AI support bot for developers

#9
Very interesting features!

I'm not sure why it needs to be focused on developer docs vs all docs - any reason you decided on that niche?

I'd suggest creating a "demo" slack AND discord to try out. Is the demo slack working as intended? I see "Hey there! Looks like I'm not set up yet for this Slack workspace. Please send over a link to your documentation to founders@getsidekick.ai and we'll get you set up!"

Re: Launch HN: Sidekick (YC W23) – AI support bot for developers

#10
post #6

Interesting you’re using discord instead of Glitter. I’d think an open protocol would help your seo footprint. The only devs I know on discord are crypto and AI generators.

We're also considering adding the bot to Gitter and Discourse but frankly just haven't had the time to build out those integrations yet! It just happened that some of the first companies we reached out to used Discord. One of them is a crypto company so you're right on the mark there.
Post reply on HN