You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature would actually be usable throughout Genkit but would be most useful for Dotprompt. If Genkit supported a schema registry, it would be much easier to share schema definitions between text prompt files and code.
This feature would actually be usable throughout Genkit but would be most useful for Dotprompt. If Genkit supported a schema registry, it would be much easier to share schema definitions between text prompt files and code.
Once a schema has been registered, it can be used inside a Dotprompt file:
Then when using the prompt, we can pass the schema to a generic argument:
This would be a big win for prompts that end up with complex output schemas that then have to essentially be defined twice.
The text was updated successfully, but these errors were encountered: