Full tutorial on coding AI function calling in Rust programming. We will be using the OpenAI API, but similar approaches can be applied with Mistral, Mixtral, LLAMA, Gemini, and many other LLMs.
GitHub repo: [ Ссылка ]
Rust10x extension: [ Ссылка ]
This video includes 6 chapters coded as examples. See below for the chapter/section markers.
- 00:00:00 Overview
- 00:01:36 C00 - Setup - Cargo.toml / dependencies
- 00:03:50 C00 Setup - Error.rs
- 00:07:11 C01 - Simple Chat
- 00:23:09 C02 - Tool Calls
- 00:34:23 C03 - Tool Responses
- 00:52:11 C04 - Conv refactoring
- 01:03:36 C05.1 - Continue refactor for schema.rs
- 01:14:24 C05.2 - Schema.rs and Spec
- 01:31:09 C05.3 - into spec params
- 01:46:50 C06.1 - joinset - concurrent OpenAI Request
- 01:51:44 C06.2 - Bonus - rpc_router state (i.e. resources)
[ Ссылка ] for more production coding in Rust.
Dev Note on Rust Analzyer - [16962 - Type inlays are not clickable anymore (since 2024-03-24 release)]([ Ссылка ])
== Jeremy Chone:
- Patreon - [ Ссылка ] - Any help is a big help (for Rust educational content)
- Twitter - [ Ссылка ]
- Discord general-rust - [ Ссылка ]
- Discord rust10x - [ Ссылка ]
- Rust10x - [ Ссылка ] - Rust resources for production coding.
Big thanks to CrabNebula ([ Ссылка ]) for sponsoring this channel.
== Rust10x AI / OpenAI / Ollama
- Rust OpenAI API Tutorial: [ Ссылка ]
- Rust Ollama Tutorial: [ Ссылка ]
== Rust10x Web App production coding:
Episode 01: [ Ссылка ]
Episode 02: [ Ссылка ]
Episode 03: [ Ссылка ]
Episode 04: [ Ссылка ]
Episode 05.1: [ Ссылка ]
Web Site: [ Ссылка ]
GitHub: [ Ссылка ]
Discord rust10x - [ Ссылка ]
Patreon - [ Ссылка ] - Any help is a big help (for Rust Production Coding educational content)
== Other
Other popular Rust Programming videos:
- Rust Web App Production Coding Blueprint - [ Ссылка ]
- Rust Axum - Full Course - [ Ссылка ]
- Rust Type State Builder Pattern - [ Ссылка ]
- Quick Start Code Layout - [ Ссылка ]
- AWESOME-APP Full Overview - Rust template for building Awesome Desktop Application: [ Ссылка ]
- Tauri Quick Introduction (Desktop App wit Rust Programming): [ Ссылка ]
- Rust Web App tutorials series: [ Ссылка ]
- Rust Bevy Full Tutorial - Game Development with Rust: [ Ссылка ]
- Rust for Java Developers series: [ Ссылка ]
Playlists:
- Rust Web App Production Coding Series: [ Ссылка ]
- Rust For Desktop App: [ Ссылка ]
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: [ Ссылка ]
- Rust Programming for Web Development: [ Ссылка ]
- Rust Courses: [ Ссылка ]
- Rust for Java Developers: [ Ссылка ]
Rust10x - Coding Resources for Production Coding in Rust. ➜ [ Ссылка ]
Other notes:
- ScreenBrush for the green lines. (Gromit seems to be the equivalent on Linux)
- Sketchapp for some graphics.
- Davinci Resolve and Fusion video editing.
- VSCode with Google Material icon themes (with some customization)
Ещё видео!