GithubHelp home page GithubHelp logo

chatbot's Introduction

Go Chatbot Application

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.

Features

  • Conversational interactions using OpenAI's GPT.
  • Image upload and retrieval using AWS S3.
  • Dockerized application for easy deployment.

Prerequisites

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

Setting Up for Development

  1. Clone the repository:

    git clone https://github.com/atul107/chatbot.git
    cd chatbot
    
  2. setup project :

    make setup
    
  3. Update .env with your OpenAI API key and AWS S3 details

  4. Run the application:

    make run
    

Running Tests

To run tests, execute the following command: make test

Deployment

This application can be deployed using Docker. To build and run the Docker container:

  1. Build the Docker image:

    make docker-build
    
  2. Run the Docker container:

    make docker-run
    
  3. Stop docker container

    make docker-stop
    

Postman Collection

To interact with the API endpoints, you can use the provided Postman collection.

User Interface

Once the application is running, the user interface to test will be available at localhost:8080.

No preview No preview

chatbot's People

Contributors

atul107 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.