https://github.com/alimzade/ai_kid_story_generator

Web application to generate user-specified children stories using a Large Language Model (LLM). The application ensures that stories are appropriate, adhering to given preferences and includes input/output safety measures.

https://github.com/alimzade/ai_kid_story_generator

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Web application to generate user-specified children stories using a Large Language Model (LLM). The application ensures that stories are appropriate, adhering to given preferences and includes input/output safety measures.

Basic Info
  • Host: GitHub
  • Owner: Alimzade
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 5.43 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

Kids' Story Generator Web App

Overview

This web application generates customized children’s stories using a Large Language Model (LLM) provided by OpenAI. Users can personalize stories by specifying the names of characters, story’s theme and many more. The application ensures that stories are appropriate, adhering to given preferences and includes input/output safety measures.

Technology Stack

  • Backend: FastAPI (Python)
  • Frontend: HTML, CSS, JavaScript
  • LLM: OpenAI
  • Database: SQLite
  • Server: Uvicorn

Example

Input

  • Protagonist’s Name: Alice
  • Protagonist’s Gender: Female
  • Friend’s Name: Max
  • Friend’s Gender: Male
  • Story Theme: Adventure
  • Educational Content: Friendship
  • Story Length: Short (50-250 words)

Output

In the heart of Sunnytown, where flowers bloomed year-round, lived a brave girl named Alice, and her curious friend, Max. They were inseparable, sharing dreams, laughter, and even adventures!

One day, Alice discovered an ancient map in her grandmother's attic, hinting at a hidden waterfall nearby. Seeing this as an opportunity for a grand adventure, she shared the news with Max. Their eyes sparkled with excitement, and they agreed to explore the mysterious waterfall together.

The journey led them through dense forests and bubbling brooks. Along the way, they encountered various challenges, like a narrow bridge and a mischievous monkey. But each hurdle only strengthened their bond, as they learned the value of cooperation, communication, and trust.

At last, they arrived at the splendid waterfall, feeling a sense of accomplishment. As water droplets kissed their faces, Alice turned to Max. "We make a great team, don't we?" she asked. Max grinned, "Absolutely, Alice! Adventures are always better with a friend by your side."

Through this journey, Ada and Max not only discovered a magical waterfall but also realized that true friendship meant working together, helping one another, and celebrating shared victories. And that was the greatest adventure of all!

Owner

  • Login: Alimzade
  • Kind: user

GitHub Events

Total
  • Watch event: 1
  • Push event: 2
  • Public event: 1
Last Year
  • Watch event: 1
  • Push event: 2
  • Public event: 1

Dependencies

package.json npm
  • autoprefixer ^10.4.20 development
  • postcss ^8.4.41 development
  • postcss-cli ^11.0.0 development
  • tailwindcss ^3.4.10 development
  • bcrypt ^5.1.1
  • bcryptjs ^2.4.3
  • cors ^2.8.5
  • dotenv ^16.4.5
  • express ^4.19.2
  • jsonwebtoken ^9.0.2
  • mongodb ^6.8.0
  • mongoose ^8.5.4
  • mongosh ^2.3.0
  • mysql2 ^3.11.0
requirements.txt pypi
  • coverage ==7.3.3
  • fastapi ==0.112.2
  • httpx ==0.27.0
  • itsdangerous ==2.1.2
  • jinja2 ==3.1.2
  • passlib ==1.7.4
  • pydantic ==2.8.2
  • pytest ==8.3.2
  • python-dotenv ==1.0.1
  • python-multipart ==0.0.9
  • requests ==2.28.2
  • sqlalchemy ==2.0.23
  • starlette ==0.38.2
  • textstat ==0.7.4
  • uvicorn ==0.30.6