AI Chat boilerplate powered by Laravel and Upstash Vector
See the codeThis is a sample application that demonstrates how to use the Upstash Vector database with the OpenAI API to build a chatbot that can answer questions about Laravel.
It ingests the Laravel documentation from the GitHub repository, breaks the documentation into chunks and stores them in our Vector database.
The chatbot then uses the Vector database to answer questions about the documentation.
composer install.env.example file to .env and fill in the required environment variables.php artisan app:ingest:documentation to populate the database with the documentation.php artisan servehttp://localhost:8000212 followers · starred Feb 2025
AI Chat boilerplate powered by Laravel and Upstash Vector
See the codeThis is a sample application that demonstrates how to use the Upstash Vector database with the OpenAI API to build a chatbot that can answer questions about Laravel.
It ingests the Laravel documentation from the GitHub repository, breaks the documentation into chunks and stores them in our Vector database.
The chatbot then uses the Vector database to answer questions about the documentation.
composer install.env.example file to .env and fill in the required environment variables.php artisan app:ingest:documentation to populate the database with the documentation.php artisan servehttp://localhost:8000212 followers · starred Feb 2025