langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
48.24k stars 6.89k forks source link

Add summarize the long-content feature #6050

Closed cysummer closed 1 month ago

cysummer commented 3 months ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I'm trying to get the agent to summarize the document in knowledge base,contains long document.

2. Additional context or comments

langchain has already implemented this feature, and I hope Dify can also have this feature. https://python.langchain.com/v0.1/docs/use_cases/summarization/

3. Can you help us with this feature?

iguoli commented 3 months ago

I really also need this feature! I'm using python code to chunk the long-content into several pieces and transfer them to an iteration to implement the feature for now, but the performance was not good and iteration was limited to 30 elements maximum.

luizcarvalho commented 1 month ago

I really also need this feature!!