Skip to content

Commit

Permalink
(docs): update README with config publishing command
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyhindle committed Sep 11, 2024
1 parent 9374964 commit f6bdc7f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ class Article extends Model {
composer require ashleyhindle/laravel-ai-autofill
```

## Setup
```bash
php artisan ai-autofill:install
```

You'll then have a `config/ai-autofill.php` file that sets up your providers. You'll need to ensure you have the necessary `.env` variables setup.

The key ones are:
```yaml
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
OLLAMA_URL=
OLLAMA_MODEL=
```

## Usage

### Model Trait Usage
Expand Down

0 comments on commit f6bdc7f

Please sign in to comment.