Skip to content

Accessing ChatGPT from the CLI (Command Line Interface)

License

Notifications You must be signed in to change notification settings

ahmetozmtn/chatgpt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT CLI


Turkish | English


English


This project allows you to use OpenAI's ChatGPT Artificial Intelligence chatbot via CLI (Command Line Interface).

!!! The project is still under development


Install

Clone

git clone CLONE_URL

Changing the Directory

cd chatgpt-cli

Install required modules

pip install -r requirements.txt

You can follow the steps below to get API KEY from OpenAI.

1- First you need to register on OpenAI. If you have an account, you can skip this step.

2- After logging into your account, go to this link and click on the Personal tab at the top right and then click on the View API keys tab


3- After coming to the API keys section, just click on the last Create new secret key and after your API key is created, copy it and save it somewhere



4- Enter the API KEY you got from OpenAI into the project folder, rename the .env.example file to .env and paste it into the relevant section in the file and save the file. And now you are ready to use the ChatGPT CLI.



ChatGPT CLI

Bu proje, OpenAI'nın ChatGPT Yapay Zeka chatbot'unu CLI (Komut Satırı Arayüzü) aracılığıyla kullanmanızı sağlar.

!!! Bu proje henüz geliştirilme aşamasındadır.


Kurulum Adımları

Git ile proje'yi bilgisayarınıza indirin.

git clone CLONE_URL

Proje klasörüne girin

cd chatgpt-cli

Gerekli modüllerini kurulumu

pip install -r requirements.txt

OpenAI'dan API KEY almak için aşağıdaki adımları takip edebilirsiniz.

1- Öncelikle OpenAI'a kayıt olmanız gerek. Eğer hesabınız varsa bu adımı atlayabilirsiniz.

2- Hesabına giriş yaptıktan sonra bu link'e gidin ve sağ üste bulunan Personal sekmesine tıklayıp oradan da View API keys sekmesine tıklayın


3- API keys bölümüne geldikten son Create new secret key 'e tıklamanız yeterli API key'iniz olştuktan sonra kopyalıp bir yere kayıt edin



4- OpenAI'dan aldığınız API KEY'i proje klasörüne girin .env.example dosyasını adını .env olarak değiştirin ve dosyadaki ilgili bölüme yapıştırın ve dosyayı kayıt edin. Ve artık ChatGPT CLI'i kullanmaya hazırsınız.

About

Accessing ChatGPT from the CLI (Command Line Interface)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages