This repository now stores:
knowledge_base/: Markdown documents for RAG content.fetched_site/: source files pulled fromhttps://dev-le-chat.cc.lehigh.edu/.scripts/fetch_site_assets.sh: refresh script for downloading site assets.
From the reference site:
fetched_site/index.htmlfetched_site/dist/bundle-pretty.js
These files are used as implementation references for building a custom frontend.
From fetched_site/dist/bundle-pretty.js, frontend requests are sent to:
https://8lyrpsdez5.execute-api.us-east-1.amazonaws.com/call
Main request modes:
action: "question"action: "feedback"
See fetched_site/README.md for payload examples and optional parameters.
See fetched_site/PROMPT_CHANGE_AND_TESTING.md for detailed prompt change/testing workflow.
Prompt override file for testing/frontend integration:
fetched_site/prompts/custom_prompt.txt(non-empty = sendcustom_prompt, empty = backend default) Numbered question set for batch testing:fetched_site/questions/test_questions.jsonfetched_site/questions/README.mdSimplest batch test command:bash scripts/run_question_suite.sh- The script prompts section selection at start (
123= all,13= sections 1+3,2= section 2 only). Also works from insidescripts/:
- The script prompts section selection at start (
bash run_question_suite.shPer-run consolidated record:fetched_site/prompt_effectiveness_runs/<run_id>/run_record.json
Run:
./scripts/fetch_site_assets.sh