From 57844638ce504f1a69eb770f27bbafb7077ccb19 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 2 Mar 2023 23:11:34 +0800 Subject: feat: add config.temperature --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 0feed64..729320e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,6 +7,8 @@ use serde::Deserialize; pub struct Config { /// Openai api key pub api_key: String, + /// What sampling temperature to use, between 0 and 2 + pub temperature: Option, /// Set proxy pub proxy: Option, /// Used only for debugging -- cgit v1.2.3