Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

output passage in scrape_docs

Vivian Fang2de9820364c2
diff --git a/memgpt/personas/examples/docqa/scrape_docs.py b/memgpt/personas/examples/docqa/scrape_docs.py
index 024558b08..666826942 100644
--- a/memgpt/personas/examples/docqa/scrape_docs.py
+++ b/memgpt/personas/examples/docqa/scrape_docs.py
@@ -36,6 +36,7 @@ def extract_text_from_sphinx_txt(file_path):
})
continue
curr_token_ct += line_token_ct
+ curr_passage.append(line)
if curr_token_ct > PASSAGE_TOKEN_LEN:
passages.append({
'title': title,