Fix Generate Template
This commit is contained in:
parent
0c88c9842a
commit
05a5c75dd0
|
@ -224,7 +224,6 @@ class GenerateTemplate extends Command
|
||||||
{
|
{
|
||||||
// Get form structure
|
// Get form structure
|
||||||
$completer = (new GptCompleter(config('services.openai.api_key')))
|
$completer = (new GptCompleter(config('services.openai.api_key')))
|
||||||
->setAiModel('gpt-3.5-turbo-16k')
|
|
||||||
->useStreaming()
|
->useStreaming()
|
||||||
->setSystemMessage('You are an assistant helping to generate forms.');
|
->setSystemMessage('You are an assistant helping to generate forms.');
|
||||||
$completer->expectsJson()->completeChat([
|
$completer->expectsJson()->completeChat([
|
||||||
|
|
Loading…
Reference in New Issue