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

Add special suggestion for Math and Compare nodes in node selector #2908

Merged
merged 4 commits into from
May 24, 2024

Conversation

RunDevelopment
Copy link
Member

This PR makes it easier to write chains with Math and Compare nodes. The context node selector will now parse search queries like *4 and create a Math node that multiplies the given number by 4. Example:

image
image

Special suggestions are defined by the backend via a new suggestions API. It's a pretty flexible system, so we can use it for other nodes as well in the future.

@joeyballentine joeyballentine merged commit 4854e59 into chaiNNer-org:main May 24, 2024
17 checks passed
@RunDevelopment RunDevelopment deleted the special-suggestions branch May 24, 2024 13:13
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.

None yet

2 participants