This chatbot application is built with Go and integrates OpenAI's GPT for conversational capabilities. It allows users to save and retrieve images, leveraging AWS S3 for storage.
- Conversational interactions using OpenAI's GPT.
- Image upload and retrieval using AWS S3.
- Dockerized application for easy deployment.
Before you begin, ensure you have met the following requirements:
- Go (version 1.18 or above)
- Docker and Docker Compose (for containerization and deployment)
- An OpenAI API key
- AWS account with S3 access
-
Clone the repository:
git clone https://github.com/atul107/chatbot.git cd chatbot
-
setup project :
make setup
-
Update
.env
with your OpenAI API key and AWS S3 details -
Run the application:
make run
To run tests, execute the following command:
make test
This application can be deployed using Docker. To build and run the Docker container:
-
Build the Docker image:
make docker-build
-
Run the Docker container:
make docker-run
-
Stop docker container
make docker-stop
To interact with the API endpoints, you can use the provided Postman collection.
Once the application is running, the user interface to test will be available at localhost:8080
.