![Craft an AutoGPT Code Generation AI Instrument Leveraging Rust and GPT-4 [Video]](https://content.packt.com/V21463/cover_image_small.jpg)
Craft an AutoGPT Code Generation AI Instrument Leveraging Rust and GPT-4 [Video]
Subscription
FREE
Video + Subscription
$12.99
Video
$109.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$12.99
Video
$109.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction
-
Rust Crash Course - Learning the Rust Environment
- Rust Installation - Quick Walkthrough
- About Rustup
- Preparing Visual Studio Code
- Cargo New - Your First Rust Project
- Your First Rust Function
- A Brief Programming Language Comparison
- Structuring Project Modules - Brief Introduction
- Unit Testing with Cargo
- Create Docs with Cargo
- Creating a Rust Library
- Dead Code and Unused Variables
-
Rust Crash Course - Types and Memory Management
- Rust Versus Other Languages Revisited
- Integer Types
- Data Type Cheatsheet
- Stack Versus Heap Introduction
- Stack Deep Dive
- Stack Versus Heap Walkthrough
- String Literals and Static (Read-Only) Memory
- Ownership and Borrowing - Immutable References
- Ownership and Borrowing - Mutable References
- Ownership and Borrowing - Dereferencing
- About Scope
-
Rust Crash Course - Basics
-
Rust Crash Course - Intermediate
- Introduction - Create Module
- Enums - Your First Enum
- Enums - Result Enum with Generics Introduction
- Enums - Option Enum with Some or None
- Rusts Result and Option
- Structs - Your First Struct
- Structs - Using Type Impl
- Traits Introduction
- Polymorphism with Traits and Generics
- Lifetimes - Introduction
- Lifetimes - Generics and Structs
- Pattern Matching - Integer, Option, and Result
- Pattern Matching - Mixed Data Enum
- Pattern Matching - Match Guards and Structs
- Your First Async API Call
- Handling Errors
- Collections Revisited - HashMaps and HashSets
- Project Cleanup
-
Rust Crash Course - Advanced
- Declarative Macros - Introduction
- Declarative Macros - With Repetitions
- Procedural Macros (Theory) - Introduction to Derive
- Procedural Macros (Theory) – Function-Like Macro
- Procedural Macros (Theory) – Attribute-Like Macro
- Procedural Macros (Practice) - Building an AI Function
- Smart Pointers - Box
- Smart Pointers - Reference Counting with RefCell
- Smart Pointers - Reference Counting with Weak
- Rust Concurrency with Mutex and Arc
- Publish Packages to Crates
-
Build Web Server Template - First Project
- Theory - Introduction to Web Servers and Actix Web
- Theory - Actix Web REST API Docs Walkthrough
- Project Setup
- Struct Definitions
- Database Implementation
- Creating AppState with Mutex Provided Safety
- Writing Our Initial Web Server
- Testing Create Task Rest API Endpoint with Postman
- Create and Test GET Task Request
- Complete Task CRUD
- User Registration and Login
- Mutation Adjustment
- Next Steps
-
AutoGPT Project - Supporting Functions
- Supporting Functions - Section Introduction
- Project Setup
- User Interaction with Command Line
- Extract API Keys
- OpenAI Call - Key Provisions
- OpenAI Call - Create Client
- OpenAI Call - Test API Call
- OpenAI Call - Error Handling
- OpenAI Call - Completion
- Extract AI Functions
- Extend AI Function
- Print Agent Activity to Command Line
- AI Task Function
- AI Task Function Decoded
- API Endpoint Valid Check Function
- File Read and Write Functions
-
Auto GPT Project - Create Agents
- Create Agents - Section Introduction
- Basic Agent - Create Basic Agent
- Managing Agent - FactSheet Struct
- Managing Agent - Special Functions Trait
- Solutions Architect - Call Project Scope
- Solutions Architect - Call External URLs
- Solutions Architect - Handle Discovery State
- Solutions Architect - Write Test for Checking URLs
- Solutions Agent - Full Agent Test
- Managing Agent - Create New
- Managing Agent - Execute Project Fn
- Managing Agent - Initial Agent Test
- Backend Developer - Write and Improve Code Fn
- Backend Developer - Fix Code Bugs Fn
- Backend Developer - Rest API Endpoints Fn
- Backend Developer - Discovery and Working States
- Backend Developer - Initial Agent Test
- Backend Developer - Ensure AI Safety Human Check
- Backend Developer - Write Automated Cargo Build
- Backend Developer - Write Automated Cargo Run
- Backend Developer - Write Automated Endpoint Testing
- Backend Developer - Unit Testing Agents Unit Tests
- Backend Developer - Testing Code Rewrites
-
Auto GPT Project - Finalize Agent Gippity
About this video
In this course, we will embark on an exciting journey to master Rust programming from zero to hero, while leveraging the cutting-edge GPT-4 (ChatGPT) to build our very own AutoGPT agent, named “Auto-Gippity”.
Starting with a Rust crash course, you will learn the language inside out, progressing from basic concepts to intermediate and advanced topics. We will explore Rust installation, creating projects, functions, and more. This strong Rust foundation will set the stage for our AutoGPT project.
Next, we will dive into the heart of the course. We will develop a web server template using Actix Web in Rust, integrating AI functions to write, test, and optimize code. Our AutoGPT agent, “Gippity”, will amaze you by accepting tasks, breaking them down, and delegating them to specialized agents. We will create agents such as the Solutions Architect, Backend Developer, and more, each with unique roles to enhance Gippity’s capabilities.
Finally, we will put Gippity to the test. We will perform comprehensive evaluations, including human reviews, to ensure the accuracy and reliability of the code it generates. We will explore overcoming limitations and discuss the next steps for our AutoGPT project, leaving you with a clear roadmap to continue your AI and Rust journey.
By the end of this course, you will be a proficient Rust programmer with an in-depth understanding of AI integration.
- Publication date:
- August 2023
- Publisher
- Packt
- Duration
- 15 hours 58 minutes
- ISBN
- 9781835085417