ENHANCING INTELLIGENT INFORMATION EXTRACTION WITH MINIMAL HUMAN INTERVENTION
Merit Data & Technology
Make informed decisions with intelligent data solutions
Overview?
Semantic search and extractive question answering are the most popular and widely used applications of Large Language Models (LLMs). These applications are critical cornerstones for enhancing the automation of organisations that thrive on data harvesting, curation, aggregation & transformation.??
This article talks about how the power of automated and intelligent information algorithms can be enhanced using a combination of LLMs, semantic search frameworks, and a human-in-the-loop using LangGraph, a library built on LangChain.?
?
Why do we need a human in the loop??
It sounds like an oxymoron when we say that we add a human-in-the-loop to enhance automation. However, the following factors emphasise the positive impact of adding a human to the automation process:?
?
About LangGraph & LangChain?
LangChain is a framework that directs an agent (human) to perform a certain task and is powered by a language model. The agent runs in a loop to take multiple actions. For example, you can set up an agent to skim through a document on automobiles and extract all the technical specifications of a particular variant.?
LangGraph is built on top of LangChain and can have cycles of multiple loops and multiple actors and improved agent runtimes. For example, we could configure three different agents - 2 subordinate agents collating information from 2 types of sources and one supervisor agent aggregating or filtering the information based on the query.?
?
领英推荐
Humans-in-the-loop options using LangGraph?
LangGraph proposes two forms of human intervention - Interrupt and Authorise?
Interrupt?
Authorise?
?
In conclusion, by leveraging these human interventions paired with intelligent information extraction, organisations can enhance the accuracy and efficiency of information extraction tasks while maintaining adaptability to handle complex scenarios and outliers effectively.?
?
References?
A recent blog published by LangChain explains the approach of incorporating Humans-in-the-loop with a detailed code walkthrough - Human-in-the-loop with OpenGPTs and LangGraph?
?