JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 110
  • Score
    100M100P100Q63163F
  • License MIT

Guided prompt refinement system powered by LLMs

Package Exports

  • bleakai
  • bleakai/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bleakai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bleakai

bleakai is a guided prompt refinement system powered by GPT-based LLMs.

This project aims to bridge the gap between user intent and AI output by helping users iteratively refine their prompts through an interactive UI. It analyzes the initial AI responses and offers targeted questions to improve specificity, tone, structure, and context — all without requiring prompt engineering expertise.


🧠 Core Concept: Guided Prompt Refinement with Interactive UI

  1. Initial Prompt Input
    User writes a rough prompt.

  2. AI Response Generation
    The system generates an initial LLM response.

  3. Response Analysis
    The system detects vague or underdeveloped parts (e.g., no setting, no character detail, generic tone).

  4. Refinement UI
    Users are guided via multiple-choice and free-text questions to improve the prompt:

    • Setting
    • Character
    • Conflict
    • Tone
    • Length
    • And more...
  5. Prompt Regeneration
    The system creates a refined prompt and reruns it through the LLM.

  6. Repeat if needed
    Users can iterate until the result matches their intent.


Example

Initial prompt:

"Write a short story about a cat."

Refinement steps:

  • Setting: A magical forest
  • Cat's name: Jasper
  • Personality: Adventurous
  • Plot: Jasper seeks a legendary flower

Final refined prompt:

"Write a short story about Jasper, an adventurous cat living in a magical forest, who sets out to find a legendary flower."


🔧 Status

This is a placeholder package to reserve the name. Development is in progress.


📌 Planned Features

  • AI-driven response critique and refinement points
  • Interactive UI (Web-based)
  • Dynamic prompt generation
  • API access for integration
  • Multi-round refinement loop

📬 Want to Collaborate?

Open an issue or contact [info@bleakai.com] if you're interested in contributing.