https://github.com/fahmiaziz98/bot_openai
build chatbot using api key from openai
https://github.com/fahmiaziz98/bot_openai
Last synced: 2 months ago
JSON representation
build chatbot using api key from openai
- Host: GitHub
- URL: https://github.com/fahmiaziz98/bot_openai
- Owner: fahmiaziz98
- License: cc0-1.0
- Created: 2023-06-28T11:40:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T13:27:05.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T09:08:01.793Z (4 months ago)
- Language: HTML
- Size: 971 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI Chat Bot using GPT-3
This repository contains an AI chat bot that utilizes the autoregressive transformer language model GPT-3 for interactive conversations. The chat bot's interactions are saved in the gpt3_logs directory.## API Account Duration
Please note that the API account provided for this project is valid for a period of 3 months. After that, you may need to renew your API access or sign up for a new account with OpenAI. It is recommended to check your API account status and renewal options periodically to ensure uninterrupted access to the API services. Failure to renew your API account may result in a disruption of service.For more information on API account duration and renewal, please refer to the OpenAI documentation or visit the [OpenAI](https://platform.openai.com/docs/introduction) website.
## Getting Started
To get started with the chat bot, follow these steps:1. Obtain OpenAI API Key: Visit the OpenAI website to obtain your API key.
2. Clone the Repository: Use the following command to clone the repository to your local machine :
`git clone https://github.com/fahmiaziz98/bot_openai.git`3. Create API Key File: Create a file named openaiapikey.txt in the root directory of the project and save your OpenAI API key in this file.
4. Install Dependencies: Install the necessary dependencies by running the following command:
`pip install -r requirements.txt`5. Run the Application: Start the chat bot by running the `python flask_app.py` script.
6. Deploy on AWS: If you want to deploy the chat bot on AWS, you can refer to the guide on deploying a GPT-3 flask application using AWS CodePipeline and Elastic Beanstalk [here](https://medium.com/@contact.blessin/deploying-a-gpt-3-flask-application-on-aws-codepipeline-and-elastic-beanstalk-681cd2ece897).

## Contributing
Contributions to the development and improvement of the AI chat bot are welcome. If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.## License
This project is licensed under the MIT License. Feel free to customize the README file according to your specific project requirements.