✏️ Study this course interactively on Scrimba:
Learn how to use the Mistral AI to build intelligent apps, all the way from simple chat completions to advanced use-cases like RAG and function calling. Created in collaboration between Mistral AI and Scrimba.
Code is available on the Scrimba course page for each lesson. You will learn how to build intelligent applications that span from straightforward chat completions to complex functionalities like Retrieval-Augmented Generation (RAG) and function calling.
Starting off, you’ll get an introduction to Mistral’s open-source models, including Mistral 7B and Mistral 8x7B, and progress to their commercial models. You’ll gain hands-on experience leveraging the full suite of Mistral’s La Plateforme.
The rest of the course is mainly focused on two essential paradigms in AI engineering: knowledge retrieval and AI agents. In the first part, you’ll learn how to split text documents with LangChain, convert them into embeddings, store them in a vector database, and finally perform retrieval.
In the AI agents segment, you’ll learn how to give Mistral access to the functions within your app, and let their models decide when to call them. This skill will enable you to create a whole new type of user experience, where people can interact with your apps through conversation instead of mere clicking.
Towards the end, we will also go through how you can use Ollama to easily run inference on your own computer, and use it as the backbone of any AI app you develop locally.
Created by Per Borgen from Scrimba.
⭐️ Contents ⭐️
⌨️ (0:00:00) Welcome to the course
⌨️ (0:02:36) Intro to Mistral by Sophia Yang
⌨️ (0:05:41) Sign up for La Plateforme
⌨️ (0:07:08) Mistral’s Chat Completion API
⌨️ (0:11:19) Mistral’s Chat Completion API - part 2
⌨️ (0:15:20) Mistral’s models
⌨️ (0:19:54) What is RAG?
⌨️ (0:24:19) What are embeddings?
⌨️ (0:30:35) RAG - Chunking text with LangChain
⌨️ (0:35:27) RAG - Completing the splitDocument function
⌨️ (0:37:20) RAG - Creating our very first embedding
⌨️ (0:39:51) RAG - Challenge: embedding all chunks and preparing it for the vector db
⌨️ (0:44:34) Set up your vector database
⌨️ (0:47:27) Vector databases
⌨️ (0:47:51) RAG - Uploading data to the vector db
⌨️ (0:50:36) RAG - Query and Create completion
⌨️ (0:55:30) RAG - Improve the retrieval and complete the generation
⌨️ (1:00:26) Function calling
⌨️ (1:05:46) Function calling - Adding a second function
⌨️ (1:08:11) Function calling - Unpacking the function and arguments
⌨️ (1:12:00) Function calling - Making the call
⌨️ (1:13:49) Function calling - Updating the messages array
⌨️ (1:15:49) Function calling - Creating the loop
⌨️ (1:18:41) Running Mistral locally
⌨️ (1:22:39) Outro & recap - Mistral AI
Correction:
16:43 Upon running this calculation through a state-of-the art calculator and cross referencing with advanced AI, we determined that 8 times 7 is actually 56.
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job:
Read hundreds of articles on programming:
2 views
786
285
1 month ago 01:24:05 1
Learn Mistral AI – JavaScript Tutorial
2 months ago 00:14:42 1
100% Local AI Speech to Speech with RAG - Low Latency | Mistral 7B, Faster Whisper ++
3 months ago 00:28:50 1
Things Loren Can Do On His Own After The Accident!
4 months ago 00:25:26 1
Build Real-Time AI Voice Assistant With RAG Pipeline And Memory | Mistral LLM | Ollama | LlamaIndex
6 months ago 00:34:42 1
Claude 3 is AWESOME. The most powerful llm. Better Gpt4?
7 months ago 01:21:13 1
Tutorial | Chat with any Website using Python and Langchain (LATEST VERSION)
8 months ago 00:21:33 1
KI 2024: 16 Vorhersagen für künstliche Intelligenz - Das wird Passieren…
9 months ago 00:04:37 1
This new AI is powerful and uncensored… Let’s run it
9 months ago 00:10:10 1
The Solar System’s Forgotten Planets
1 year ago 00:01:51 7
Learn the Alphabet with Metal Gear Rising
1 year ago 01:14:26 1
Paul Van Dyk Live At Atlantis Festival, Mad Club, Lausanne, .
1 year ago 00:26:12 1
Apprendre le français, MISTRAL GAGNANT Expliquée
1 year ago 00:00:58 1
Russian marines begin training in France to man Mistral warship
1 year ago 00:06:30 1
Potpisani ugovori za novo naoružanje za Vojsku Srbije Signed Contracts New Armament for Serbian Army
1 year ago 00:50:19 2
Mistral - In the Throes of Losing Love (full album, 2023)
3 years ago 01:19:18 1
A Higher State Of Euphoria Level 3 Mixed By Moose PF Project 1999 CD 1
6 years ago 00:03:02 81
Mistral gagnant Coeur de pirate / Renaud - full PIANO SHEET / PARTITION (karaoke)