Reading the repo
Reading the repo
How to install on Windows
Saved setup from 6 h ago
Will it work on Windows?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/pc1817/sop-copilot.git cd sop-copilot
Python 3.x (no version pinned)
winget install Python.Python.3.12
python -m venv .venv .venv\Scripts\Activate.ps1 pip install -r requirements.txt
streamlit run app.py
pip install -r requirements.txt
.env (never commit it): GEMINI_API_KEY, PINECONE_API_KEY, GROQ_API_KEY, APP_PASSWORD get the corpus (not included in this repo)
git clone --depth 1 --filter=blob:none --sparse https://gitlab.com/gitlab-com/content-sites/handbook.git cd handbook git sparse-checkout set content/handbook/finance
copy the .md files into docs/ in this repo, skipping the readmes/ folder
python ingest.py # builds the index (creates it if missing) python qa.py “How do I submit an expense report?” --show python run_eval.py # retrieval eval, no LLM tokens python run_answers.py # answer eval, uses Groq tokens python -m streamlit run app.py
The sparse clone fetches the latest handbook, not the pinned commit, so a newer snapshot may not match the evaluation gold.
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.