From adc83538b10465756982fa178513b9e29d019c0b Mon Sep 17 00:00:00 2001 From: Helge Sverre Date: Thu, 5 Oct 2023 04:02:55 +0200 Subject: [PATCH] need to actually publish this file for some reason --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d90da7..451ed0d 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,15 @@ Install the package via composer: composer require helgesverre/receipt-scanner ``` -This package uses the [OpenAI Laravel Package](https://github.com/openai-php/laravel), so you need to add the +This package uses the [OpenAI Laravel Package](https://github.com/openai-php/laravel), so you need to publish their +config and add the following to your `.env` file: +```shell +php artisan vendor:publish --provider="OpenAI\Laravel\ServiceProvider" ``` + +```dotenv OPENAI_API_KEY="your-key-here ```