extensible frontmatter schema
We would like to store more data in the frontmatter, like "url" or "source". Is it possible to make it extensible or can we submit new optional fields?
I see - as part of the metadata? This is a good suggestion.
Yes, the frontmatter can be useful to store a lot of custom metadata. Currently the schema does not allow additional properties.
In the latest spec you can add a ton of optional things - will update the docs
The schema hasn't been updated https://github.com/microsoft/prompty/blob/main/vscode/prompty/schemas/prompty.yaml
I moved to a TypeSpec definition to make it all much better. The idea is to automatically generate some of the base classes (eventually) in multiple languages so all the loaders work the same. The latest dev release has the majority of the new schema implemented (finalizing the output properties this week).