Create AI Chatbot from Tabular Data using VectorShift AI Agent

Mervin Praison · Beginner ·🧠 Large Language Models ·2y ago

Key Takeaways

Create a CSV data-driven chatbot using VectorShift AI Agent and deploy it on a website, leveraging no-code AI automation, retrieval augmented generation, and fine-tuning techniques with GPD 3.5 Turbo large language model and PostgreSQL database.

Full Transcript

this is amazing now we going to see Vector shift CSV chatbot in this we are going to create a chatbot like this where you can ask a question like this what is the price of Ford Focus 2018 and then click Send then the chatbot is going to read the CSV which you can see here Ford Focus the pric is 14,000 and it got the information from that and it's responding to the user so how you can create such a chatbot and publish it on your website that's exactly what we're going to see today let's get [Music] started hi everyone I'm really excited to show you about Vector shift CSV chatbot in this when the user is asking a question to the chatbot it is going to use the information from CSV and then respond to the user accordingly if the user ask any question other than the data available in the CSV the chatbot is going to decide and it will use a knowledge base to retrieve relevant information and answer the question so let's take an example Ford Company chatbot so the user is asking question what is the price of Ford Focus and the chatbot is going to read from CSV and respond if the user is asking what is Ford as a company then the chatbot is going to use the knowledge base and then respond accordingly in this we are going to see how to upload data in regards to CSV chatbot the data could be your own CSV or even your own knowledge base such as PDF URL Etc next next we are setting up the pipeline publishing the chatbot and finally deploying on the website so in Vector panel the first step we are going to upload data such as the CSV file with pricing then set up a knowledge base with four data next we are going to create a pipeline which looks like this I'm going to break that down for you and finally publish it on your website like this I'm going to take you through step by step but before that I regularly create videos in regards to Artificial Intelligence on my YouTube channel so do subscribe and click the Bell icon to stay tuned make sure you click the like button so this video can be helpful for many others like here thanks to Vector shift for sponsoring this video so as you probably know Vector shift is no code AI automation platform where you are able to build pipelines automate the whole workflow integrate this with multiple tools and finally publish it on your website I've already covered basics in regards to Vector shift which I will link that in the description below you can get started for free then upgrade if you want to use mvin prais as coupon code to get 20% off now first step we're going to upload data so in your dashboard go to storage first in the file section you can click new upload file and choose the CSV to upload I've uploaded Ford prices. CSV file next go to knowledge bases there you can click new create a knowledge base I'm going to name it as my for you can go to advaned settings if you want to change the chunk size and the embedding model which you want to use I'm going to use text embedding for now and click confirm you can leave it to default it should still work now after coming inside the knowledge base click add documents I'm going to use a URL so I'm going to add this Wikipedia page about Ford company as a knowledge base so I've copied the URL and I'm adding that here you can even upload your own file such as PDF file and many other type of file and click add now in this case I have added URL so now now it start embedding now you can see totally 160 chunks of data taken from the Wikipedia article so what happened here we uploaded data that is a URL then it got divided into chunks in our case is6 chunks and then it got converted to embeddings and it got stored in the database so Vector shift does all the things in the background now next step we're going to create a pipeline and make the user ask a question to the chatbot so coming to our dashboard we are going to the pipeline section you can create a new pipeline from scratch or from template for now I've already created this pipeline which I'm going to explain to you so in simple terms this is exactly how it's going to look like but let's go into more detail so first there's an input field where the user is asking a question then that question is sent to the chatbot or the lodge language model in this case we are using GPD 3.5 turbo you can even choose any other model of your choice and we got various other large language model here next we are providing the information here you are an expert classification agent for fold your job is to classify whether the question is about pricing or about general information so the chat bot is going to decide if the question is about pricing or about Ford company so if it's about pricing then it need to go to the CSV so in instead of directly going to the CSV we are doing another request to the lar language model so this is used to convert a normal instruction to a SQL instruction your job is to convert a question into a specific format the table has three columns model year and price so the CSV which we uploaded contains model year and price so we telling the Lost language model it contains model ear and price column So based on the question the L language model can create a SQL query and run that against the CSV query loader this is a post database so as soon as you upload a file or choose a file which is for prices. tsv this will get converted and loaded in the postgress SQL database then based on the SQL query the output got generated after running the query and finally it is merged and send to the output that's it so that is when the user ask a question about pricing but what if the user is asking about company for then it is going to a different route similar to the one which I've shown above but in this case we are loading the data from a knowledge base so that is my for data that is the URL Wikipedia which we have uploaded which contains 116 chunks next that information is again passed to the large language model to generate a response in this we are providing three different things one is the question next the context from the knowledge reader and third the chat memory which contains the history of the previous chat so question context of the key things which we are pausing here then the large language model is generating the response based on the information provided and finally it's sent to the merch and printed as output that's it so in simple terms we are using a lodge language model at each of this notes to process the request this log language model will check if it needs to go through this path or this path then the laun language model present in CSV and in the knowledge base will extract the data and finally send the output to the user now we got all the pipeline ready we are going to test it by clicking the play button at the top here I'm going to ask a question what is the price of Ford Focus 2018 model and click run and here is the answer the price of a car model with focus and year 2018 is 14,000 that is correct which you can see from this table if you get any errors in this area make sure you go to the upload file section and then re-upload the file directly from here now we are ready to deploy so let's click at the top deploy changes and pipeline deployed next we are going to click the deploy ass as chatbot and provide the relevant information such as the name and the description then click save you can modify the functionality as per your requirement and finally you can export you can click open chat bot and it'll be opened as a interface you can even ask questions directly from here what is the price of for Focus 2018 and you will get a response like this similarly to publish this on website just copy this embed code in my case I'm going to use my WordPress website go to appearance and editor there I'm going to click templates and then page with sidebar and click fter then add the embedding code there next save and going to view the page now I can see the chatboard on my right hand side I can ask question directly here what is the pricee of Ford Focus 2018 and you got the response here this is exciting now you are able to create a chatbot and publish it on your website with your CSV data like this you can even integrate that with multiple different data source providers such as air table Google Docs Google Drive Google Sheets and much more this will take your application to the next level I'm going to create more videos similar to this so stay tuned I hope you like this video do like share and subscribe and thanks for watch watching

Original Description

:🤖 Discover the power of AI chatbots with our comprehensive tutorial on creating and deploying a CSV data-driven chatbot! In this video, I’ll guide you through the entire process, from setting up your data sources, building a pipeline, to deploying it on your website. Perfect for beginners and pros alike, learn how to enhance your website's interactivity and user engagement effortlessly. 🚀 Tabular Data Website Chatbot Creation using VectorShift AI Agent https://vectorshift.ai/ 20% Discount Coupon Code: MervinPraison 🔗 Key Features: No Code Needed: Use Vector Shift to build your chatbot without any coding. Data Upload: Learn how to upload and manage CSV files. Knowledge Base Integration: Incorporate external data like PDFs or URLs. Deployment: Publish your chatbot seamlessly on your site. 🛠️ What You'll Learn: Uploading CSV data and setting up knowledge bases. Creating pipelines with large language models. Embedding and testing your chatbot on a live website. 🔗 Resources: Sponsor a Video: https://mer.vin/contact/ Do a Demo of Your Product: https://mer.vin/contact/ Patreon: https://patreon.com/MervinPraison Ko-fi: https://ko-fi.com/mervinpraison Discord: https://discord.gg/nNZu5gGT59 Twitter / X : https://twitter.com/mervinpraison 📌 Timestamps: 0:00 - Introduction to Vector Shift CSV Chatbot 0:35 - Setup Overview: CSV & Knowledge Bases 1:55 - Step-by-Step Pipeline Creation 3:56 - Data Query Handling in Pipelines 5:57 - Final Testing and Deployment Tips 7:40 - Live Demo: Embedding Chatbot on a Website 👍 If you find this video helpful, please like, share, and subscribe for more tutorials on AI and automation. Use coupon code 'MVPIN' for 20% off when signing up for Vector Shift. 🎁 🔔 Stay connected! Don't forget to hit the bell icon to get notified about our latest uploads. Join us in revolutionizing website interactions with AI chatbots!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Mervin Praison · Mervin Praison · 0 of 60

← Previous Next →
1 Build GCP Infra using Pulumi in YAML format
Build GCP Infra using Pulumi in YAML format
Mervin Praison
2 How to Convert a Pulumi YAML File to Python Format
How to Convert a Pulumi YAML File to Python Format
Mervin Praison
3 Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Speed Up AWS EKS: A Complete Guide to Performance Tuning & Debugging!
Mervin Praison
4 Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Learn GCP GKE to AWS EKS Migration in Just 5 Minutes: Quick Guide
Mervin Praison
5 AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
AWS & Kubernetes: The Definitive Guide to Data Persistence with PV and PVC
Mervin Praison
6 ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
ChatGPT Voice Conversation RELEASED! It's AMAZING!! (Demo)
Mervin Praison
7 How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
How to Install Mistral 7B in Minutes: Quick & Easy Guide! ✅
Mervin Praison
8 Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Code Llama Install Locally: 🐍💻 Elevate Your Python Skills!
Mervin Praison
9 Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Orca Mini: Your Ultimate Guide to Install and Test on Mac & Linux 💻
Mervin Praison
10 Quick & Easy Vicuna Setup on Mac and Linux 💻
Quick & Easy Vicuna Setup on Mac and Linux 💻
Mervin Praison
11 Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Quick Guide: Llama2 Local Installation and ChatGPT with pip! Python🛠️
Mervin Praison
12 Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Query PDFs Like a Pro with Local GPT: Full Setup Guide! 📜
Mervin Praison
13 LM Studio: EASIEST way to Run Large Language Models Locally!
LM Studio: EASIEST way to Run Large Language Models Locally!
Mervin Praison
14 AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
AMAZING ChatGPT Vision is OUT! 🤯 14+ Examples (Step-by-Step) FULL Tutorial
Mervin Praison
15 Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Unbelievable! Build ANY App Instantly with Smol AI! 😲🔥
Mervin Praison
16 Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Amazing! AutoGen Made Easy: A Step-by-Step Beginners Guide 📚
Mervin Praison
17 How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
How to Set Up LoLLMS and Run LLMs Locally! 🚀 Step-by-Step Tutorial
Mervin Praison
18 GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
GPT4All: INSANE Way to Run Large Language Models Locally! 😲 Step-By-Step Tutorial
Mervin Praison
19 Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Incredible AI-Powered NPCs in Unity Game Engine: Step by Step Tutorial!🤯
Mervin Praison
20 MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
MemGPT 🧠 LLM as Operating System. It's INSANE! Step-by-Step Tutorial 🤯
Mervin Praison
21 Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Text Generation Web UI: MIND-BLOWING Way to Run LLM Locally! 🤯
Mervin Praison
22 Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Unlock the INSANE Power of OpenAI GPT-4 with C#/.NET! 😲
Mervin Praison
23 Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Integrate Langchain and Ollama for Local AI Power 🤯 Indeed POWERFUL!
Mervin Praison
24 ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
ChatDev: INSANE Virtual AI Agents! Future of Software Development 😲
Mervin Praison
25 Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Query PDFs Using Mistral: Unlock INSANE Power! 🤯
Mervin Praison
26 AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
AutoGen + Open-Source LLMs: UNBELIEVABLE! Step-by-Step Tutorial You Can't Miss! 🤯
Mervin Praison
27 AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
AutoGen + Text Generation WebUI: Unbelievable 100% Local Private Setup 🤯
Mervin Praison
28 MemGPT: Amazing! External Context for LLM #ai #llm #memgpt  #generativeai #mem #gpt #openai #chatgpt
MemGPT: Amazing! External Context for LLM #ai #llm #memgpt #generativeai #mem #gpt #openai #chatgpt
Mervin Praison
29 GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
GeniA: Kubernetes + AI for MIND-BLOWING Operational Efficiency! 🤯 FULL Tutorial
Mervin Praison
30 VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
VertexAI Meets LangChain for Mind-Blowing AI Conversations! 😲 Step by Step Tutorial
Mervin Praison
31 Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Simplified ChatGPT API Setup on Node.js for Newbies! 😍 Step by Step Tutorial
Mervin Praison
32 Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Autogen: Ollama integration 🤯 Step by Step Tutorial. Mind-blowing!
Mervin Praison
33 LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
LiteLLM: One-Function Call to ANY Large Language Model! 🤯 UNBELIEVABLE!
Mervin Praison
34 ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
ChatGPT Chatbot in Less Time Than You Think! 🚀😎 Step-by-Step Tutorial
Mervin Praison
35 LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
LiteLLM Chatbot: Build Your Own in MINUTES! INSANE! 🤖🔥
Mervin Praison
36 Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Create Chatbot: Turn ANY Open-Source LLM into a Conversation Pro! 🤖
Mervin Praison
37 Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Create Chatbot: Ollama Integration Made UNBELIEVABLY Easy! 🎉
Mervin Praison
38 LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
LlamaIndex + ChatGPT: Ingest Data and Experience UNBELIEVABLE Query Results! 🌟
Mervin Praison
39 INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
INSANE! OpenAgents: Automated Data Analysis with Kaggle 🤯
Mervin Praison
40 React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
React.js LLM Agent for Next-Gen Coding using ChatGPT 🚀 Mind-Blowing 🤯
Mervin Praison
41 MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
MemGPT + Any LLM 🚀 100% Local & Private Integration Unveiled! Unlimited Memory
Mervin Praison
42 MemGPT  + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
MemGPT + AutoGen 🧠🤖 Unlimited Memory & Autonomous AI Agents! INSANE🤯
Mervin Praison
43 AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
AutoGen + Google's Palm LLM & More! Revolutionary AI Integration 🚀
Mervin Praison
44 MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
MemGPT & LM Studio Integration Revealed! 🔥 Next-Level AI
Mervin Praison
45 🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
🚀 AutoLLM: Unlock the Power of 100+ Language Models! Step-by-Step Tutorial
Mervin Praison
46 AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
AutoLLM & Gradio Integration You Won't Believe! 🤯 Mind-Blowing
Mervin Praison
47 AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
AutoLLM & FastAPI Tutorial: Query 100+ Language Models! 😱
Mervin Praison
48 Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Quivr: LLM's Second Brain - Transforming Data Management & Advanced Query with AI! 🤯
Mervin Praison
49 AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
AutoGen & MemGPT with Local LLM: A Complete Setup Tutorial! 🧠 AMAZING 🤯
Mervin Praison
50 LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
LocalAI: Free, Open Source OpenAI Alternative 🚀 INSANE 🤯 Step-by-Step Tutorial
Mervin Praison
51 Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Yarn Mistral 7B 128k LARGE context window, Small size 🤯 INSANE 🚀 Setup Tutorial!
Mervin Praison
52 Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Zephyr-7B: The Small and Mighty LLM 🤯 Step by Step Tutorial! 📘
Mervin Praison
53 Promptfoo: How to Test Your LLM ? 🚀  VERY EASY!
Promptfoo: How to Test Your LLM ? 🚀 VERY EASY!
Mervin Praison
54 Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Pydantic: How to Validate LLM Responses? 🚀 Quality Response. VERY EASY!!!!
Mervin Praison
55 Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Pydantic: FORCE Your AI to Respond Back in UPPERCASE! 🤯 Step-by-Step Tutorial 🔥
Mervin Praison
56 Pydantic: How to use LLM to convert unstructured data to structured data?
Pydantic: How to use LLM to convert unstructured data to structured data?
Mervin Praison
57 AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
AutoGen Function Calling: INSANE 🚀 Custom Integrations! Step-by-Step Tutorial 🤯
Mervin Praison
58 OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
OpenAI Assistants API + Python 🤖 How to get started? (FULL Tutorial) 🤯 INSANE
Mervin Praison
59 GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
GPT-4 Vision API 🤯 INSANE Video Recognition Powers! Step-by-Step Tutorial 🚀
Mervin Praison
60 GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
GPT-4 Vision API 🚀 The Future of Image Recognition! 🤯 Step-by-Step Tutorial
Mervin Praison

This video tutorial guides you through creating and deploying a CSV data-driven chatbot using VectorShift AI Agent, leveraging no-code AI automation and retrieval augmented generation techniques. You'll learn how to build a pipeline, deploy the chatbot on a website, and integrate with multiple data sources.

Key Takeaways
  1. Upload a CSV file to VectorShift dashboard
  2. Create a knowledge base with data from a Wikipedia article
  3. Create a pipeline to retrieve relevant information and answer user questions
  4. Deploy the chatbot on a website using VectorShift no-code AI automation platform
  5. Classify user questions into pricing or general information
  6. Convert user questions into SQL queries
  7. Load data from a CSV file or knowledge base
  8. Generate chatbot responses using a large language model
  9. Click Deploy and provide name and description
  10. Export and open chatbot interface
💡 The VectorShift AI Agent enables no-code AI automation for chatbot creation and deployment, making it accessible to beginners and pros alike.

Related Reads

📰
I compared the real cost of running LLMs on AWS - here's when each option makes sense
Learn when to use each AWS option for running LLMs in production and understand their cost implications
Dev.to · Jerzy Kopaczewski
📰
Building a Character-Level Bigram Language Model from Scratch with PyTorch
Learn to build a basic character-level bigram language model from scratch using PyTorch, understanding the fundamentals of neural language modeling
Dev.to · Mohamed Heni
📰
Running NVIDIA Nemotron 3.5 ASR Locally with parakeet.cpp (and how it beat Whisper on my laptop)
Run NVIDIA Nemotron 3.5 ASR locally for offline speech-to-text capabilities without relying on cloud services or incurring API bills
Medium · LLM
📰
When Does a Prompt Become an Undocumented Program?
Learn to identify when a prompt becomes an undocumented program and why it matters for effective AI integration in analyst work
Dev.to · Yura Solovey

Chapters (6)

Introduction to Vector Shift CSV Chatbot
0:35 Setup Overview: CSV & Knowledge Bases
1:55 Step-by-Step Pipeline Creation
3:56 Data Query Handling in Pipelines
5:57 Final Testing and Deployment Tips
7:40 Live Demo: Embedding Chatbot on a Website
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →