Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Starts counting summarised chunks from 1.

Torantulino26036d79eca3
diff --git a/AutonomousAI/browse.py b/AutonomousAI/browse.py
index 61dbd86c00..4b71069bd5 100644
--- a/AutonomousAI/browse.py
+++ b/AutonomousAI/browse.py
@@ -84,7 +84,7 @@ def summarize_text(text):
chunks = list(split_text(text))
for i, chunk in enumerate(chunks):
- print("Summarizing chunk " + str(i) + " / " + str(len(chunks)))
+ print("Summarizing chunk " + str(i+1) + " / " + str(len(chunks)))
messages = [{"role": "user", "content": "Please summarize the following text, focusing on extracting concise knowledge: " + chunk},]
response= openai.ChatCompletion.create(