laravel-gpt
LaravelGPT: Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel applications for advanced AI-powered text generation and analysis.
File Explorer
Download Latest Version (.zip)- tests.yml
- laravel-gpt.php
- GPTActionMakeCommand.php
- GPTChatMakeCommand.php
- GPTFunctionMakeCommand.php
- RuleConverterMakeCommand.php
- GPTMakeCommand.php
- HasChat.php
- ChatRole.php
- ErrorPatternFoundException.php
- NoFunctionCallException.php
- FunctionCallDecodingException.php
- FunctionCallRequiresFunctionsException.php
- MissingFunctionException.php
- FieldSetException.php
- IncompatibleValidationRuleException.php
- InvalidFormatException.php
- UnknownValidationOptionException.php
- ApiKeyIsMissingException.php
- FillableGPTAction.php
- FillableGPTChat.php
- FillableGPTFunction.php
- OpenAI.php
- ChatPayloadGenerator.php
- Dir.php
- ChatManager.php
- FunctionManager.php
- ChatFunctionCall.php
- ChatMessage.php
- GPTServiceProvider.php
- BladePromptService.php
- AcceptedIfRuleConverter.php
- AcceptedRuleConverter.php
- AfterOrEqualRuleConverter.php
- AfterRuleConverter.php
- AlphaDashRuleConverter.php
- AlphaNumRuleConverter.php
- AlphaRuleConverter.php
- ArrayRuleConverter.php
- AsciiRuleConverter.php
- BeforeOrEqualRuleConverter.php
- BeforeRuleConverter.php
- BetweenRuleConverter.php
- BooleanRuleConverter.php
- DateRuleConverter.php
- DecimalRuleConverter.php
- EmailRuleConverter.php
- EnumRuleConverter.php
- FieldDescriptionRuleConverter.php
- InRuleConverter.php
- IntegerRuleConverter.php
- MaxRuleConverter.php
- MinRuleConverter.php
- NotInRuleConverter.php
- RequiredIfRuleConverter.php
- RequiredRuleConverter.php
- StringRuleConverter.php
- UrlRuleConverter.php
- AbstractRuleConverter.php
- FieldDescription.php
- JsonSchemaService.php
- GPTAction.stub
- GPTChat.stub
- GPTFunction.stub
- RuleConverter.stub
- OpenAIFake.php
- GPTAction.php
- GPTChat.php
- GPTFunction.php
- BasicTest.php
- BasicTest.php
- FunctionCallTest.php
- HooksTest.php
- MakeTest.php
- AcceptedIfRuleConverterTest.php
- AcceptedRuleConverterTest.php
- AfterOrEqualRuleConverterTest.php
- AfterRuleConverterTest.php
- AlphaDashRuleConverterTest.php
- AlphaNumRuleConverterTest.php
- AlphaRuleConverterTest.php
- AsciiRuleConverterTest.php
- BeforeOrEqualRuleConverterTest.php
- BeforeRuleConverterTest.php
- BetweenRuleConverterTest.php
- BooleanRuleConverterTest.php
- DateRuleConverterTest.php
- DecimalRuleConverterTest.php
- EmailRuleConverterTest.php
- EnumRuleConverterTest.php
- FieldDescriptionRuleConverterTest.php
- InRuleConverterTest.php
- IntegerRuleConverterTest.php
- MaxRuleConverterTest.php
- MinRuleConverterTest.php
- NotInRuleConverterTest.php
- RequiredIfRuleConverterTest.php
- RequiredRuleConverterTest.php
- StringRuleConverterTest.php
- NestedRulesTest.php
- RuleConverterTestCase.php
- IntegerEnum.php
- StringEnum.php
- TestGPTFunction.php
- TestResponse.php
- TestSchema.php
- SetupTest.php
- TestCase.php
- .gitignore
- composer.json
- CONTRIBUTING.md
- LICENSE.md
- package.json
- phpunit.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/maltekuhr/laravel-gpt
Downloads the entire project code from GitHub to your computer.
cd laravel-gpt
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
3. PHP (Composer)
EasyPrerequisites
composer require maltekuhr/laravel-gpt
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
