Skip to content

v0.2.6.5: 🔗Join Nodes

Compare
Choose a tag to compare
@ianarawjo ianarawjo released this 23 Oct 20:55
· 65 commits to main since this release

We added a 🔗Join Node, our first Processor node, which lets you concatenate responses and/or input data, within or across LLMs.

Screen Shot 2023-10-23 at 3 10 49 PM

For instance, consider:
Screen Shot 2023-10-23 at 3 29 26 PM

We translate words one-by-one in the first Prompt Node:

Screen Shot 2023-10-23 at 3 29 41 PM

Then we can join the responses by category, fruit or dessert. Here I've opted for "double newline" formatting:

Screen Shot 2023-10-23 at 3 29 46 PM

Finally we chain these lists of items into another Prompt Node, to have an LLM tell us which one is the sweetest item of the list:

Screen Shot 2023-10-23 at 3 30 06 PM

Questions? Comments?

The Join Node is a bit of an experimental node. It does a few things, but, please let us know if it doesn't fit your use case or is too limited. And, as always, you can just implement the changes you want, and submit a Pull Request --this will be faster if the change is minor (e.g., adding another formatting option to the Join Node).