Summarize multiple texts

#68
by Cgodwin - opened

I am curious what the format should be for passing in multiple texts to create a summary of all the texts passed in. Should this be done by passing in joining all together as the instruction or should it be passed in as context? Not sure how best to structure the instruction/context for something like this?

Databricks org

You can just say "Summarize the following text: ..."
If the text is too long for the context window, then summarize chunks and summarize the summaries.
This is exactly what langchain's summarize chain tries to implement for you on top of an LLM.

Thank you so much Sean for this help and the idea to summarize the summaries produced!

Cgodwin changed discussion status to closed

Sign up or log in to comment