The AI app service for chats, speech, and handwritting.
This application provides a modern and interactive platform for real-time communication. Whether you're collaborating with team members, connecting with friends, or seeking assistance, this chat app delivers a seamless and engaging experience.
Features:
- AI Integration: Benefit from AI-powered responses to enhance your chat experience.
- Speech Recognition: Utilize speech recognition technology to convert spoken words into text messages, enabling hands-free communication.
- Handwriting Recognition: Seamlessly integrate handwriting recognition to allow users to input messages using a stylus or touchscreen device.
- Thread Management: Organize discussions into threads for better clarity and organization.
- User Authentication: Secure your conversations with user authentication, ensuring privacy and confidentiality.
This project is a chat application built with React for the frontend, MongoDB and Express.js for the backend, and LangChain for AI-powered responses. It utilizes Tailwind CSS for styling.
- Clone the Repository: Start by cloning the project repository to your local machine.
- Install Dependencies: Navigate to the project directory and install frontend and backend dependencies.
- Configure Environment Variables: Set up environment variables for MongoDB URI and LangChain API key.
- Start the Servers: Launch the frontend and backend servers to run the application locally.
- Access the Application: Open your web browser and navigate to http://localhost:5173 to access the chat application.
- npm
npm install npm@latest -g
Below is an example of how you can run a local version of this app on your machine
- Get an OPEN_AI_API Key at
https://openai.com/gpt-4 - Clone the repo
git clone https://github.com/roychon/virtual.ai
- Install NPM packages
npm install
- Create your
.envfile - Enter your API in
.envfileOPENAI_API_KEY = 'ENTER YOUR API';
- Enter your mongodb url in
.envfileMONGODB_URL = 'ENTER YOUR MONGODB URL` - Set Cookie details
COOKIE_SECRET = 'ENTER YOUR COOKIE SECRET' COOKIE_NAME = 'ENTER YOUR COOKIE NAME' COOKIE_EXPIRY = 'ENTER YOUR COOKIE EXPIRY DATE'
- Start frontend server
cd frontend/src npm run dev - Start backend server
cd backend npm run dev - Once the servers are running, open your web browser and navigate to
http://localhost:5173to access the chat application.
Below are some screenshots of virtual.ai in the browser


