Easiest Way to Convert a PDF to JSON using LangChain Output Parsers
Автор: Getting Started with Jeff
Загружено: 2024-03-27
Просмотров: 4984
Описание:
This video tutorial demonstrates how to convert a PDF to JSON using LangChain's Output Parsers and GPT.
A task like this used to be complicated but can now be done in a few minutes thanks to the advancements in the field of AI and LLMs.
--
👉 LangChain Expression Language (LCEL): https://python.langchain.com/docs/exp...
👉 Read the blog post: https://www.gettingstarted.ai/how-to-...
--
Timeline:
00:00 Introduction
01:24 Setting up a virtual environment
02:03 Installing LangChain
02:19 Importing libraries and ingesting PDF
04:13 Defining Pydantic object with fields to extract
06:26 Using JsonOutputParser with the Pydantic object
07:03 Creating a PromptTemplate
09:28 Importing ChatOpenAI and Putting everything together
10:33 Creating and invoking the chain
12:33 Running the application
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: