aplpolaris / promptfx

Kotlin LLM Prompts and User Interface
Apache License 2.0
16 stars 1 forks source link

[feat] UI tab for Recursive Document Summarization #293

Open triathematician opened 2 weeks ago

triathematician commented 2 weeks ago

Create a new tab where the goal is to summarize a complete document of arbitrary length (might require more tokens than supported by the model). This would be similar to the 'Doc Insights' view but with the objective to generate more streamlined output. There should be default prompts designed to achieve a good paragraph summary, with enough control for tweaking those (using promptfx templating approaches) to get different output styles.

Example of workflow to follow: https://python.langchain.com/v0.1/docs/use_cases/summarization/