breadboard icon indicating copy to clipboard operation
breadboard copied to clipboard

urlTemplate does not complain about missing inputs

Open dglazkov opened this issue 1 year ago • 1 comments

Unlike promptTemplate, the urlTemplate happily substitutes blanks if the inputs aren't supplied. Instead, it should complain about missing inputs like promptTemplate.

Discovered by @jig925 in https://github.com/breadboard-ai/breadboard/discussions/1182#discussioncomment-9094597

dglazkov avatar Apr 12 '24 17:04 dglazkov

It would also be worthwhile documenting some of the syntax for urlTemplate too, it's uses a very robust library that can do cool things like build query strings correctly.

PaulKinlan avatar Apr 16 '24 14:04 PaulKinlan