From 2f152dd7f7491f76d44f18a3d44cb917c53b9ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Tue, 2 May 2023 16:33:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA4=EF=B8=8F=E2=83=A3=20test:=20level?= =?UTF-8?q?=204=20strategies=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/options/generate/templates_user.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/options/generate/templates_user.py b/src/options/generate/templates_user.py index 4971a56..340a76e 100644 --- a/src/options/generate/templates_user.py +++ b/src/options/generate/templates_user.py @@ -273,16 +273,16 @@ jina==2.0.0 template_solve_apt_get_dependency_issue = PromptTemplate.from_template( - '''Your task is to provide guidance on how to solve an error that occurred during the Docker build process. -Here is the summary of the error that occurred: -{summarized_error} - + '''Your task is to provide guidance on how to solve an error that occurred during the Docker build process. You are given the following files: {all_files_string} +Here is the summary of the error that occurred: +{summarized_error} + To solve this error, you should determine the list of packages that need to be installed via `apt-get install` in the Dockerfile. -Output the apt-get packages that need to me placed at {{apt_get_packages}} as json in the following format: +Output the apt-get packages that need to be placed at {{apt_get_packages}} as json in the following format: **apt-get-packages.json** ```json {{"packages": ["", ""]}} @@ -297,7 +297,9 @@ The output would be: **apt-get-packages.json** ```json {{"packages": []}} -```''' +``` +Note that you must not output any other files. Only output the apt-get-packages.json file. +''' )