local-rag
Offline RAG-powered technical support agent for gas field engineers using Foundry Local, Phi-3.5 Mini, and SQLite vector store
File Explorer
- 01-gas-leak-detection.md
- 02-regulator-fault-low-pressure.md
- 03-emergency-shutdown.md
- 04-pre-inspection-checklist.md
- 05-ppe-requirements.md
- 06-pressure-testing.md
- 07-valve-inspection.md
- 08-confined-space-entry.md
- 09-fault-codes-gas-detectors.md
- 10-pipeline-integrity.md
- 11-compressor-maintenance.md
- 12-sensor-calibration.md
- 13-gasket-replacement.md
- 14-cathodic-protection.md
- 15-meter-installation.md
- 16-hot-work-permit.md
- 17-corrosion-inspection.md
- 18-relief-valve-testing.md
- 19-purging-procedures.md
- 20-no-gas-flow-decision-tree.md
- index.html
- 01-landing-page.png
- 02-mobile-view.png
- 03-chat-response.png
- 04-sources-panel.png
- 05-upload-document.png
- 06-mobile-chat.png
- 07-architecture-diagram.png
- 08-rag-flow-sequence.png
- chatEngine.js
- chunker.js
- config.js
- ingest.js
- prompts.js
- server.js
- vectorStore.js
- chunker.test.js
- config.test.js
- server.test.js
- vectorStore.test.js
- .gitignore
- blog_post.html
- blog_post.md
- CHANGELOG.md
- LICENSE
- package-lock.json
- package.json
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
npm start
View Details ▼
npm start
This command is an alias of `npm run start`.
tldr npm run
View documentation for the original command:
npm test
View Details ▼
npm test
This command is an alias of `npm run test`.
tldr npm run
View documentation for the original command:
winget
View Details ▼
winget
Windows Package Manager.
winget {{[add|install]}} {{package}}
Install a package (use `--source` when package is available from multiple sources):
winget {{[rm|uninstall]}} {{package}}
Remove a package (Note: `remove` can also be used instead of `uninstall`):
winget show {{package}}
Display information about a package:
