LLMs and chatbots: a brief update
Written by Chris King
Generally and historically, data engineering, analytics, and science efforts focused on progressing from data to knowledge/wisdom. The emergence of LLMs allows for the decomposition of wisdom/knowledge back down to data. This can enable novel discovery, integrate with information systems, and drive automated processes.
GenAI Categories
LLM’s & Graph Databases
Knowledge graphs can:
For example, the following paragraph is from a Wiki article on Galileo, and the image shows the nodes and edges extracted by an LLM and stored in Neo4j.
“Galileo studied speed and velocity, gravity and free fall, the principle of relativity, inertia, projectile motion and also worked in applied science and technology, describing the properties of pendulums and “hydrostatic balances”. He invented the thermoscope and various military compasses, and used the telescope for scientific observations of celestial objects. His contributions to observational astronomy include telescopic confirmation of the phases of Venus, observation of the four largest satellites of Jupiter, observation of Saturn’s rings, and analysis of lunar craters and sunspots.”
Entity Extraction
Knowledge Graphs with LLMs
领英推荐
Legal Text Parsing
Another example, this case is a legal document describing maximum rates for energy transmission and the corresponding image shows not only nodes and edges but also the properties required to calculate cost.
For Point-to-Point service reserved for an Annual Period or a Monthly Period, the charge for service supplied in a Monthly Period shall not exceed the Transmission Customers Monthly Period transmission reservation multiplied by $36.50 per MW-month. For a Network Integration Transmission Service Customer, the charge for service supplied in a month shall be the Customers load coincident with the hour of the DEP monthly Transmission System Peak during the month, multiplied by $36.50 per MW.
LLMs and Knowledge Graphs together can unlock a wealth of previously accessible data<=>wisdom. Some example use cases:
Chatbots
Problem Statement: In a large or growing organization, it’s difficult to navigate policy and rules. Even if you know where all of the company policies live, knowing how they apply in various situations or geographies can be a challenge. You could ping your HR representative, and they are more than happy to help you, but what if you could ask a chatbot versed in your company’s specific guidelines?
Solution: Enter HR Bot, the LLM powered chatbot steeped in your company’s internal documentation. Now you can ask any question and get answers instantly, and without diverting resources away from critical administrative tasks!
Chatbots with Retrieval Augmented Generation (RAG)
Conclusion
ChatBots allow you to quickly automate the vast majority of customer interactions while ensuring high quality, detailed information, and a friendly tone while gaining valuable insights from chatbot metrics to drive improvements. Predefined workflows provide business rules and establish guardrails for bot interactions. LLMs provide deeper insights into datasets and are useful in converting unstructured text into structured data stores.