Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a new mapreducechain in appruntime #754

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Conversation

bjwswang
Copy link
Collaborator

@bjwswang bjwswang commented Feb 23, 2024

What type of PR is this?

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

image

DefaultDocumentChunkOverlap = 100
)

type MapReduceChain struct {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This MapReduceChain can be used as a extension of LLMChain or RetrivalQAChain to handle documents.

Signed-off-by: bjwswang <bjwswang@gmail.com>
@bjwswang bjwswang merged commit 49a6eba into kubeagi:main Feb 23, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant