Skip to content

Summarize loaded documents without vector db #1381

Closed Answered by dosubot bot
hawksung1 asked this question in Q&A
Discussion options

You must be logged in to vote

🤖

Hey @hawksung1, great to see you back here! Let's dive into another adventure together. 🚀

Based on the code you've provided, it seems like you're trying to replace the vector database in LangFlow with a summarization component similar to the one in LangChain. However, without the specific details of the summarization component in LangChain, it's challenging to provide a precise code modification.

In LangFlow, the vector database is created in the RedisComponent class, specifically in the build method. If you want to replace this with a summarization component, you would need to replace the Redis.from_documents call with a call to a summarization method or class. This would also require …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hawksung1
Comment options

Answer selected by hawksung1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant