I Built My Own AI Terminal Assistant With Python and GPT-4 | GPT-4 + Python Tutorial

Опубликовано: 04 Ноябрь 2024
на канале: Siddhant Dubey
1,314
36

GitHub Copilot X was announced recently with a ton of features, including a terminal assistant that helps you write shell scripts you don’t know how to or don’t want to. We’re going to build it using the GPT-4 API and Python. If you don’t have GPT-4 API access, you can use the GPT-3.5 API as well. It might just be a little worse quality. Before we build, let’s take a quick preview of what the finished product looks like. You run the script passing in a flag with what you want to do, like find all instances of the word rust in a directory, get the output back, and then decide whether or not you want to run it. Once you run it, your dreams will come true, so let’s start building.

GitHub link: https://github.com/siddhantdubey/Alfred

Current Sub Count: 9,485
Business Email: [email protected]

Patreon:   / siddhantdubey  
🤖 Join my discord server:   / discord  
📸 Instagram -   / sid12.dubey  
🐦 Twitter -   / sidcodes  
💻 GitHub - https://github.com/siddhantdubey/
🎵 Follow my TikTok:   / sidcodes  

Music In This Video:
Epidemic Sound: https://share.epidemicsound.com/02ed67
(I do get benefits from the above link)

WHO AM I?
I'm a second year at Georgia Tech majoring in Computer Science. On this channel, I make videos related to machine learning and programming, lifestyle vlogs, productivity tip videos, and more! If you're interested in that, be sure to hit the subscribe button and leave a like on this video! Subscribe here: http://youtube.com/c/SiddhantDubey/?s...

#programming #coding #ai