Better HN
topnewbestaskshowjobs
Log inSign up

Weves

287 karma · joined May 8, 2023 (3y ago) · 80 submissions

Submissions

comment 2y ago · link · parent

You can plugin any model of your choice! Self-hosted, open source models are a great choice if you're very concerned about keeping your data safe and secure

comment 2y ago · link · parent

You can also use any other LLM provider / any open source model of your choice!

63.

Combine GPTs with private knowledge for actually useful AIs(medium.com ↗)

103 points · by Weves · 2y ago · 34 comments

64.

Show HN: DanswerBot – Open-source Slack bot to automate repetitive questions(docs.danswer.dev ↗)

6 points · by Weves · 3y ago · 3 comments

65.

How to host a GPU backed Llama2-13B API for free(medium.com ↗)

4 points · by Weves · 3y ago · discuss

comment 3y ago · link · parent

See https://news.ycombinator.com/item?id=36671406 for more details on this. TL;DR didn't like llama-index's connectors, and we're planning to move to LangChain soon.

comment 3y ago · link · parent

We'd love for you to contribute. Let us know in Discord / Slack (if you haven't already), and we'd be happy to find something interesting for you to hack on.

comment 3y ago · link · parent

Right now, Danswer does send data to OpenAI. Once we support locally hosted, open source generative models that will change. If you go with that option, your data won't be sent anywhere.

comment 3y ago · link · parent

That's a good suggestion! Will look into it, should be fairly easy to support

comment 3y ago · link · parent

Agree with the point about intelligent chunking being very important! Each individual app connector can choose how it wants to split each `document` into `section`s (important point: this is customized at an app-level). The default chunker then keeps each section as part of a single chunk as much as possible. The goal here is, as you mentioned, to give each chunk the relevant surrounding context.

Additionally, the indexing process is setup as a composable pipeline under the hood. It would be fairly trivial to plug in different chunkers for different sources as needed in the future.

comment 3y ago · link · parent

Great question! Right now, our access control is very basic. When admins setup connectors to other apps, all documents indexed are accessible by all (meant to be public documents only). Individual users can index private documents by providing their own access tokens for connectors, and those docs will be only available to the user who owns that access token. Improving this is a high priority item for us, as we understand this is a deal-breaker for enterprises.

The immediate plan is to extend our current poll / push based connectors to also grab access information (+ add IdP integrations for cross-app identity). There will be some delay to grab access updates, which will be combatted by the dynamic check with the app / IdP itself at query time that you mentioned (still investigating exactly how this will work).

We are also considering adding support for group based access defined within Danswer itself for sources that don't provide APIs to get access information (default being all-public if not specified). Of course, for these, we will not be able to sync permissions.

comment 3y ago · link · parent

Amazing foundational tools like Qdrant make building in this space so much easier <3

comment 3y ago · link · parent

Native support for the Microsoft suite of tools is something we plan to add fairly soon! We're a small team, and currently swamped with connector/feature requests so no promises on the timeline.

Ticketing platforms like ServiceNow fall under a similar category, although a bit lower priority in my mind.

comment 3y ago · link · parent

Adding local/open source model support is at the top of our TODO list! When we started building, open source models were quite a bit more behind of GPT-4 then they are now. At that time the performance gap was at a point where locally hosted models would provide a significantly hampered experience, but we think that gap has (and will continue) to close rapidly.

comment 3y ago · link · parent

LlamaIndex is a very generic framework to ingest data (from anywhere, with no specific context in mind). Developers then build on top of this framework in order to simplify the process of creating LLM-powered on apps. Developers need to handle automatically syncing, building a UI to manage connections, build out the actual features/functionality they desire, etc.

Danswer is:

(1) itself an end-to-end application which allows you to connect to all your workplace tools via a UI, and then ask questions and get answers based on these documents. The goal is to be a permissively licensed, open source solution to the enterprise knowledge retrieval problem.

(2) an ingestion framework specifically targeted for enterprise applications. We provide a UI for admins to manage connections to other common workplace apps, automatically sync them into a vector DB + a keyword search engine, and expose APIs that allow access to these underlying data stores (more to come in this direction). We take care of access control (more in the pipeline here as well), only grabbing updates so we don't have to pull thousands (or millions) of documents every X minutes, etc. TL;DR: we're focused on a specific ingestion use case.

comment 3y ago · link · parent

We're actually planning on migrating to LangChain very soon (primarily to allow for memory / tool usage + automatic integrations with llamacpp / other open source model serving frameworks). We didn't start with it initially since we didn't want to restrict our usage patterns too much while we were (even more) unsure of what exactly we were going to build.

As far as using other data connector frameworks, we found that we either (1) didn't think they were very good or/and (2) they didn't support automatic syncing effectively. For larger enterprises, it's not feasible to do a complete sync every X minutes. We need to be able to get a time-bounded subset (or have them push updates to us), which is something LangChain, LlamaIndex, etc. don't support natively.

comment 3y ago · link · parent

We are actively building a Notion connector! Will be out very soon :)

comment 3y ago · link · parent

Thanks! For now, we're just focused on making sure this solves a problem effectively for people. In the long term, if we're able to build up trust, we'll probably offer a managed version.

comment 3y ago · link · parent

Yea, that's good feedback - we've gotten requests for open source model support from a lot from people we've talked about. It's one of our highest priorities, and should be available soon!

80.

Show HN: Danswer – Open-source question answering across all your docs(github.com ↗)

189 points · by Weves · 3y ago · 66 comments

123