How To Build Your Own Copilot AI Coding Terminal Assistant #coding #programming #computerscience

preview_player
Показать описание
This is an updated version of an old video with subtitles.
Here’s how to build a Github CoPilot-like Terminal Helper yourself. First, get an API key from OpenAI for the GPT APIs. Write a prompt that tells GPT to be a helpful terminal assistant that’s an expert at writing shell scripts. Write a script in your language of choice that takes in input from the command line on what you want the program to do, add this input to the prompt, send it to the API, then display the command it wants to run in the terminal. If you’re brave, don’t include a manual approval step in your script, but I recommend you do. Boom, you’re now done and have a little terminal helper. Good performance is not guaranteed.

Current Sub Count: 9,344

Music In This Video:
(I do get benefits from the above link)

WHO AM I?
Рекомендации по теме
Комментарии
Автор

I appreciate how well-researched and well-presented your videos always are, thank you for your attention to detail!

MyCodingDiary
Автор

i am going to use gpt4 api key to make editor extension that works like copilot X.

マッドマン-qb
Автор

whats an example of what this can do? I dont completely understand what the end result is.

jeremy
visit shbcf.ru