Find the perfect coding resourcesLearn more

Intro to Mistral AI

ScrimbaScrimba
Recommended
Meet Your Instructor
Per Borgen avatar

Per Borgen

Instructor

Developer, teacher, and co-founder of Scrimba. I love teaching people how to code and helping them break into the tech industry. Based in Oslo, Norway.

1h 24m

Completion

Certificate included

Format

Interactive coding

Free

What You'll Learn

Explain the process of setting up a vector database for AI applications

Explore the roles and capabilities of AI agents

Explain the concept of vectors in machine learning and AI

Learn about embeddings and how they are utilized in AI models

Examine Mistral's commercial models and how they differ from open-source models

Overview

Get up-to-speed with Mistral AI through a crash course developed in partnership with the AI provider itself. Throughout 25 interactive lessons, 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. If you're looking for a quick but well-rounded intro to Mistral, this is your perfect course.

Table of Contents
1
Welcome to the course2:47
2
Intro to Mistral by Sophia Yang2:12
3
Sign up for La Plateforme1:24
4
Mistral Chat Completion API4:08
5
Mistral's Chat Completion API - part 23:57
6
Mistral's models4:31
7
What is RAG?4:21
8
What are embeddings?6:13
9
RAG - Chunking text4:48
10
RAG - Completing the splitDocument function1:50
11
RAG - Creating our very first embedding2:28
12
RAG - Challenge: embedding all chunks and preparing it for the vector db4:40
13
Vector databases3:00
14
Set up your vector database3:13
15
RAG - Uploading data to the vector db2:42
16
RAG - Query and Create completion4:51
17
RAG - Improve the retrieval and complete the generation4:53
18
Function calling4:04
19
Function calling - Adding a second function2:22
20
Function calling - Unpacking the function and arguments3:45
21
Function calling - Making the call1:46
22
Function calling - Updating the messages array1:56
23
Function calling - Creating the loop2:48
24
Download and Run AI Models on Your Computer with Ollama3:56
25
Outro & recap - Mistral AI1:17
26
How to Utilize Your Certificate0:56
27
Certificate of Completion

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!