Sitelet https://github.com/najibna/OR-Royalties-Chatbot
Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Investment Document Analyzer (MVP)

Minimal web app to upload one or more PDFs, extract text, and generate an investment-focused analysis using an LLM via OpenRouter.

Requirements

  • Python 3.10+ recommended

Setup

Create a virtual environment (optional but recommended), then install dependencies:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Create a .env file in this folder:

OPENROUTER_API_KEY=your_key_here

Tip: you can copy .env.example to .env and then paste your key.

Run

streamlit run app.py

Then open the URL Streamlit prints (usually http://localhost:8501).

Notes / Simple error handling

  • No file uploaded: the app will prompt you to upload at least one PDF.
  • Empty/unreadable PDF text: those PDFs are skipped; if all are empty, analysis can’t run.
  • Missing API key: set OPENROUTER_API_KEY in .env or your environment.
  • API error: the app shows the HTTP error from OpenRouter.

About

OR Royalties Chatbot

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages