Update personality.py

This commit is contained in:
Saifeddine ALOUI 2024-05-03 16:26:57 +02:00 committed by GitHub
parent 3dbe1e81b1
commit 8ef6f84939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2348,7 +2348,7 @@ class APScript(StateMachine):
self.step_start(f" Summary of {doc_name} - Processing chunk : {i+1}/{len(chunks)}")
summary = f"{answer_start}"+ self.fast_gen(
"\n".join([
f"!@>Document_chunk: {doc_name}:",
f"!@>Document_chunk [{doc_name}]:",
f"{chunk}",
f"!@>instruction: {summary_instruction}",
f"Answer directly with the summary with no extra comments.",