Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! ๐ค
Key Takeaways
The video demonstrates how to turn any open-source large language model (LLM) into a conversation pro using the Text Generation Web UI and OpenAI API, allowing users to interact with the model as a chatbot.
Full Transcript
hi everyone I'm really excited to show you how to run any large language model as a chat bot let's get [Music] started I have already covered this program in the previous video in regards to create a chat bot using chat GPT API I will link that in the description below so it's just few lines of code input open AI then create a chatboard function the chatboard function will get the prompt and return the response in the main function you're asking the user to to add an input if the input is quit exit or buy then it should break that means exit the chatbot or else print the response from the chatbot now from here how we can change this to a large language model we are going to use text generation web UI I have already covered how to set text generation web UI in my previous video I will link that also in the description below now we going to go to the folder where we created the text generation web Bui and Bash start mac. sh and click enter this should automatically start the text generation web Bui and you can see the IP address here now I am in the text generation web UI interface here I'm loading the mral 7 billion parameter model load here you can see successfully loaded Mr 7 billion next you click the save settings this should automatically save the settings then go to the session tab at the top click that then go to the available extension section and click AP I open AI again API and listen that's it this will automatically allow open AI endpoint to be used in our application apply and save this will reload now it got reloaded now let's go to the terminal in the terminal you can see the open AI API base as this port and the URL I'm going to copy just the URL right click and copy now in the code Type open ai. API base and then equals enter that URL that's it now we are going to run this you keep the other terminal running now navigate to the chatbot folder type Python app.py and click enter now the chatbot got initiated what is your base AI model you can look on the right hand side it'll get automatically generated my base AI model is Transformer based a you saw in the right hand side the web generation text UI got updated so whenever you type something here on the left hand side automatically the right hand side will get updated let's ask what is the capital of UK now you can see on the right hand side it's getting loaded it is London that's it just by adding open AI API base you are able to talk to any large language model which you download in text generation web Bui it doesn't matter what ever name you gave here it'll automatically refer back to the API base I hope you like this video please do like share and subscribe thanks for watching
Original Description
๐ Hey everyone, welcome back to my channel! Ready for something mind-blowing? This video will take your Chatbot game to the NEXT LEVEL! ๐ฑ
ChatGPT Chatbot https://www.youtube.com/watch?v=-WK48fvhhzk
Text Generation Web UI https://www.youtube.com/watch?v=yRbBcOwi4Lw
๐ Why You Should Watch This ๐
๐ Learn how to effortlessly use ANY large language model as a chatbot.
๐ Get hands-on with the OpenAI API and Text Generation Web UI.
๐พ Discover how to customize your chatbot with user inputs.
๐ Navigate the Text Generation Web UI like a PRO!
๐ก Gain insights on real-time chatbot interactions.
๐ Timestamps ๐
0:00 Introduction
0:02 Running Large Language Models
0:11 Chatbot Creation with OpenAI
0:44 Utilizing Text Generation Web UI
1:45 Setting up API Base
2:10 Initiating the Chatbot
๐ Get ready to be blown away! Don't forget to LIKE, SHARE and SUBSCRIBE for more extraordinary content! ๐
#AI, #LargeLanguageModel, #Chatbot, #OpenAI, #TextGeneration, #WebUI, #API, #CustomChatbot, #UserInputs, #RealTime, #TextUI, #WebInterface, #IPAddress, #Settings, #Session, #Extension, #Application, #Reload, #Terminal, #URL, #Python, #App, #Transformer, #GeneratedText, #Automatically, #Load, #Parameter, #Billion, #Click, #Available, #Save, #Endpoint, #Apply, #Loaded, #Running, #Base, #Update, #Loaded, #Asking, #Prompt, #Response, #Quit, #Exit, #Break, #Model, #Port, #Name
Watch on YouTube โ
(saves to browser)
Sign in to unlock AI tutor explanation ยท โก30
Playlist
Uploads from Mervin Praison ยท Mervin Praison ยท 36 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
โถ
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Build GCP Infra using Pulumi in YAML format
Mervin Praison
How to Convert a Pulumi YAML File to Python Format
Mervin Praison
Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Mervin Praison
Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Mervin Praison
AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
Mervin Praison
ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
Mervin Praison
How to Install Mistral 7B in Minutes: Quick & Easy Guide! โ
Mervin Praison
Code Llama Install Locally: ๐๐ป Elevate Your Python Skills!
Mervin Praison
Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux ๐ป
Mervin Praison
Quick & Easy Vicuna Setup on Mac and Linux ๐ป
Mervin Praison
Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python๐ ๏ธ
Mervin Praison
Query PDFs Like a Pro with Local GPT: Full Setup Guide! ๐
Mervin Praison
LM Studio: EASIEST way to Run Large Language Models Locally!
Mervin Praison
AMAZING ChatGPT Vision is OUT! ๐คฏ 14+ Examples (Step-by-Step) FULL Tutorial
Mervin Praison
Unbelievable! Build ANY App Instantly with Smol AI! ๐ฒ๐ฅ
Mervin Praison
Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide ๐
Mervin Praison
How to Set Up LoLLMS and Run LLMs Locally! ๐ Step-by-Step Tutorial
Mervin Praison
GPT4All: INSANE Way to Run Large Language Models Locally! ๐ฒ Step-By-Step Tutorial
Mervin Praison
Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!๐คฏ
Mervin Praison
MemGPT ๐ง LLM as Operating System. It's INSANE! Step-by-Step Tutorial ๐คฏ
Mervin Praison
Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! ๐คฏ
Mervin Praison
Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! ๐ฒ
Mervin Praison
Integrate Langchain and Ollama for Local AI Power ๐คฏ Indeed POWERFUL!
Mervin Praison
ChatDev: INSANE Virtual AI Agents! Future of Software Development ๐ฒ
Mervin Praison
Query PDFs Using Mistral: Unlock INSANE Power! ๐คฏ
Mervin Praison
AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! ๐คฏ
Mervin Praison
AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup ๐คฏ
Mervin Praison
MemGPT: Amazing! External Context for LLM #ai #llm #memgpt #generativeai #mem #gpt #openai #chatgpt
Mervin Praison
GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! ๐คฏ FULL Tutorial
Mervin Praison
VertexAI Meets LangChain for Mind-Blowing AI Conversations! ๐ฒ Step by Step Tutorial
Mervin Praison
Simplified ChatGPT API Setup on Node.js for Newbies! ๐ Step by Step Tutorial
Mervin Praison
Autogen: Ollama integration ๐คฏ Step by Step Tutorial. Mind-blowing!
Mervin Praison
LiteLLM: One-Function Call to ANY Large Language Model! ๐คฏ UNBELIEVABLE!
Mervin Praison
ChatGPT Chatbot in Less Time Than You Think! ๐๐ Step-by-Step Tutorial
Mervin Praison
LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! ๐ค๐ฅ
Mervin Praison
Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! ๐ค
Mervin Praison
Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! ๐
Mervin Praison
LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! ๐
Mervin Praison
INSANE! OpenAgents: Automated Data Analysis with Kaggle ๐คฏ
Mervin Praison
React.js LLM Agent for Next-Gen Coding using ChatGPT ๐ Mind-Blowing ๐คฏ
Mervin Praison
MemGPT + Any LLM ๐ 100% Local & Private Integration Unveiled! Unlimited Memory
Mervin Praison
MemGPT + AutoGen ๐ง ๐ค Unlimited Memory & Autonomous AI Agents! INSANE๐คฏ
Mervin Praison
AutoGen + Google's Palm LLM & More! Revolutionary AI Integration ๐
Mervin Praison
MemGPT & LM Studio Integration Revealed! ๐ฅ Next-Level AI
Mervin Praison
๐ AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
Mervin Praison
AutoLLM & Gradio Integration You Won't Believe! ๐คฏ Mind-Blowing
Mervin Praison
AutoLLM & FastAPI Tutorial: Query 100+ Language Models! ๐ฑ
Mervin Praison
Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! ๐คฏ
Mervin Praison
AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! ๐ง AMAZING ๐คฏ
Mervin Praison
LocalAI: Free, Open Source OpenAI Alternative ๐ INSANE ๐คฏ Step-by-Step Tutorial
Mervin Praison
Yarn Mistral 7B 128k LARGE context window, Small size ๐คฏ INSANE ๐ Setup Tutorial!
Mervin Praison
Zephyr-7B: The Small and Mighty LLM ๐คฏ Step by Step Tutorial! ๐
Mervin Praison
Promptfoo: How to Test Your LLM ? ๐ VERY EASY!
Mervin Praison
Pydantic: How to Validate LLM Responses? ๐ Quality Response. VERY EASY!!!!
Mervin Praison
Pydantic: FORCE Your AI to Respond Back in UPPERCASE! ๐คฏ Step-by-Step Tutorial ๐ฅ
Mervin Praison
Pydantic: How to use LLM to convert unstructured data to structured data?
Mervin Praison
AutoGen Function Calling: INSANE ๐ Custom Integrations! Step-by-Step Tutorial ๐คฏ
Mervin Praison
OpenAI Assistants API + Python ๐ค How to get started? (FULL Tutorial) ๐คฏ INSANE
Mervin Praison
GPT-4 Vision API ๐คฏ INSANE Video Recognition Powers! Step-by-Step Tutorial ๐
Mervin Praison
GPT-4 Vision API ๐ The Future of Image Recognition! ๐คฏ Step-by-Step Tutorial
Mervin Praison
More on: LLM Foundations
View skill โRelated AI Lessons
โก
โก
โก
โก
Sub-10ms AI Workflows: Accelerating sim.ai with On-Device Semantic Search using Moss
Medium ยท Machine Learning
Stop Guessing: Guaranteed Structured Output from LLMs in Node.js
Dev.to ยท Hardik Mehta
Spring AI Tutorial โ Your First REST Endpoint with OpenAI (2026)
Dev.to AI
Notes: Memory, Context, and Large Language Models (LLMs)
Dev.to ยท Vladimir Panov
Chapters (6)
Introduction
0:02
Running Large Language Models
0:11
Chatbot Creation with OpenAI
0:44
Utilizing Text Generation Web UI
1:45
Setting up API Base
2:10
Initiating the Chatbot
๐
Tutor Explanation
DeepCamp AI