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.
Overview
Syllabus
- Welcome to the course
- Intro to Mistral by Sophia Yang
- Sign up for La Plateforme
- Mistral Chat Completion API
- Mistral's Chat Completion API - part 2
- Mistral's models
- What is RAG?
- What are embeddings?
- RAG - Chunking text
- RAG - Completing the splitDocument function
- RAG - Creating our very first embedding
- RAG - Challenge: embedding all chunks and preparing it for the vector db
- Vector databases
- Set up your vector database
- RAG - Uploading data to the vector db
- RAG - Query and Create completion
- RAG - Improve the retrieval and complete the generation
- Function calling
- Function calling - Adding a second function
- Function calling - Unpacking the function and arguments
- Function calling - Making the call
- Function calling - Updating the messages array
- Function calling - Creating the loop
- Download and Run AI Models on Your Computer with Ollama
- Outro & recap - Mistral AI
- Want to become a Scrimbassador?
- How to Utilize Your Certificate
Reviews
5.0 rating, based on 1 Class Central review
Showing Class Central Sort
-
This course is approximately 90 minutes in length, or longer if you decide to code along.
While simple, it brings together a number of different concepts, such as RAG, Vectors, Embeddings, and Function Calling, into a single course with working code examples in JavaScript that you can experiment with directly in your browser.