Closed shaneboulden closed 3 months ago
looks like a bug to me but this sounds like a knowledge not a skill
Thanks @xukai92!
I assumed that the knowledge to create formatted JSON files from example input would already be supported by the model. So, the skill then would be building new StackRox policies (simply JSON files) from the example policies provided.
Or is there more foundational knowledge required to support this skill?
the knowledge to create formatted JSON files from example input creating formatted JSON is more like a skill
if the model does not know what those policies are (e.g. "a StackRox policy that detects XXX in a container image"), it cannot invoke such a skill to create a JSON.
seems to me such policies are not common sense (correct me if I'm wrong) and are (domain-specific) knowledge.
so to achieve what you want, you will probably need to provide a StackRox manual on these polices and add them via knowledge support.
there is an experimental support from the CLI side you can play with (see https://github.com/instruct-lab/cli/pull/429#issuecomment-1985103225 but you don't need to pass --document
any more)
we have official knowledge support on the CLI side now: https://github.com/instruct-lab/cli/releases/tag/v0.12.0 please give a try and reopen this issue if the problem still exists.
Describe the bug I generated a
seed_examples
YAML file for a new grounded, compositional skill. Thelab generate
command keeps just outputting the same data.Input given at the prompt
Then
lab generate
.Response that was received
Response that was expected Different permutations of the example JSON policies