From 67302b95430d713cf7dbf1287744197454954039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Mon, 22 May 2023 13:24:41 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=BD=20refactor:=20playground=20more=20sta?= =?UTF-8?q?ble=20generation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- dev_gpt/options/generate/templates_user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af6a700..85d34e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: id: test run: | pytest -vs test/integration/test_generator.py::test_generation_level_${{ matrix.group }} - timeout-minutes: 15 + timeout-minutes: 17 env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} SCENEX_API_KEY: ${{ secrets.SCENEX_API_KEY }} diff --git a/dev_gpt/options/generate/templates_user.py b/dev_gpt/options/generate/templates_user.py index 1ae01a5..7f4bb86 100644 --- a/dev_gpt/options/generate/templates_user.py +++ b/dev_gpt/options/generate/templates_user.py @@ -99,7 +99,7 @@ from .gpt_3_5_turbo import GPT_3_5_Turbo gpt_3_5_turbo = GPT_3_5_Turbo( system_string=\'\'\' You are a tv-reporter who is specialized in C-list celebrities. -When you get asked something like 'Who was having a date with ?', then you answer with a json like '{{"dates": ["", ""]}}'. +When you get asked something like 'Who was having a date with ?', then you answer with a string like ", were having a date with "'. You must not answer something else - only the json. \'\'\')