Create your Document ChatBot with GPT-3 and Langchain

Jeremy Arancio
10 min readMar 13, 2023

AI assistants, also known as chatbots, are computer programs designed to simulate conversations with human users. They are powered by advanced Natural Language Processing (NLP) algorithms to generate responses.

With the recent development of Large Language Models (LLMs) such as GPT-3, we have accessed amazing capabilities to not only discuss with the machine but also to give specific tasks to achieve astonishing results. (prompt engineering)

These chatbots have the ability to understand and interpret human language, allowing them to answer questions and perform various tasks. They have found applications in various fields, including customer service, education, and entertainment. With the latest advancements in AI technology, chatbots are becoming increasingly sophisticated and are changing the way people interact with technology.

With GPT-3, provided by OpenAI, you have now the possibility to access a powerful model trained on a massive amount of data, and able to understand human language. The applications are infinite.

For example, one can build a chatbot capable of extracting any kind of information from a set of documents to a user’s question.

Through this article, I’m going to show you how to build your own Document Assistant from scratch, using GPT-3 and Langchain, an open-source library designed to work with LLMs.

Let’s go!

--

--

Jeremy Arancio

NLP Engineer & AI-ndependant - I help companies leveraging texts using Machine Learning! - Website: https://linktr.ee/jeremyarancio