287 karma · joined May 8, 2023 (3y ago) · 80 submissions
comment 12mo ago · link · parent
comment 12mo ago · link · parent
comment 12mo ago · link · parent
Both internal RAG and web search are hard to do well, and since we've started as an enterprise search project we've spent a lot of time making it good.
Most (all?) of these projects have UXs that are quite complicated (e.g. exposing front-and-center every model param like Top P without any explanation, no clear distinction between admin/regular user features, etc.). For broader deployments this can overwhelm people who are new to AI tools.
Finally trying to do anything beyond a simple back and forth with a single tool calls isn't great with a lot of these projects. So something like "find me all the open source chat options, understand their strengths/weaknesses, and compile that into a spreadsheet" will work well with Onyx, but not so well with other options (again partially due to our enterprise search roots).
comment 12mo ago · link · parent
The common trend we've seen is that most of these other projects are okay for a true "just send messages to an AI and get responses" use case, but for most things beyond that they fall short / there a lot of paper cuts.
For an individual, this might show up when they try more complex tasks that require multiple tool calls in sequence or when they have a research task to accomplish. For an org, this might show up when trying to manage access to assistants / tools / connected sources.
Our goal is to make sure Onyx is the most advanced and mature option out there. I think we've accomplished that, so if there's anything missing I'd love to hear about it.
comment 12mo ago · link · parent
1/ large connector suite + good RAG. Answers at scale is hard, and from our enterprise search roots, we've spent a lot of time with it. It's something that many teams expect from their chat UI.
2/ deep research + open-source code interpreter.
3/ simpler UX. LibreChat has a lot of customizability exposed front and center to the user, which is great for the power user but can be overwhelming for someone new to using AI systems.
comment 12mo ago · link · parent
Also, open-source works really here, since connectors are a long-tail game. We've tried to make it easy to add connectors (a single python interface), and as a result over half of our connectors are contributed by the community. We expect that percentage to grow over time. This means that compared to something like Agentspace, we'll very likely be connected to all of the key tools at your company (and if we aren't, you can easily add an integration).
comment 12mo ago · link · parent
The admin side of the house has been missing a bit of love, and we have a large overhaul coming soon that I'm hoping addresses some (most?) of your concerns. For now, if you'd like to view documents that have been processed, you can check out the `Explorer` panel on the left.
In general, I'd love to hear more about what gives it that "unbaked" feel for you if you're up for a quick chat.
comment 12mo ago · link · parent
For most people, the chat is the entrypoint to LLMs, and people are growing to expect more and more. So now it might be basic chat, web search, internal RAG, deep research, etc. Very soon, it will be more complex flows kicked off via this interface (e.g. cleaning up a Linear project). The same "chat UI" that is used for basic chat must (imo) support these flows to stay competitive.
On the engineering side, things like Deep Research are quite complex/open-ended, and there can be huge differences in quality between implementations (e.g. ChatGPTs vs Claude). Code interpreter as well (to do it securely) is quite a tricky task.
comment 12mo ago · link · parent
We have https://github.com/onyx-dot-app/onyx-foss, for a fully MIT licensed version of the repo if you want to be safe about the license/feel freedom to modify every file.
43.
Launch HN: Onyx (YC W24) – Open-source chat UI
254 points · by Weves · 12mo ago · 160 comments
44.
Mouse could eavesdrop on you and rat you out(theregister.com ↗)
6 points · by Weves · 1y ago · 1 comment
comment 1y ago · link · parent
Congratulations on the launch Rauf & Lennert! Always great to have more innovation in the open source AI space :D. It looks like Airweave works well with Cursor, something we don't have nailed down yet!
46.
Experts urge caution about using ChatGPT to pick stocks(arstechnica.com ↗)
3 points · by Weves · 1y ago · discuss
47.
Nintendo of America boss Doug Bowser is retiring(theverge.com ↗)
3 points · by Weves · 1y ago · 1 comment
48.
Elon Musk's Chatbot Goes to Washington(nytimes.com ↗)
4 points · by Weves · 1y ago · discuss
comment 2y ago · link · parent
The granularity is currently hard-coded (e.g. 512 tokens default chunk size, augmented with passes of 128 tokens). I have not heard of the idea of Frames, but it's interesting. Thanks for sharing - I'll probably do a deep dive sometime this weekend.
comment 2y ago · link · parent
(1) We handle chunking, embedding, building the keyword search index, etc. all on our end! We use Vespa as both our Vector DB / Search Engine (it allows a custom hybrid search, which we've found to perform really well). So no, you would not need to bring your own Vector DB - everything needed to run the system is managed dockerized and managed by Docker compose / kubernetes (whichever you choose).
(2) It would be straightforward! We both offer an API to ingest documents into the system as well as a pretty simple connector interface that you can implement to add your own custom connector (https://github.com/danswer-ai/danswer/blob/main/backend/dans...)
comment 2y ago · link · parent
For self-hosted deployments, usually a select few admins who have setup the plumbing on AWS do have access (but as nl has mentioned, these people usually have access to superuser access on the tools we connect to anyways so this is a noop).
comment 2y ago · link · parent
For learning from feedback for sure! No exact benchmarks, but we've heard from quite a few users about how useful this is to push high quality docs up and reduce the prevalence of poor docs. This is all very hard to evaluate since there aren't readily available, real-world "corporate tool / knowledge base" datasets out there. We're actually building our own in house right now, so we should have more concrete numbers around these things soon.
For the backend, we do a lot of stuff with local embedding models / cross encoders / tokenization / stemming / stop word removal etc. Python has the most mature ecosystem for this kinda stuff (and the retrieval pipeline is the core of our product), so we don't regret it at all!
comment 2y ago · link · parent
comment 2y ago · link · parent
Our approach is to use an LLM (gpt-3.5-turbo for example), and to ask it explicitly "Is this chunk <CHUNK> useful for answering this query <QUERY>". We've found, while certainly a bit more expensive, the larger model size and greater understanding of the world allows this approach to yield significantly better results that the SOTA cross-encoders. It also allows us to ask the model to explain why it's useful, which can be really helpful for the user when determining if they should look deeper into a document (as opposed to the standard keyword-based highlighting which often isn't very useful when determining if a document actually has useful information for your query).
comment 2y ago · link · parent
We're also in the process of adding the ability to sync permissions from sources. For example, with this in place you would only be able to chat with / search over documents in Google Drive that you have access to. Since everything is RAG based rather than any fine-tuning, this will guarantee that someone asking "how much do my colleagues make?" will not get an answer UNLESS they already have access to the document that has this info (in which case, it shouldn't be a problem :D)
comment 2y ago · link · parent
With that said, we feel this is a completely different way of interacting with the system and therefore warranted a new post. Rather than just search, you can now converse with your docs while retaining all the same benefits (like being able to browse through the results, go in detail on specific docs, etc.).
60.
Show HN: DanswerChat – open-source GPTs with access to your org's knowledge
14 points · by Weves · 2y ago · 4 comments