feat(retriever_tool): add retriever tool for agent

This commit is contained in:
11linear11
2026-08-30 10:32:38 -04:00
parent 52dfcd39a1
commit 0d30af2d12
2 changed files with 22 additions and 9 deletions
-9
View File
@@ -25,12 +25,3 @@ class DocProcessor:
return text_splitter.split_documents(docs)
if __name__ == "__main__":
doc_processor = DocProcessor()
chunks = doc_processor.process_docs()
print(f"Total Chunks Created: {len(chunks)}")
if chunks:
print("\n--- First Chunk Metadata ---")
print(chunks[0].metadata)
print("\n--- First Chunk Preview ---")
print(chunks[0].page_content[:200])