Skip to content

Sketching out an implementation of a RouteNotDiamond node.#1

Draft
acompa wants to merge 2 commits into
mainfrom
a9-nd
Draft

Sketching out an implementation of a RouteNotDiamond node.#1
acompa wants to merge 2 commits into
mainfrom
a9-nd

Conversation

@acompa

@acompa acompa commented Aug 8, 2024

Copy link
Copy Markdown

An incredibly rough sketch (read: nonfunctioning) sketch of how Not Diamond might integrate with Substrate.

High-level:

  • Introducing a RouteNotDiamond node which would route a ComputeText to one of the specified models.
  • A subsequent If node can then invoke a ComputeText on the target model.

For some reason I can't quite check the output of a RunNotDiamond (itself just a RunPython) against a literal str in my If node, so the fully-routed graph is commented out. But we can execute the ND API call server-side, and clearly see a response for the given ComputeText. 🙌🏼

@acompa acompa changed the title A9 nd Sketching out an implementation of a RouteNotDiamond node. Aug 8, 2024
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