From 0c7af57bbf3e19d5d8b5352717dd9d716d311779 Mon Sep 17 00:00:00 2001 From: Alexis Deprez Date: Tue, 27 Aug 2024 12:22:51 +0200 Subject: [PATCH] fix: compress llm output --- lavague-core/lavague/core/python_engine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lavague-core/lavague/core/python_engine.py b/lavague-core/lavague/core/python_engine.py index 30cc8c33..2c7d697d 100644 --- a/lavague-core/lavague/core/python_engine.py +++ b/lavague-core/lavague/core/python_engine.py @@ -191,6 +191,7 @@ def execute_instruction(self, instruction: str) -> ActionResult: ret: "[your answer]" ``` If you do not have sufficient context, set 'ret' to 'Insufficient context' and 'score' to 0. + Keep the answer in 'ret' concise but informative. The query is: {instruction} """