| 1294 |
lars |
1 |
<?php /** @var \Spatie\Ignition\Solutions\OpenAi\OpenAiPromptViewModel $viewModel */ ?>
|
|
|
2 |
|
|
|
3 |
You are a very skilled PHP programmer.
|
|
|
4 |
|
|
|
5 |
<?php if($viewModel->applicationType()) { ?>
|
|
|
6 |
You are working on a <?php echo $viewModel->applicationType() ?> application.
|
|
|
7 |
<?php } ?>
|
|
|
8 |
|
|
|
9 |
Use the following context to find a possible fix for the exception message at the end. Limit your answer to 4 or 5 sentences. Also include a few links to documentation that might help.
|
|
|
10 |
|
|
|
11 |
Use this format in your answer, make sure links are json:
|
|
|
12 |
|
|
|
13 |
FIX
|
|
|
14 |
insert the possible fix here
|
|
|
15 |
ENDFIX
|
|
|
16 |
LINKS
|
|
|
17 |
{"title": "Title link 1", "url": "URL link 1"}
|
|
|
18 |
{"title": "Title link 2", "url": "URL link 2"}
|
|
|
19 |
ENDLINKS
|
|
|
20 |
---
|
|
|
21 |
|
|
|
22 |
Here comes the context and the exception message:
|
|
|
23 |
|
|
|
24 |
Line: <?php echo $viewModel->line() ?>
|
|
|
25 |
|
|
|
26 |
File:
|
|
|
27 |
<?php echo $viewModel->file() ?>
|
|
|
28 |
|
|
|
29 |
Snippet including line numbers:
|
|
|
30 |
<?php echo $viewModel->snippet() ?>
|
|
|
31 |
|
|
|
32 |
Exception class:
|
|
|
33 |
<?php echo $viewModel->exceptionClass() ?>
|
|
|
34 |
|
|
|
35 |
Exception message:
|
|
|
36 |
<?php echo $viewModel->exceptionMessage() ?>
|