Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Coding a Rust OpenAI Assistant CLI from Scratch

Jeremy Chone via YouTube

Overview

Learn to build a custom Rust AI Assistant from scratch using the OpenAI Assistant API in this comprehensive tutorial. Explore best practices and techniques for creating a command-line interface (CLI) application that interacts with AI. Follow along as the instructor guides you through setting up dependencies, implementing error handling, creating and managing AI assistants, handling conversations, and building a user-friendly interface. Gain hands-on experience with file parsing, bundling, and terminal interactions while developing a fully functional AI buddy. By the end of this tutorial, you'll have created a robust Rust-based AI assistant and gained valuable insights into production-level Rust programming.

Syllabus

- - Intro
- - Dependencies
- - Rust - Error Model "Trick"
- - AI Service - Client
- - Assistant - Create
- - Assistant - Load or Create find assistant by name
- - Assistant - Upload Instructions
- - Assistant - Create Thread
- - Assistant - Run Thread
- - Assistant - First Run Thread / Message
- - Buddy - Config & Data Dir
- - Utils - Files parsing, bundling
- - Utils - Term prompts and icons
- - Buddy - Init from dir
- - Buddy - Upload Instructions
- - Buddy - Conversation & Chat
- - Prompt - Command / Loop
- - First Prompt Test
- - Assistant/Buddy - Upload Bundle
- - Assistant Delete
- - Final Demo / Test

Taught by

Jeremy Chone

Reviews

Start your review of Coding a Rust OpenAI Assistant CLI from Scratch

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.