Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/advanced/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Static proxy to the `PromptManager` singleton.
| `Deck::get(string $name, ?int $version = null)` | `PromptTemplate` | Load a prompt by name and optional version. |
| `Deck::active(string $name)` | `PromptTemplate` | Load the active version of a prompt. |
| `Deck::versions(string $name)` | `array` | List all versions for a prompt. |
| `Deck::activate(string $name, string $version)` | `bool` | Activate a specific version. |
| `Deck::activate(string $name, int $version)` | `bool` | Activate a specific version. |
| `Deck::track(string $name, int $version, array $data)` | `void` | Record a prompt execution. |

---
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected function defineEnvironment($app): void

protected function defineDatabaseMigrations(): void
{
$this->loadMigrationsFrom(__DIR__ . '/../src/database/migrations');
$this->loadMigrationsFrom(__DIR__ . '/../src/Database/migrations');
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/core/make-prompt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ The default stubs are located in the package's `stubs/` directory.

### Custom stubs

To customise the stubs for your project, create a `stubs/prompt-deck/` directory at your application root and place your own versions of any stub file there:
To customise the stubs for your project, create a `stubs/deck/` directory at your application root and place your own versions of any stub file there:

```
your-app/
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ Currently, only the `directory` strategy is supported. Each version is stored in
```
resources/prompts/order-summary/
├── v1/
└── system.md
└── system.md
├── v2/
├── system.md
└── user.md
├── system.md
└── user.md
└── metadata.json
```

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This creates the following structure:
resources/prompts/
└── order-summary/
├── v1/
└── system.md
└── system.md
└── metadata.json
```

Expand Down
6 changes: 3 additions & 3 deletions docs/integrations/ai-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ The `HasPromptTemplate` trait bridges Deck's file-based templates with the Larav
```
prompts/sales-coach/
├── v1/
├── system.md → instructions()
├── user.md → promptMessages()
└── metadata.json
├── system.md → instructions()
├── user.md → promptMessages()
└── metadata.json
└── v2/
├── system.md → instructions() (active version)
├── user.md → promptMessages()
Expand Down