Closed onionhammer closed 4 months ago
@onionhammer we looked into something similar using the DIB format discussed here https://github.com/dotnet/interactive/issues/467 but we opted for TXT for a few reasons:
That said, it's possible to implement custom parsers and we could consider hosting alternative formats.
we could consider hosting alternative formats.
Why was this closed as completed?
@dluc Why was this closed as completed? Did you mean to close it as not planned? If so then why say you'd consider hosting alternative formats?
For any future folks, I wrote a quick proof of concept. The argument about "performance" above is pretty silly, reading from 1 file is always going to be faster than reading from 2 files, the only difference is YAML deserialization vs JSON deserialization, which should be negligible. This could be easily tuned to be more performant, but 99% of the time will be spent reading the file into memory from secondary storage.
Also, some things had to be duplicated, since this library makes some things internal-only
https://gist.github.com/onionhammer/c019b04a7c4f058cd57183f0df738905
@markwallace-microsoft
@onionhammer This is a good idea - I like that semantic functions stored markdown would also be visible and nicely rendered in github, etc.
We're working on evaluating a couple new prompt formats, and this is a good one to add to the list. @markwallace-microsoft
Thanks, hoping support is added in
We're starting with the YAML format that is being defined by Azure AI Studio. Afterwards, we can add markdown support.
We're starting with the YAML format that is being defined by Azure AI Studio. Afterwards, we can add markdown support.
This relies on YAML so I guess that makes sense.
All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.
@markwallace-microsoft if this is not complete, dont mark it as closed as complete.
Please reopen.
It would be great if skills could be defined as a group of markdown files with frontmatter (YAML) for defining the configuration, i.e.
instead of
You could have
Where Acronym.md has
This would help reduce the number of files and folders a developer has to sift through, making the name of the file significant (rather than every function being named "skprompt.txt")