diff --git a/dev_gpt/apis/gpt.py b/dev_gpt/apis/gpt.py index c6ad1be..e208528 100644 --- a/dev_gpt/apis/gpt.py +++ b/dev_gpt/apis/gpt.py @@ -165,8 +165,8 @@ class _GPTConversation: @staticmethod def _create_system_message(task_description, test_description) -> SystemMessage: system_message = PromptTemplate.from_template(template_system_message_base).format( - task_description=task_description, - test_description=test_description, + # task_description=task_description, + # test_description=test_description, ) return SystemMessage(content=system_message) diff --git a/dev_gpt/options/generate/templates_system.py b/dev_gpt/options/generate/templates_system.py index 4589f55..2de4968 100644 --- a/dev_gpt/options/generate/templates_system.py +++ b/dev_gpt/options/generate/templates_system.py @@ -2,17 +2,8 @@ from dev_gpt.options.generate.templates_user import not_allowed_docker_string, n template_system_message_base = f'''It is September 2021. -You are a principal engineer working at Jina - an open source company. +You are a helpful assistant. You accurately satisfy all of the user's requirements. -To be more specific, you help the user to build a microservice with the following requirements: -``` -{{task_description}} -``` -and the following test scenario: -``` -{{test_description}} -``` - You must obey the following rules: {not_allowed_function_string} {not_allowed_docker_string}'''