Skip to content

Latest commit

 

History

History
222 lines (159 loc) · 6.67 KB

File metadata and controls

222 lines (159 loc) · 6.67 KB

Dream Weaver : Unveil Your Dreams

Watchers Forks Star

Issue Open Pull Request

License

Welcome to Dream-Weaver: Unveil Your Dreams. Explore the mysteries of your dreams with our intuitive dream interpretation app. Dream-Weaver harnesses the power of MindsDB to provide insightful interpretations of your dreams, helping you uncover their hidden meaning.

Introduction

Dream Weaver is a dream interpretation app designed to help you explore and understand the meanings behind your dreams. With its user-friendly interface and powerful analysis features, Dream Weaver provides insightful interpretations and uncovering the mysteries of your subconscious.

Features

  • Dream Interpretation: Receive detailed interpretations of your dreams based on various symbols, emotions, and themes present in your dream.
  • Possible Meanings: Discover potential meanings and explanations for different elements within your dream.
  • Insights: Gain deeper insights into your dreams, including personal reflections and psychological analysis.
  • Symbols: Explore the significance of different symbols that appear in your dreams.
  • Emotions: Understand the emotional context of your dreams and how they relate to your waking life.

Dream Weaver: Unveil Your Dreams is your ultimate tool for dream analysis and understanding. Start your journey into the world of dreams today!

Demo

0521-copy-copy.3.mp4

Dependencies

  • React
  • Tailwind
  • Fast API
  • MindsDB (Gemini Model)

Getting Started

Installation

Clone the repository:

git clone https://github.com/Sujan-Koirala021/dream-weaver.git

Go to the repository:

cd dream-weaver

Run mindsdb locally

docker run --name mindsdb_container -p 47334:47334 -p 47335:47335 mindsdb/mindsdb

Go to mindsdb editor at http://localhost:47334

Go to Settings>Manage Integrations and install Google Gemini

Get Gemini Api

Refer this : https://ai.google.dev/gemini-api/docs/api-key?authuser=1

Run following queries step by step to create model

  • Replace 'your-gemini-api' with your gemini api key
  • You may use your desired model_name, in our case: dream_weaver_model_pro_max
  • Make sure you use the same model_name in backend at main.py
CREATE ML_ENGINE google_gemini_engine
FROM google_gemini
USING
      google_gemini_api_key = 'your-gemini-api';
CREATE MODEL dream_weaver_model_pro_max
PREDICT dream_interpretation, possible_meaning, insights, symbols, emotions
USING
      engine = 'google_gemini_engine',
      column = 'dream_description',
      model = 'gemini-pro',
      template = '{"dream_interpretation": "{dream_interpretation}", "possible_meaning": "{possible_meaning}", "insights": "{insights}", "symbols": "{symbols}", "emotions": "{emotions}"}';

Query to get response

SELECT dream_interpretation
FROM dream_weaver_model_pro_max
WHERE dream_description = 'Interpret dream of seeing papaya.';

Setup Frontend

Navigate to the client directory:

cd client

Install dependencies:

npm install

Start the development server:

npm start

Setup Backend

Navigate to the server directory:

cd server

Set up a virtual environment :

python -m venv env

source env/bin/activate 

# For Windows use:
env\Scripts\activate # to activate

Install dependencies:

pip install -r requirements.txt

Run backend

uvicorn main:app --reload 

Usage

Visit the frontend application:

Open your browser and navigate to http://localhost:3000.

Screenshots

1landing 2about 3contact 4query 5result

Contributing

We welcome contributions from the community! If you'd like to contribute to dream-weaver, please follow these steps:

  1. Fork the Repository: Click the "Fork" button on GitHub to create your copy.

  2. Clone Your Fork:

    git clone https://github.com/Sujan-Koirala021/dream-weaver.git
  3. Create a Branch:

    git checkout -b your-branch-name
  4. Make Changes: Implement your changes.

  5. Commit Your Changes:

    git commit -m "Description of your changes"
  6. Push Your Changes:

    git push -u origin your-branch-name
  7. Create a Pull Request: Submit your changes for review.

License

This project is licensed under the MIT License.

Acknowledgments