Reading the repo
Reading the repo
How to install on Linux
Saved setup from 6 h ago
Will it work on Linux?
Then run bash setup.sh. 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.
git clone https://github.com/pc1817/sop-copilot.git cd sop-copilot
Python 3.x (no version pinned)
sudo apt install python3 python3-venv # Debian/Ubuntu
python -m venv .venv source .venv/bin/activate 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 Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.