Skip to content

Prompt library in the chat UI #325

Open

Description

@sahilds1

Child issue of #345

Activity

  1. moved this to In Progress in Balanceron Jul 30, 2025
  2. self-assigned this
    on Jul 30, 2025
  3. moved this from In Progress to Feature Ready for Review in Balanceron Aug 5, 2025
  4. moved this from Feature Ready for Review to In Progress in Balanceron Aug 13, 2025
  5. sahilds1 commented on Aug 13, 2025

    @sahilds1
    CollaboratorAuthor

    TODO: Update Risk Assessment Flow prompts

    POST /chatgpt/risk - Get medication benefits and risks analysis

    POST /v1/api/riskWithSources - Get risk assessment with source citations

  6. changed the title [-]Empower domain expertise by building a prompt library[/-] [+]Build a prompt library[/+] on Aug 19, 2025
  7. changed the title [-]Build a prompt library[/-] [+]Centralize all the prompts into a "prompt library" for domain experts[/+] on Oct 7, 2025
  8. changed the title [-]Centralize all the prompts into a "prompt library" for domain experts[/-] [+]Centralize all the prompts into a "prompt library" to empower domain experts[/+] on Oct 7, 2025
  9. sahilds1 commented on Oct 27, 2025

    @sahilds1
    CollaboratorAuthor

    Chatbot instructions update TODO: #345 (comment)

  10. sue-hntr commented on Nov 16, 2025

    @sue-hntr

    copied from slack:

    Sahil asked me to see if #325 (create a prompt library for AskJJ) could be combined with #387, where we are improving the AskJJ instructions.

    The answer is no.

    #325 is a complex issue and shouldn't be combined with #387 (which has its own coding requirements in Python).
    #325 (the minimal version) involves me working with Sara, our medical writing expert, to create a list of practitioner-level questions to be put in a config file. That config file is then wired into the AskJJ empty state and shows up where the example prompts now exist.

    I will have sample questions to submit to Sara and a ChatGPT-produced checklist for the developers by the Tuesday meeting.
    AskJJ can already function without the prompt library. But the prompt library would help guide Balancer users toward good, safe, high-value questions. A prompt library is very close to a best practice.
    Whether a prompt library is needed for our MVP or can be put in later is up to others.
    I will document this in #325 and bring it up at the next meeting.

  11. sue-hntr commented on Nov 16, 2025

    @sue-hntr
    Image
  12. changed the title [-]Centralize all the prompts into a "prompt library" to empower domain experts[/-] [+]Evaluating and improving the chatbot's responses [/+] on Nov 18, 2025
  13. sue-hntr commented on Nov 20, 2025

    @sue-hntr

    Notes and research discussed on Slack:

    I will give a quick talk on this at tonight's meeting. I do have an article with a very advanced prompt library if you have time to read before then... the example prompt library given in the article is very long. We would aim to have less than 10 useful examples of good prompts for Balancer.
    The article from Tom's Guide: https://www.tomsguide.com/ai/this-hidden-chatgpt-site-has-100-genius-prompts-and-its-free-to-use?utm_source=chatgpt.com

    The example app with AI prompts: https://chatgpt.com/use-cases/students

    Generally, a “prompt library in the chat UI” is:
    A visible set of pre-written, reusable prompts
    Shown right next to or inside the chat box
    Clickable/tappable, so users can launch them without typing
    Often organized by use case (summarize, brainstorm, fix writing, etc.)

    This is an early-stage opinion, but I think the AI Python instructions (#387 and #245) are more critical for MVP than the prompt library. I'm working on that this week and next week.

  14. sue-hntr commented on Nov 20, 2025

    @sue-hntr

    In response to Kat's interest, I've conducted additional research on prompt libraries and which types of audiences benefit from them in their AI.

    1. Expert audiences, like our MVP practitioners, don't like prompt libraries. Let's pause work on this until the next iteration.

    2. For the patients and non-professional caregivers in our next Balancer iteration, a prompt library would be super helpful.

    I'm attaching a summary document for explanation here and in #325 and moving entirely into other issues.

  15. sue-hntr commented on Nov 20, 2025

    @sue-hntr
  16. moved this from In Progress to Done in Balanceron Jan 9, 2026
  17. changed the title [-]Evaluating and improving the chatbot's responses [/-] [+]Prompt library in the chat UI[/+] on Jan 9, 2026
  18. moved this from Done to Backlog in Balanceron Jan 9, 2026
  19. moved this from Backlog to Icebox in Balanceron Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Icebox

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions