From f96ab7523e0c028a663830e2358bd87a42e5599f Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Sun, 12 Jan 2025 13:11:53 -0500 Subject: [PATCH] "feat(ml_interface): update ml_body temperature value" --- src/ml_interface.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ml_interface.rs b/src/ml_interface.rs index 96bf7b4..a7aa8f2 100644 --- a/src/ml_interface.rs +++ b/src/ml_interface.rs @@ -1,3 +1,5 @@ +use std::error::Error; + use reqwest::blocking::Client; use serde::{Deserialize, Serialize}; @@ -48,7 +50,7 @@ impl MlBody { prompt: content, system: directions, options: MlOptions { - temperature: 0.5, + temperature: 0.1, num_predict: 0, repeat_last_n: 0, top_k: 10,