Build Your First LLM Chatbot

A beginner’s guide to Large Language Models, LangChain, Vector DBs, and more

Alisha Saboowala
10 min readAug 10, 2023
Image Credit: Inside ChatGPT’s Brain: Large Language Models

Hello! I am an undergraduate student with a keen interest in machine learning and generative AI. Since OpenAI released ChatGPT, there have been great leaps of progress in the field of generative AI. There are lots of open-source models and tools out there that we can utilize. This article will show you that the democratization of generative AI allows us to generate some amazing content. Even with beginner coding experience, it is possible to create your first custom chatbot using large language models.

In this article, we will explore common jargon and tools used when working with large language models. We will also create a simple customized chatbot using a high-performance, open-source large language model released by Meta, LLaMa-2.

Here is the link to the Google Colab: https://colab.research.google.com/drive/1MRJRPjlhuGOxltMSdJ_VORNZJJsd7Wp3?usp=sharing

First, let’s get familiarized with some key terms.

Table of Contents:

--

--

Alisha Saboowala

Undergrad at UCSC. Skilled in Python, C, Java, AWS Solutions Architecture (Associate Certification), and machine learning. Generative AI enthusiast.