AutoLLM & FastAPI Tutorial: Query 100+ Language Models! ๐ฑ
Key Takeaways
This video demonstrates how to build a robust API using AutoLLM and FastAPI, capable of interacting with 100+ large language models, and seamless testing with Postman.
Full Transcript
this is huge we are going to build an application which is capable of talking to 100 plus large language model and in this video we are going to see how to create a API so let's get [Music] started hi everyone I'm really excited to show you how to create an API from Auto llm using fast API in the previous video we already seen this code so I link that in the description below first Import Auto query engine from autol llm this is used to create a query engine next import the simple directory reader to read all the files which is in the data folder if you see the folder structure you have a folder called Data inside that we have a file called text.txt the content is about autol llm so using this documents variable we are going to read all the files which is in the data folder so it's simple direct reader and data and load data next Define a query engine and pause the document inside the query engine this will automatically create the emings required next next you are able to query the query engine so I've asked explain me about autol llm this should automatically respond with the response to convert this into fast API application import uvon next from Auto llm Import Auto fast API this will import the fast API required next instead of response we are going to create app equals autofast API Dot from query engine and pass the query engine inside the bracket just by having the one line of code you are able to convert this application into a fast API application now at app.get and then back slash that's the root folder we are going to define a main function where we are passing the query inside that then returning the query engine. query next we are going to define the main function which isore name and Main and then UV con. run and pause the app come host could be 0.0.0 that's the like the local host and then port number 8,000 that's it so it's just literally adding three lines of code compared to what it was before first you create an app using autofast API then you create a main function and return the query engine. query that should process the query at the end you define the uvon do run application and pass the app thus this application will be running in port number 8,000 in your Local Host so I'm going to run this code now so we're going to type python app.py in your terminal and click enter now it's passing documents generating eddings and you can see your API is running in port number 8,000 so we going to test this API using Postman so I have opened Postman now I've entered the URL here as 0000 colon 8000 now going into the params tab enter the key which is q and then pass the value what is auto l M I have asked the question here which you can see and I'm going to click Send now the application is running and you got a response now Auto LM is a feature Rich package that simplifies large model and you can see the structure of the response here in this tab that's it now you have created API endpoint that can respond to your query as simple as that I'm also going to create more videos in regards to autol llm so stay tuned I hope you like this video do like share and subscribe and thanks for watching
Original Description
๐ฅWelcome to the ultimate guide on creating a revolutionary API using AutoLLM and FastAPI!๐ฅ
๐What You'll Learn:๐
Build a robust API capable of interacting with 100+ large language models.
Master FastAPI integrations.
Seamless testing with Postman.
๐Timestamps
0:00 Introduction
0:25 Importing Dependencies
0:55 Building Query Engine
1:25 FastAPI Integration
2:10 Running the App
2:42 Testing with Postman
๐ Don't forget to LIKE, SHARE, and SUBSCRIBE! ๐
#AutoLLM, #FastAPI, #API, #LanguageModels, #MachineLearning, #AI, #QueryEngine, #Postman, #Integration, #Tutorial, #Guide, #Howto, #Python, #Code, #Localhost, #Port, #Testing, #Response, #URL, #DataFolder, #SimpleDirectoryReader, #Uvicorn, #App, #Host, #Endpoint, #Documents, #Edgings, #Params, #Key, #Value, #TextFile, #NLP, #QueryFunction, #Terminal, #MainFunction, #GET, #Application, #WebDevelopment, #OpenSource, #Scalability, #APITesting, #HTTP, #Port8000, #Asynchronous, #PythonLibrary, #Back-end
Watch on YouTube โ
(saves to browser)
Sign in to unlock AI tutor explanation ยท โก30
Playlist
Uploads from Mervin Praison ยท Mervin Praison ยท 47 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
36
37
38
39
40
41
42
43
44
45
46
โถ
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 Reads
๐ฐ
๐ฐ
๐ฐ
๐ฐ
Why LLM-Era AI Systems Break Every Rule You Learned About ML in Production
Medium ยท Machine Learning
Why LLM-Era AI Systems Break Every Rule You Learned About ML in Production
Medium ยท LLM
Why LLM-Era AI Systems Break Every Rule You Learned About ML in Production
Medium ยท ChatGPT
From zero to live in a weekend: Parlร ta
Medium ยท AI
Chapters (6)
Introduction
0:25
Importing Dependencies
0:55
Building Query Engine
1:25
FastAPI Integration
2:10
Running the App
2:42
Testing with Postman
๐
Tutor Explanation
DeepCamp AI