Skip to content

Commit

Permalink
Temperature config update for Gemini redacter
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Aug 7, 2024
1 parent 8f70a3d commit a8cd479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/redacters/gemini_llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ impl<'a> GeminiLlmRedacter<'a> {
generation_config: Some(
gcloud_sdk::google::ai::generativelanguage::v1beta::GenerationConfig {
candidate_count: Some(1),
temperature: Some(0.2),
stop_sequences: vec![generate_random_text_separator.clone()],
..std::default::Default::default()
},
),
Expand Down

0 comments on commit a8cd479

Please sign in to comment.