Skip to content

.Net: Support markdown semantic functions #844

@onionhammer

Description

@onionhammer

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

  • WriterSkill/
    • Acronym/
      • skprompt.txt
      • config.json
    • EmailTo/
      • skprompt.txt
      • config.json

You could have

  • WriterSkill
    • Acronym.md
    • EmailTo.md

Where Acronym.md has

---
schema: 1
type: completion
description: Generate an acronym for the given concept or phrase
completion: 
  max_tokens: 100
  temperature: 0.5
  top_p: 0.0
  presence_penalty: 0.0
  frequency_penalty: 0.0
---
Generate a suitable acronym pair for the concept. Creativity is encouraged, including obscure references. 
The uppercase letters in the acronym expansion must agree with the letters of the acronym

Q: A technology for detecting moving objects, their distance and velocity using radio waves.  
A: R.A.D.A.R: RAdio Detection And Ranging. 

Q: A weapon that uses high voltage electricity to incapacitate the target
A. T.A.S.E.R:  Thomas A. Swift’s Electric Rifle

Q: Equipment that lets a diver breathe underwater 
A: S.C.U.B.A: Self Contained Underwater Breathing Apparatus.

Q: Reminder not to complicated subject matter.
A. K.I.S.S: Keep It Simple Stupid 

Q: A national organization for investment in space travel, rockets, space ships, space exploration
A. N.A.S.A: National Aeronautics Space Administration

Q: Agreement that governs trade among North American countries.
A: N.A.F.T.A: North American Free Trade Agreement. 

Q: Organization to protect the freedom and security of its member countries in North America and Europe.
A: N.A.T.O: North Atlantic Treaty Organization.  

Q:{{$input}}

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")

Metadata

Metadata

Labels

Type

No type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions