3 ms·
Yea, in particular for this project, they have created a bespoke templating system. You can get the same thing with Go text/templates by adding chat function(s
by verdverm 3y ago
Yea, in particular for this project, they have created a bespoke templating system.
You can get the same thing with Go text/templates by adding chat function(s) as custom a helper: https://github.com/hofstadter-io/hof/blob/_dev/lib/templates/helpers.go#L29 https://github.com/hofstadter-io/hof/blob/_dev/lib/templates...
As a developer of these things, I don't get why they want to put so much effort into the mundane parts rather than focusing on the interesting parts. These things are mostly just the same as any other workflow or API call: https://github.com/hofstadter-io/hof/blob/_dev/flow/chat/cmds.cue https://github.com/hofstadter-io/hof/blob/_dev/flow/chat/cmd... (unless you get into the python and (i.e.) start messing with the logits or token probabilities)