Skip to content

AI-powered companion for elderly care using personalized storytelling to enhance memory, cognition, and emotional well-being.

Notifications You must be signed in to change notification settings

Joeljaison391/EDCare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDCare

EDCare Logo

EDCare is an AI assistant that uses personalized storytelling to improve memory, cognitive function, and emotional well-being in elderly individuals experiencing memory decline.

Table of Contents

Overview

This project focuses on an AI-powered assistant designed to enhance the quality of life for elderly individuals through personalized storytelling. The assistant aims to improve memory retention, cognitive function, and emotional well-being by creating engaging and interactive story experiences tailored to the user's life and preferences.

Features

1. Storyteller

  • Memoir Mode: Generates stories based on the user's life experiences.
  • Interactive Mode: Presents users with story puzzles or branching narratives.
  • Legacy Mode: Assists users in creating a digital legacy.

2. Personalization Techniques

  • Story Elements incorporation
  • Mood Recognition and Adaptation
  • Multisensory Integration

3. Cognitive Enhancement Features

  • Gamified Storytelling
  • AI-Powered Memory Exercises

4. Emotional Well-being Features

  • Therapeutic Storytelling
  • Multigenerational Storytelling

Getting Started

Prerequisites

  • Java 21
  • Maven
  • MongoDB
  • IBM Watson API credentials

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/edcare.git
    cd edcare
  2. Install dependencies:

    mvn install
  3. Set up MongoDB:

  4. Set up IBM Watson API credentials:

  5. Run the application:

    mvn spring-boot:run

application.properties looks like this:

spring.application.name=Companion
spring.data.mongodb.uri=mongodb://localhost:27017/edcare
watson.nlu.url=https://api.au-syd.natural-language-understanding.watson.cloud.ibm.com/instances/your-instance-id
watson.nlu.apikey=your-api-key
watson.cloud.apikey=your-cloud-api-key

Usage

Analyze and store raw data:

curl -X POST http://localhost:8080/analyze \
-H "Content-Type: application/json" \
-d '{"userProfileId":"123","content":"Sample text to analyze"}'

Generate a story:

curl http://localhost:8080/story/generate/analysisResultId123

Create a user profile:

curl -X POST http://localhost:8080/api/userprofiles \
-H "Content-Type: application/json" \
-d '{"name":"John Doe","age":70,"interests":["gardening","reading"]}'

API Reference

Endpoint Method Description
/analyze POST Analyze and store raw data
/story/generate/{analysisResultId} GET Generate a story based on analysis results
/api/userprofiles POST Create a new user profile
/api/userprofiles GET Get all user profiles
/api/userprofiles/{id} GET Get a user profile by ID
/api/userprofiles/{id} PUT Update a user profile
/api/userprofiles/{id} DELETE Delete a user profile

Acknowledgments

IBM Watson for Natural Language Understanding , Spring Boot community , MongoDB, Java 21

Made with ❤️ by Bits&Bytes

About

AI-powered companion for elderly care using personalized storytelling to enhance memory, cognition, and emotional well-being.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages