From: Svjatoslav Agejenko Date: Tue, 2 Dec 2025 19:57:45 +0000 (+0200) Subject: Document skill `top_k` and `min_p` parameters in configuration. X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=71d05ca5f074757421189d9ca66d40e31f143427;p=alyverkko-cli.git Document skill `top_k` and `min_p` parameters in configuration. --- diff --git a/doc/index.org b/doc/index.org index 0b47a99..9baf5ee 100644 --- a/doc/index.org +++ b/doc/index.org @@ -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 ** which gets replaced with diff --git a/src/main/java/eu/svjatoslav/alyverkko_cli/configuration/SkillConfig.java b/src/main/java/eu/svjatoslav/alyverkko_cli/configuration/SkillConfig.java index 2ccd61c..9508654 100644 --- a/src/main/java/eu/svjatoslav/alyverkko_cli/configuration/SkillConfig.java +++ b/src/main/java/eu/svjatoslav/alyverkko_cli/configuration/SkillConfig.java @@ -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