Skip to content

Instantly share code, notes, and snippets.

View brianlmerritt's full-sized avatar

Brian Merritt brianlmerritt

View GitHub Profile
@brianlmerritt
brianlmerritt / RAG_test_facade.prompt
Created July 20, 2025 10:39
Prompt to create a docker based RAG facade for testing and model and library evaluation
Prompt: Design and Implement a Modular, Library-Agnostic RAG System
System Overview
Create a production-ready Retrieval-Augmented Generation (RAG) system that follows the facade pattern to abstract away implementation details from specific libraries. The system should support swappable components for different retrieval strategies, re-ranking approaches, and evaluation frameworks while maintaining consistent interfaces.
Core Architecture Requirements
1. Document Processing Pipeline Facade
Design an ingestion system that:
Accepts multiple document formats (PDF, TXT, HTML, JSON, CSV)
Implements configurable chunking strategies with parameters for:
@brianlmerritt
brianlmerritt / Dockerfile
Last active April 7, 2024 09:21
Install ROS 2 Humble Desktop on Jetson Orin Nano JetPack 6 with Cartographer and Navigation and Cuda
#Jetson Containers tags the output the l4t version - check yours is the right one
FROM your_container_tag:l4t-r36.2.0
ENV DEBIAN_FRONTEND=noninteractive
ARG UID=1000
ARG GID=1000
# Some of this is from https://github.com/atinfinity/l4t-ros2-docker
# add new sudo user
ENV USERNAME jetson
@brianlmerritt
brianlmerritt / test2.php
Created June 17, 2021 12:20
Second Test of phpspreadsheet
<?php
require __DIR__ . '/vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\Chart\Chart;
use PhpOffice\PhpSpreadsheet\Chart\DataSeries;
use PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues;
use PhpOffice\PhpSpreadsheet\Chart\Legend;
use PhpOffice\PhpSpreadsheet\Chart\PlotArea;
use PhpOffice\PhpSpreadsheet\Chart\Title;
use PhpOffice\PhpSpreadsheet\Style\Alignment;
use PhpOffice\PhpSpreadsheet\Style\Border;
@brianlmerritt
brianlmerritt / test.php
Created June 15, 2021 10:52
phpspreadsheet charts work fine except when I add a second worksheet
<?php
require __DIR__ . '/vendor/autoload.php';
use PhpOffice\PhpSpreadsheet\Chart\Chart;
use PhpOffice\PhpSpreadsheet\Chart\DataSeries;
use PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues;
use PhpOffice\PhpSpreadsheet\Chart\Legend;
use PhpOffice\PhpSpreadsheet\Chart\PlotArea;
use PhpOffice\PhpSpreadsheet\Chart\Title;
use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Spreadsheet;