Create a file named .env and place inside the API KEY
# .env file
OPENAI_API_KEY=YOUR_API_KEYpipenv installOption 1
pipenv shell
python3 main.py "filename" "message" "system"Option 2
pipenv run python3 main.py "filename" "message" "system"python3 main.py solid "What are the SOLID principles?"python3 main.py solid "What are the SOLID principles?" programming- Filename
- The conversation is saved in
./chat/{filename}.json
- Message
- Is the input message of the user
- System
- The system message helps set the behavior of the assistant
System options: default and programming