Welcome to My-Nakama, a conversational AI therapist application built using LangChainJs, Google Generative AI, Supabase and React. This application allows users to have a supportive and empathetic conversation with an AI therapist.
My-Nakama is designed to simulate a conversation with a friendly and empathetic therapist. The AI provides supportive responses and asks follow-up questions to create a conversational experience. The application uses LangChain and Google Generative AI to generate contextually relevant responses based on the user's input and chat history.
- Interactive chat interface
- Context-aware responses
- Conversational AI therapist
- Easy-to-use interface
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/shalwin04/my-nakama.git cd my-nakama
-
Install server dependencies:
cd back-end npm install
-
Install client dependencies:
cd ../front-end npm install
-
Set up environment variables:
- Create a
.env
file in theback-end
directory. - Add your Google API key:
GOOGLE_API_KEY=your_google_api_key
- Create a
- Start the server:
cd back-end node Main.js
-
Start the client:
cd front-end npm start
-
Open your browser and navigate to
http://localhost:3000
.
- Front-end: React, TaiwindCss, DaisyUI
- Back-end: Node.js, Express, Supabase, LangChain Js
- AI: Google Generative AI (Gemini)
my-nakama/
├── back-end/
│ ├── Home.js
│ ├── package.json
│ ├── .env
├── front-end/
│ ├── src/
│ │ ├── App.js
│ │ ├── Home.js
│ ├── public/
│ ├── package.json
├── README.md
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -m 'Add feature'
. - Push to the branch:
git push origin feature-name
. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please contact shalwin04.
- GitHub: shalwin04