Programming a ChatGPT command line interface with Syntax Highlighting in Python

Published: 10 July 2023
on channel: Великий мудрец, равный небу
315
11

SOURCE CODE:
https://github.com/maksimKorzh/chatgp...

Support the channel:
PayPal: maksymkorzh@gmail.com
Patreon:   / code_monkey_king  

Contents:
00:00 Intro
01:20 Demo of what we would develop
02:23 Coding starts here
05:20 Installing Pygments & Colorama
06:25 Difference between Pygments & Colorama
06:43 OpenAI authentification
07:30 Data structure to keep track of ongoing conversation
11:48 Main loop
14:30 Making a request to OpenAI API
18:00 Parsing API response
23:02 Testing


On this page of the site you can watch the video online Programming a ChatGPT command line interface with Syntax Highlighting in Python with a duration of hours minute second in good quality, which was uploaded by the user Великий мудрец, равный небу 10 July 2023, share the link with friends and acquaintances, this video has already been watched 315 times on youtube and it was liked by 11 viewers. Enjoy your viewing!