breadboard-ai / breadboard

A library for prototyping generative AI applications.
Apache License 2.0
172 stars 23 forks source link

Stop inferring schemas for serialized graphs #924

Open dglazkov opened 7 months ago

dglazkov commented 7 months ago

Now that I've used the new syntax for a little bit, I am realizing that trying to infer input/output schemas for graphs is mostly in the way. It introduces artifacts that I didn't expect. Here are a couple of examples:

Let's remove that machinery.

@seefeldb WDYT?

seefeldb commented 7 months ago

Sure, and this shows a few underlying issues that we might want to tackle:

So short term you could leave the automatic generation in, but remove drop all the wires that don't have an explicitly set title. But the real solution would be to start serializing schema information as first class citizen on wires and maybe also on nodes.