Git Product home page Git Product logo

run-your-gpt's Introduction

Frontend Chat with Custom AI Model

Welcome to the hiring task for gstudio.ai! In this task, your objective is to create a frontend application that allows users to chat with a custom AI model. You will be provided with the necessary resources to set up the environment and interact with the AI model.

Objective

Your task is to create a frontend application using React that enables users to have interactive conversations with a custom AI model. You will use the provided Google Colab notebook for running the AI model and the example Python file for interacting with it.

Provided Resources

  1. Google Colab Notebook: This notebook contains the AI model and establishes a WebSocket connection along with a normal server for interaction.

  2. Example Python File: Both Files demonstrates how to interact with the AI model programmatically, you can use any one of the two streaming methods to complete the task. But be ready with a reason of why you selected it.

Tasks

  1. Create a React Frontend: Develop a user-friendly chat interface using React where users can input their messages and receive responses from the AI model.

  2. Integrate AI Model: Use the provided example Python file to communicate with the AI model. Messages from the frontend should be sent to the AI model, and the responses should be displayed back to the user in the chat interface.

  3. Implement Message Limit and Login System: Limit the number of messages a user can send to 25. Optionally, you can implement a simple login system to track users' messages.

  4. Bonus Points - Incorporate Whisper STT and Silero TTS: If you want to earn brownie points, consider integrating the Whisper Speech-to-Text (STT) system for voice input and Silero Text-to-Speech (TTS) for generating AI model responses as voice output.

Submission

Fork this repository and create your solution within it. Once you're done, please provide us with a link to your forked repository for evaluation.

Evaluation Criteria

  • Functionality: Does the frontend allow users to chat with the AI model effectively?
  • Code Quality: Is the code well-structured, clean, and maintainable?
  • Additional Features: Did you successfully implement the message limit, login system, and any bonus tasks?
  • Creativity: Did you go beyond the basic requirements to make the chat interface more engaging and user-friendly?
  • Documentation: Is your README.md clear and comprehensive?

Feel free to reach out if you have any questions. Good luck!

run-your-gpt's People

Contributors

singlautsav avatar

Stargazers

 avatar

Watchers

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