Skip to content

Artificial Intelligence by KNKWasTaken, stands for KNK Artificial Intelligence, uses OpenAI

Notifications You must be signed in to change notification settings

KNKWasTaken/kai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KAI

Artificial Intelligence by KNKWasTaken, stands for KNK Artificial Intelligence

Powered by OpenAI Uses Davinci Engine

Note:- The AI uses OpenAI Module, so you need to download it,

pip install openai

also, to use OpenAI, you need to log into or create your OpenAI account at this link

then you need to go to documents > quickstart and scroll down to secret api key and generate one

Note:- Once the secret api key is copied, OpenAI will not show the key again. I personnaly advice that you copy the key somewhere

you need to replace the yourapikey in line with your actual api key

api_key = "yourapikey"
openai.api_key = api_key

Requirments:-

  1. OpenAI Module
  2. OpenAI Account
  3. OpenAI API Key

Features

  • The AI can remember what conversation happened by reading the chathistory.txt file
  • The memory of AI can be cleared by deleting the contents of chathistory.txt. Don't delete the file itself
  • Uses Davinci Engine, the most powerfull free text generating AI engine created by OpenAI
  • Can exit the program using "E" or "e"

Use It to increase the limits of artificial intelligence

About

Artificial Intelligence by KNKWasTaken, stands for KNK Artificial Intelligence, uses OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages