https://github.com/peterramsing/laravel-rag-test
RAG testing and workshopping in Laravel
https://github.com/peterramsing/laravel-rag-test
Last synced: 5 months ago
JSON representation
RAG testing and workshopping in Laravel
- Host: GitHub
- URL: https://github.com/peterramsing/laravel-rag-test
- Owner: peterramsing
- Created: 2024-10-31T05:38:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T05:48:03.000Z (over 1 year ago)
- Last Synced: 2025-10-17T08:48:05.945Z (8 months ago)
- Language: PHP
- Size: 790 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rag Test
## Setup
1. `cp .env.example .env`
2. Postgresql: https://dbngin.com/ (update your .env)
3. Get your OpenAI key, put it in the .env file
4. `composer install`
5. `composer run dev` (or however you boot your Laravel locally)
6. Add some data `php artisan db:seed --class=SourceTextSeeder`
## Usage
If you want to add more source material paste text into the textarea and add it.
If you want to search, query, then see the embeddings used