Document skill `top_k` and `min_p` parameters in configuration.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 2 Dec 2025 19:57:45 +0000 (21:57 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 2 Dec 2025 19:57:45 +0000 (21:57 +0200)
doc/index.org
src/main/java/eu/svjatoslav/alyverkko_cli/configuration/SkillConfig.java

index 0b47a99..9baf5ee 100644 (file)
@@ -494,10 +494,12 @@ Skills are defined in YAML files stored in the *skills_directory*.
 Each skill file contains:
 
 #+begin_src yaml
-prompt: "Full system prompt text here"
-temperature: 0.8       # Optional
-top_p: 0.9             # Optional
-repeat_penalty: 1.1    # Optional
+  prompt: "Full system prompt text here"
+  temperature: 0.8       # Optional
+  top_p: 0.9             # Optional
+  top_k: 0.5             # Optional
+  min_p: 0.5             # Optional
+  repeat_penalty: 1.1    # Optional
 #+end_src
 
 The system prompt must contain *<TASK-FILE>* which gets replaced with
index 2ccd61c..9508654 100644 (file)
@@ -13,6 +13,7 @@ public class SkillConfig {
     /**
      * Skill-specific top-p value overriding model/global defaults.
      */
+    @JsonProperty("top_p")
     private Float topP;
 
     @JsonProperty("top_k")
@@ -24,6 +25,7 @@ public class SkillConfig {
     /**
      * Skill-specific repeat penalty value overriding model/global defaults.
      */
+    @JsonProperty("repeat_penalty")
     private Float repeatPenalty;
 
 }
\ No newline at end of file