This repository contains a text-based user interface for interacting with OpenAI's GPT-3.5-turbo model. It's implemented in Python and allows you to ask questions, configure system prompts, and view about information.
- Clone the repository:
git clone https://github.com/ibleedicare/ai_quick_search_py.git
- Install the dependencies:
pip install PyInquirer openai PyYAML
- Set your OpenAI API key as an environment variable:
export OPENAI_API_KEY=your-api-key-here
Run the main Python script:
python main.py
You'll be greeted with a menu that allows you to:
- Ask a question to GPT-3.5-turbo.
- Configure the system prompt for the AI model.
- View the 'About' section.
- Simple and interactive text-based UI.
- Utilizes GPT-3.5-turbo for generating responses.
- Supports YAML-based configuration for system prompts.
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.