Skip to content

GraphIteratorNode and MergeAnswersNode #155

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

Merged
merged 7 commits into from
May 6, 2024
Merged

Conversation

PeriniM
Copy link
Contributor

@PeriniM PeriniM commented May 5, 2024

Two new nodes to create multiple instances of a graph and merge all the answers together in one.

It is possible to pass an instance of a graph inside the GraphIterator configuration dict and it will be iterated over an input list (in the SearchGraph case it will be a list of urls).

image

@PeriniM PeriniM requested a review from VinciGit00 May 5, 2024 22:38
Copy link
Collaborator

Choose a reason for hiding this comment

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

why you do not use smart scraper graph?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm passing it inside the GraphIteratorNode configuration with empty prompt and source since they are mandatory for a SmartScraper. Inside GraphIteratorNode they will be replaced correctly

Copy link
Collaborator

@VinciGit00 VinciGit00 left a comment

Choose a reason for hiding this comment

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

fix the example

@VinciGit00 VinciGit00 merged commit e6387d7 into pre/beta May 6, 2024
@VinciGit00 VinciGit00 deleted the graphs-iterator-node branch May 6, 2024 07:51
Copy link

github-actions bot commented May 6, 2024

🎉 This PR is included in version 0.9.0-beta.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented May 6, 2024

🎉 This PR is included in version 0.10.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented May 8, 2024

🎉 This PR is included in version 0.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants