feat: chain of thought

This commit is contained in:
Florian Hönicke
2023-03-22 18:16:57 +01:00
parent d1954317fc
commit 1c8272e706
8 changed files with 456 additions and 305 deletions

View File

@@ -9,6 +9,10 @@ def recreate_folder(folder_path):
shutil.rmtree(folder_path)
os.makedirs(folder_path)
def persist_file(file_content, file_name):
with open(f'executor/{file_name}', 'w') as f:
f.write(file_content)
class GenerationTimeoutError(Exception):
pass