Repository navigation
Replies: 5 comments
|
It would be nice to provide a "chat my embedded vector DB" feature / library |
|
I think "chat my embedded vector DB" is actually what we already have, RAG-wise, if I'm understanding you. What we don't have is "chat my embedded graph DB". |
|
One of the trickier aspects of SKA would be the knowledge engineering to create high-quality graphs in the first place. Here are some ready sources of knowledge graph (KG) or property graph (PG) data that newcomers to structured data can leverage towards SKA.
|
|
While more about the LLM interaction pattern than the style of provided context, the paper Graph of Thoughts: Solving Elaborate Problems with Large Language Models does illustrate how argument components organized into graph patterns enables more powerful reasoning in the LLM, and it references various knowledge engineering work. |
|
I'm using the Backdrop Build program to inspire discipline, and perhaps some collab around the development of this SKA project. One of the things I've had to do is come up with a pragmatic user definition, at least to guide initial development. Here's what I have so far for that:
TODO: 1) Industry focus might be too broad. Maybe identify even narrower focus areas 2) Possibly address PII in HC/LS ("In industries such as health care, there are applications which do not involve processing PII."?) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The understanding has been emerging, that knowledge graphs are a very high potential tool for improving LLM-based applications1. One of the key areas where this technology is expected to help is in-context completion, i.e. providing the main information an LLM needs in order to generate a response. The most prevalent, current technique for in-context completion is in Retrieval Augmented Generation (RAG), where documents, or more usually fragments of documents relevant to the user query are gathered and included in context for the final LLM prompt. This technique is very useful, but suffers from some key limitations which have been widely discussed. At Oori, we believe that further augmenting LLM prompted with structured knowledge, possibly in combination with the usual RAG document fragments can give even stronger results. It allows the long-standing work in knowledge engineering to be applied to generative AI. Note: for this discussion I'm considering property graphs as a form of knowledge graph. We'd want to target all these approaches.
Once RAG emerged as a technique, many vendors and open-source projects emerged to make it easy to use it. A good example is privateGPT, which quickly earned tens of thousands of GitHub stars by providing a simple system where users could merely drop PDFs, word docs, HTML downloads, and such into a directory and "chat your documents". Even OgbujiPT implemented RAG among its earliest demos. I think one of the reasons knowledge-engineering enhancements to RAG have not yet become as popular is that there is no such easy project for applying them.
We should provide facilities for SKA, with or without accompanying RAG in OgbujiPT, in order to help speed up adoption of this technique which can really help[ people get even more value out of LLM use.
Footnotes
The value of knowledge graphs to generative AI has especially been noted by professionals such as
@chimezie and I, who've been working in AI long before the Deep Learning Neural Network expansion (and Transformer revolution) of the 2010s. ↩
All reactions