Skip to content

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

Merged
joeyballentine merged 4 commits intochaiNNer-org:mainfrom
RunDevelopment:special-suggestions
May 24, 2024
Merged

Add special suggestion for Math and Compare nodes in node selector#2908
joeyballentine merged 4 commits intochaiNNer-org:mainfrom
RunDevelopment:special-suggestions

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
@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.

2 participants