if (FALSE) {
# Build document summarizer agent
summarizer_agent <- build_doc_summarizer_agent(
llm = my_llm_wrapper,
summary_template = NULL,
chunk_size = 4000,
overlap = 200,
verbose = FALSE
)
# Summarize document
final_state <- summarizer_agent("https://github.com/knowusuboaky/LLMAgentR/raw/main/\
tests/testthat/test-data/scrum.docx")
}
Run the code above in your browser using DataLab