A lightweight web app for visually exploring conversation logs generated by sib-swiss/sparql-llm chat applications.
Note
🔗 Use it directly at sib-swiss.github.io/chat-logs-viewer
Put the JSONL logs files in the data/logs/ folder, then run:
uv run merge_logs.pyThe merge log file will be available at
data/langfuse.jsonl
Build training dataset using only the successful SPARQL queries and their related question rom the merged logs file:
uv run prepare_training_set.py data/langfuse.jsonlWebsite built with SolidJS and SolidStart.
Requirements: NodeJS >22
npm inpm run devBuild for deployment on static pages in .output/public:
npm run buildTest the build locally:
npx http-server .output/public/Note
The static website deployed at sib-swiss.github.io/chat-logs-viewer is automatically updated on every push by a GitHub action workflow.
Format with prettier and lint with eslint:
npm run fmtNote
Formatting will be run automatically when you commit with husky and lint-staged.
Upgrade dependencies in package.json:
npm run upgrade