h2ogpt icon indicating copy to clipboard operation
h2ogpt copied to clipboard

How to make the summary of a text?

Open lelapin123 opened this issue 2 years ago • 3 comments

Can someone provide me a step by step set of instructions (post installation) to use the software to make the summary of a text that is in a .txt file ? Everything that i try and that looks intuitive doesn't work

lelapin123 avatar May 27 '23 04:05 lelapin123

Great question. I haven't yet added an explicit summarization button, but will soon.

The vector db itself isn't really good for summarizing. If there happened to be an abstract or summary or conclusion in the text file, it might work to ask things like "Summarize the book the Great Gatsby". However, if you use the actual book itself and try that, the LLM knows more and does a better job by itself than the vector database providing a few chunks of random text -- since the book doesn't itself have a summary.

I'd wait for any additional features before trying to summarize a text, unless it has summarization/abstract/conclusion like text in it.

pseudotensor avatar May 27 '23 05:05 pseudotensor

But I did find a bug, so thank you. I'll add some tests so no regressions occur.

Works better now:

image

pseudotensor avatar May 27 '23 05:05 pseudotensor

So what settings (and databases) should you use to ask questions about a text?

edit: I notice a "summary" mode btw

lelapin123 avatar May 27 '23 17:05 lelapin123

Summary button is now in.

pseudotensor avatar Jul 17 '23 05:07 pseudotensor