Skip to content

rnaidu-parallel/UserPersona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Persona Response Comparator (Standalone)

A standalone Streamlit app for comparing LLM responses across different user persona configurations. No FastAPI backend or MongoDB required.

Setup

pip install -r requirements.txt

Run

OPENROUTER_API_KEY=sk-or-v1-your-key streamlit run app.py

Environment variables

Variable Default Description
OPENROUTER_API_KEY (required) Your OpenRouter API key
MODEL_NAME google/gemini-2.5-flash Model to use via OpenRouter

What changed vs. the original

  • No FastAPI dependency - the app calls the LLM directly via pydantic-ai + OpenRouter.
  • No MongoDB - chat history is kept in Streamlit session state (in-memory, per browser tab).
  • Persona prompt built locally - dimension descriptions are embedded in the app instead of being looked up from a database.

About

Streamlit app for user persona

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages