DEV Community

tq-bit
tq-bit

Posted on • Edited on

7 4 2 1 2

Nanny Care Companion - First shop-stop for parents and those who are expecting

This is a submission for the Coze AI Bot Challenge: Bot Innovator.

minimalistic logo of a friendly old lady

What I Built

My wife and I built a bot to help expecting parents with

  • questions about pregnancy, physical and mental health
  • assistance in buying important stuff, such as clothing, furniture, and groceries
  • guidance on what foods to eat and which to avoid
  • compile checklists on
    • what items to buy before childbirth or for the time in hospital
    • to-do's before and after the big day of childbirth
  • track the baby's growth and provide weekly information for the parents

and all those little everyday tasks that come up.

Demo

Here's the link to the bot store:

https://www.coze.com/store/bot/7359160705427193861?panel=1&bid=6c87u9bh04006

Ask for material on pregnancy

  • Uses Google search
  • Could be extended with additional knowledge-base items from websites and PDFs

Image description

Compile a checklist of furniture to buy

  • Uses long-term memory feature

Image description

Update the checklist

Image description

Ask for product suggestions from the checklist

Image description

Ask for advice on mental health

Part 1:
Image description

Part 2:

Image description

Ask whether it's okay to eat certain food

Image description

Summarizing a baby-checklist from a german website

  • This feature uses filebox
  • I uploaded the pre-birth checklist from the german 'Familienportal', an authority that advises expecting parents
  • Frankly, I thought this would not work as well as it did :)

Part 1: Upload

Image description

Part 2: Compilation as a checklist

Image description

Part 3: Check items from the list

Funnily, the bot assumed I had also found a midwife and a gynecologist :). While this might usually be the case, users might want to uncheck it manually again.

Image description

Your Configuration

Features and plugins

  • Long-term memory to compile and update the checklists
  • Filebox to upload documents from authorities that can be summarized and translated for non-native-speaking parents
  • Triggers to, say send weekly updates on how much a baby has grown
  • Google Plugin to search for health advice, local professionals, and up-to-date info about foods. Also, add sources to crucial questions that might affect the mother's or baby's health
  • Amazon Plugin to search for relevant products, such as furniture, diapers or other hygiene articles

I also added several blog posts my wife and I learned from into our knowledge base. This could be further extended by more knowledge over time

Prompts

This is the prompt I am currently using:

Character

You are a friendly, elderly caretaker for new and expectant parents. Your name is 'Nanny Margrat'. Your care starts with the mother's pregnancy and ends when the child turns six months old. You have a motherly, understanding, and caring voice when answering questions. When this is the user's first question, start your response with encouraging and personal words towards the parent.

Skills

Skill 1: Pregnancy Advice

  • Offer advice on common pregnancy symptoms.
  • Help the mother find a doctor for pregnancy-related consultations.
  • Advise on pregnancy-safe food & lifestyle choices, including legal aspects. When asked for either of these, always search for at least one source of information on the internet.
  • Assist parents in dealing with mental health issues and changes in relationships during pregnancy. When advising on questions like this, always search for at least one source of information on the internet.
  • Clarify and explain physical body changes during pregnancy.
  • Suggest helpful products for mothers-to-be and caution against harmful ones.
  • Direct parents to necessary legal documents. Before providing an answer, first, ask in which country the parents are living
  • Advise on safe working conditions during pregnancy with an appropriate disclaimer.
  • Create a timeline with crucial parental errands to accomplish during pregnancy
  • Look for free or promotional items for less financially able parents

Skill 2: Birth Preparation Advice

  • Assist parents in choosing baby-related products and furniture.
  • Assemble a list of items to buy from an uploaded PDF document using 'pdfSummary'
  • Provide a prepared list of necessary items for their stay in hospital or birth center.
  • Offer a selection of pre-birth courses.
  • Suggest exercises for easier labor.
  • Discuss different birth types, listing pros and cons for each.

Skill 3: Post-birth Advice

  • Offer breastfeeding tips and tricks.
  • Guide parents on their newborn's sleeping habits.
  • Help parents understand their baby's signals.
  • Assist the mother in post-birth recovery.
  • Advise on maintaining emotional health after the birth.

Skill 4: Baby's First Six Months

  • Provide tips on sleep training techniques.
  • Advise on introducing solid food.
  • Talk about essential medical topics for the first months.
  • Guide parents on balancing work with new parenthood.

Skill 5: Checklists

  • When a user asks you to create a checklist, remember it for further inputs
  • Checklists should always have the following format:

:


  • When adding new items or checking items off the list, do not respond with the full, updated list unless the user requests it

Constraints

  • Maintain an empathetic, motherly tone.
  • Refer parents to professional resources when necessary.
  • Only provide guidance based on online research.
  • Issue a disclaimer for advice related to working conditions.
  • When asked about local services, such as pharmacies or flea markets, always ask the user for their location first. Use the 'USA' as a default value.
  • Focus on the provided topic categories: pregnancy, birth preparation, post-birth, and baby's first six months.
view raw gistfile1.md hosted with ❤ by GitHub

Journey

In 2023, my wife and I embarked on a journey towards parenthood. And we would soon find out what we've gotten ourselves into. To name a few things: We

  • googled checklists and literature on the topic
  • researched pediatricians and daycare facilities
  • went from store to store, flea market to flea market, to buy furniture, clothing, napkins, and so on
  • find a midwife, a birthing hospital, birth preparation courses
  • ask around for personal experiences other parents have (and how to keep my wife happy)

... and were on our feet quite a lot

That took a lot of time (frankly, it still does). My wife and I did a lot of research, read articles & books, and went from store to store for the perfect baby setup.

In case you've never had to decide on a stroller, it's one hell of a ride

So I built this bot, hoping it'll make the life of expecting parents a bit easier. She has the persona of an elderly woman, because who else but your mother would you like to ask for advice on your newborn?

If this bot is well-liked by the community, I'd love to add more resources. And especially personal experiences. Parents should be able to engage with Margrat as if she has real-world experiences with babies and toddlers and can speak from the experience of raising several children on her own.

Fun fact: I named her Margrat while procrastinating research by reading Terry Pratchett's Discworld Novels

I might as well deviate from the idea of an old, friendly nanny and compile the profile of a mother who is raising a kid herself right now and recently went through all these stages.

If you like this idea, please give Margrat a try :) even if you're no parent, you might be curious to find out what it would be like.

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (7)

Collapse
 
jess profile image
Jess Lee

This is like a virtual doula too :)

Collapse
 
tqbit profile image
tq-bit

That were my thoughts as well :) Duolas and midwives are hard to come by in Germany, I can imagine that's the case in other countries as well.

Collapse
 
michaeltharrington profile image
Michael Tharrington

Loving this idea! And wow, sounds like the implementation is on point too. Very nicely done!! 👏

Collapse
 
zarazhangrui profile image
Zara Zhang

Great use case!!
Could you elaborate more on "This could be extended furtherly with knowledge, but is currently not possible in the public version"?

Collapse
 
tqbit profile image
tq-bit • Edited

Thank you :)

I tried to add knowledgebases, which would include several websites and extracted text from PDF files, to the bot. Which worked, but I could not publish the bot as 'public' then.

Is there any way to circumvent this?

Edit: I just figured that only the config is private 🤦 Will add the data sources back to the bot.
Thanks fo the heads up

Collapse
 
zarazhangrui profile image
Zara Zhang

Yeah you can just set the configuration as private and publish as usual! No problem

Collapse
 
catherine_behn profile image
Catherine Behn

Finding the right caregiver is so important for parents and parents to be. Having a reliable and skilled nanny gives the parents stress-free and peace of mind. I recommend checking out MyPoppin, a platform that offers trusted and experienced nannies to ensure that your little ones are in safe hands. If you are a parent who seeking best nanny or babysitter just visit

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more