Download the PHP package xheaven/laravel-ask-database without Composer
On this page you can find all versions of the php package xheaven/laravel-ask-database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xheaven/laravel-ask-database
More information about xheaven/laravel-ask-database
Files in xheaven/laravel-ask-database
Package laravel-ask-database
Short Description Use natural language and AI to query your database from Laravel
License MIT
Homepage https://github.com/beyondcode/laravel-ask-database
Informations about the package laravel-ask-database
Laravel Ask DB: Natural Language Database Query Builder
Ask DB allows you to use OpenAI's GPT-3 to build natural language database queries.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
First, you need to configure your OpenAI API key in your .env
file:
Then, you can use the DB::ask()
method to ask the database:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Marcel Pociot
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-ask-database with dependencies
doctrine/dbal Version ^3.6
illuminate/contracts Version ^9.0|^10.0
openai-php/laravel Version ^v0.7.0
spatie/laravel-package-tools Version ^1.14.0
spatie/once Version ^3.1