Skip to content

phenomenal AI Chat Application integrating clever OpenAI bots for assistant, chat and coding - built with @chatengine-io & @openai api. 馃

License

Notifications You must be signed in to change notification settings

ladunjexa/reactjs18-virtualspeakz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

31 Commits

Repository files navigation

Project Banner Project Banner

VirtualSpeakz AI Messenger

VirtualSpeakz-AI Messenger is a phenomenal Chat Application integrating clever GPT bots for assistant, chat, and coding built with ChatEngine & OpenAI.

contributors last update forks stars open issues license


馃摂 Table of Contents

馃専 About the Project


This repository houses a phenomenal AI Chat Application integrating clever OpenAI bots for assistant, chat and coding - built with @chatengine-io & @openai api. 馃

鈥硷笍 Folder Structure

Here is the folder structure of VirtualSpeakz-AI Messenger.

VirtualSpeakz-AI-Messenger/
|- client/
  |- public/
  |- src/
    |- assets/
    |- components/
      |- chat/
        |- index.jsx
      |- header/
        |- index.jsx
      |- login/
        |- index.jsx
      |- messageForm/
        |- Ai.jsx
        |- AiAssist.jsx
        |- AiCode.jsx
        |- MessageFormUI.jsx
        |- StandardMessageForm.jsx
    |- state/
      |- api.js
    |- App.jsx
    |- index.scss
    |- main.jsx
    |- .env
    |- jsconfig.json
    |- .eslintrc.json
    |- vite.config.js
    |- package.json
|- server/
  |- routes/
    |- auth.js
    |- openai.js
  |- index.js
  |- .env
  |- package.json

馃攽 Environment Variables

In order to use VirtualSpeakz-AI Messenger you have to add some environment variables to .env files, VirtualSpeakz-AI uses OpenAI's API and Chat Engine API, so, you've to create openAI api key here and a Chat Engine account here, to run this webapp, meet with the conditions below.\

client-side [client/.env]

create .env file in client/ directory & add the following environment variables:

VITE_BASE_URL=<SERVER_URL>
VITE_PROJECT_ID=<CHAT_ENGINE_PROJECT_ID>
server-side [server/.env]

create .env file in server/ directory & add the following environment variables:

PORT=<PORT>
OPENAI_API_KEY=<OPEN_AI_API_KEY>
CE_PROJECT_ID=<CHAT_ENGINE_PROJECT_ID>
CE_PRIVATE_KEY=<CHAT_ENGINE_PRIVATE_KEY>
CE_BOT_USER_NAME=<SYSTEM_AI_BOT_USER_NAME>
CE_BOT_USER_SECRET=<SYSTEM_AI_BOT_USER_SECRET>

馃摐 Account Details

In order to use VirtualSpeak-AI chat application you've to sign up and creating chats. Use of AI chat will do so creating chat named AI-{Chat/Code/Assist}. Details for account in which all chats exists:

Username: Admin
Password: 123321

馃懢 Tech Stack

My Skills

(back to top)

馃О Getting Started

鈿欙笍 Installation

Step 1:

Download or clone this repo by using the link below:

 https://github.com/ladunjexa/VirtualSpeakz-AI-Messenger

Step 2:

VirtualSpeakz-AI using NPM (Node Package Manager), therefore, make sure that Node.js is installed by execute the following command in console:

  node -v

Step 3:

At the main folder execute the following command in console to get the required dependencies:

  npm install

Step 4:

At the main folder execute the following command in console to creates a build directory with a production build of VirtualSpeakz-AI:

  npm run build

Step 5:

At the main folder execute the following command in console to run the server:

  npm run start

馃弮 Run Locally

Step 1:

At the main folder execute the following command in console to get the required dependencies:

  npm install

Step 2:

At the main folder execute the following command in console to run the development server:

  npm run dev

(back to top)

馃憢 Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

鈿狅笍 License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

馃 Contact

Liron Abutbul - @lironabutbul6 - @ladunjexa

Project Link: https://github.com/ladunjexa/VirtualSpeakz-AI-Messenger

(back to top)

馃拵 Acknowledgements

This section used to mention useful resources and libraries that used in VirtualSpeakz-AI.

CLIENT

SERVER

(back to top)