Hacker News

Show HN: Danswer APIs – Open-source APIs for building RAG apps over company docs

Hacker News - Tue, 11/12/2024 - 10:17am

Hi HN! I’m one of the creators of Danswer, the open-source enterprise search project that you may have seen on HN a bit under a year ago (https://news.ycombinator.com/item?id=39467413). Really excited to be back to post about our new APIs :)

Over the last half-year the #1 thing we’ve heard from our open-source community is the desire to build custom applications on top of the core connections with common apps + search + assistants. While this has always technically been possible, it hasn’t been easy for two main reasons: (1) inability to use APIs with auth-enabled w/o grabbing cookies from the browser and (2) a lack of simple APIs. Well no longer!

For (1), we now provide a UI to generate API keys and for (2) we provide a pure “search” endpoint, a “chat” endpoint, and an implementation of OpenAI's Assistants API. With these, we take care of all the boring stuff (integrating with 35+ tools, constantly keeping docs up-to-date, and handling permissions) and provide an opinionated starting point for the generic hard stuff (really good hybrid-search + factoring in metadata, recency, etc.), so that you can focus on the specific business logic of the app.

Back when I was at Alation, on-call for our team could have been made so much easier by a small, custom app that auto-responded to every alert based on Confluence, Slack, and a few Drive folders. Danswer’s APIs would power the core of this, and all I’d be left with are app-specific things like routing alerts to the right team member based on the document ownership of the cited documents.

For an example of what it looks like to use the APIs, check out this script here: https://github.com/danswer-ai/danswer/blob/main/examples/ass...!

If you're curious what's happening under the hood, check out our docs: https://docs.danswer.dev/system_overview.

Thanks, excited to hear your thoughts!

Comments URL: https://news.ycombinator.com/item?id=42116101

Points: 1

# Comments: 0

Categories: Hacker News

Pizzawrmr

Hacker News - Tue, 11/12/2024 - 9:18am

Article URL: https://pizzahutpizzawarmer.ca/

Comments URL: https://news.ycombinator.com/item?id=42115654

Points: 1

# Comments: 0

Categories: Hacker News

You are not your job

Hacker News - Tue, 11/12/2024 - 9:16am
Categories: Hacker News

Keuze: Dmenu Replacement for macOS

Hacker News - Tue, 11/12/2024 - 9:13am

Article URL: https://github.com/JodusNodus/keuze

Comments URL: https://news.ycombinator.com/item?id=42115617

Points: 1

# Comments: 0

Categories: Hacker News

Pages