From b7cba4643e6769afc3318a26ca76af808211404a Mon Sep 17 00:00:00 2001 From: aB0t Date: Thu, 13 Jul 2023 11:31:26 +0200 Subject: [PATCH] update 2023-07-13 11:31:26 --- .../code.php | 1 + .../code.power | 1 + .../code.php | 43 +++++++++++-------- 3 files changed, 28 insertions(+), 17 deletions(-) diff --git a/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.php b/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.php index dcd5902..940ba1d 100644 --- a/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.php +++ b/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.php @@ -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') diff --git a/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.power b/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.power index 288b4eb..4c8c121 100644 --- a/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.power +++ b/src/3439e63b-d8f1-42ce-a765-60d56b1fbe21/code.power @@ -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') diff --git a/src/ff8d5fdb-2d1f-4178-bd18-a43b8efd1068/code.php b/src/ff8d5fdb-2d1f-4178-bd18-a43b8efd1068/code.php index e064621..66ddbef 100644 --- a/src/ff8d5fdb-2d1f-4178-bd18-a43b8efd1068/code.php +++ b/src/ff8d5fdb-2d1f-4178-bd18-a43b8efd1068/code.php @@ -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',