Skip to content

Sarvamm/Brainbrew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠Brainbrew logo

BrainBrew is a Streamlit application that uses AI (Large Language Models) to help users learn. It takes user-provided topics and an API key to generate detailed notes, question/answer pairs, and interactive multiple-choice quizzes. The app manages user data and progress using session state across different features.

Visual Overview

flowchart TD
    A0["Streamlit Application Structure
"]
    A1["Session State Management
"]
    A2["LLM Communication Layer
"]
    A3["Prompt Engineering
"]
    A4["Structured Output Handling
"]
    A5["Content Generation Pipelines (LangChain Chains)
"]
    A6["Interactive Quiz Logic
"]
    A7["User Configuration & Input
"]
    A0 -- "Manages State" --> A1
    A0 -- "Provides UI for Input" --> A7
    A7 -- "Stores Configuration" --> A1
    A7 -- "Supplies Topics" --> A5
    A7 -- "Supplies API Key" --> A2
    A5 -- "Interacts with LLM" --> A2
    A5 -- "Applies Prompting" --> A3
    A5 -- "Enforces Structure" --> A4
    A5 -- "Saves Generated Content" --> A1
    A5 -- "Generates Quiz Data for" --> A6
    A6 -- "Updates Progress State" --> A1
Loading

Chapters

  1. Streamlit Application Structure
  2. User Configuration & Input
  3. Session State Management
  4. LLM Communication Layer
  5. Content Generation Pipelines (LangChain Chains)
  6. Prompt Engineering
  7. Structured Output Handling
  8. Interactive Quiz Logic

About

AI powered study partner that can generate notes, qnas and quizes.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Languages