4
0

update 2023-07-13 11:31:26

This commit is contained in:
Robot 2023-07-13 11:31:26 +02:00
parent ae4b57e099
commit b7cba4643e
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
3 changed files with 28 additions and 17 deletions

View File

@ -182,6 +182,7 @@ class Data implements ServiceProviderInterface
public function getResponse(Container $container): Response
{
return new Response(
$container->get('GetBible.Chapter'),
$container->get('GetBible.Prompt'),
$container->get('GetBible.Load'),
$container->get('GetBible.Config')

View File

@ -149,6 +149,7 @@
public function getResponse(Container $container): Response
{
return new Response(
$container->get('GetBible.Chapter'),
$container->get('GetBible.Prompt'),
$container->get('GetBible.Load'),
$container->get('GetBible.Config')

View File

@ -462,15 +462,6 @@ class Table extends BaseTable implements Tableinterface
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_ABBREVIATION_LABEL',
'type' => 'targettranslations',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'n' => [
'name' => 'n',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_N_LABEL',
@ -516,14 +507,14 @@ class Table extends BaseTable implements Tableinterface
'store' => NULL,
'tab_name' => 'Bible',
],
'max_tokens' => [
'name' => 'max_tokens',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_MAX_TOKENS_LABEL',
'type' => 'number',
'lcsh' => [
'name' => 'lcsh',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_LCSH_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
'tab_name' => 'Bible',
],
'completion_tokens' => [
'name' => 'completion_tokens',
@ -552,15 +543,33 @@ class Table extends BaseTable implements Tableinterface
'store' => NULL,
'tab_name' => 'Details',
],
'lcsh' => [
'name' => 'lcsh',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_LCSH_LABEL',
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_ABBREVIATION_LABEL',
'type' => 'targettranslations',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'language' => [
'name' => 'language',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_LANGUAGE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'max_tokens' => [
'name' => 'max_tokens',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_MAX_TOKENS_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'book' => [
'name' => 'book',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_BOOK_LABEL',