Giter VIP home page Giter VIP logo

hackinbosh / chat-stream-full-stack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from promptengineers-ai/chat-stream-full-stack

0.0 0.0 0.0 12.98 MB

๐Ÿค– OpenAI & Langchain Chat with SSE on FastAPI server & HTML chat interface

Home Page: https://oss.promptengineers.ai

License: MIT License

Shell 3.94% JavaScript 5.14% Python 42.43% TypeScript 29.54% CSS 3.10% HTML 14.15% Smarty 1.19% Dockerfile 0.50%

chat-stream-full-stack's Introduction

๐Ÿค– Prompt Engineers AI - ChatGPT SSE

Welcome to our open-source chatbot application! This application is built using HTML, CSS and JavaScript along with EventSource and fetch APIs. It's a basic chatbot interface that communicates with a server via HTTP requests.

๐Ÿ› ๏ธ Setup and Usage

  1. Clone the repository to your local machine using git clone <repo_link>.
  2. Use to create an env cp .example.env .env.local then update your OPENAI_API_KEY
  3. Navigate to the project folder: cd chatgpt-see.
  4. Run the bash scripts/dev.sh script to start the development server and build the application using Docker Compose. Or using Docker Compose docker-compose up --build
  5. Open your preferred web browser and navigate to http://localhost:8000 to access the chatbot application. Swagger docs located at http://localhost:8000/docs

Once you have the application running, you can start chatting with the bot:

  • Type your message in the input field and hit the "Send" button or press Enter.
  • The bot will process your message and send back a response, which will appear in the chatbox.

๐Ÿค How to Contribute

We welcome contributions from the community, from beginners to seasoned developers. Here's how you can contribute:

  1. Fork the repository: Click on the 'Fork' button at the top right corner of the repository page on GitHub.

  2. Clone the forked repository to your local machine: git clone <forked_repo_link>.

  3. Navigate to the project folder: cd chatgpt-sse.

  4. Create a new branch for your changes: git checkout -b <branch_name>.

  5. Make your changes in the new branch.

  6. Commit your changes: git commit -am 'Add some feature'.

  7. Push to the branch: git push origin <branch_name>.

  8. Open a Pull Request: Go back to your forked repository on GitHub and click on 'Compare & pull request' to create a new pull request.

Please ensure that your code passes all the tests and if possible, add tests for new features. Always write a clear and concise commit message and pull request description.

๐Ÿ’ก Issues

Feel free to submit issues and enhancement requests. We're always looking for feedback and suggestions.

๐Ÿค“ Maintainers

๐Ÿ“œ License

This project is open-source, under the MIT License. Feel free to use, modify, and distribute the code as you please.

Happy Coding! ๐ŸŽ‰๐ŸŽ‰

chat-stream-full-stack's People

Contributors

ryaneggz 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.