From cd376385cddb33cdefd62e525d4f963d4424378e Mon Sep 17 00:00:00 2001 From: jgravelle Date: Mon, 18 Mar 2024 06:34:27 -0500 Subject: [PATCH] Update README.md More features... --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b9b4329..b7e0b23 100644 --- a/README.md +++ b/README.md @@ -28,23 +28,27 @@ class Program { static async Task Main(string[] args) { - string apiKey = "xxxxxxxxxxx"; + string apiKey = "xxxxxxxxx"; IGroqApiClient groqApi = new GroqApiClient(apiKey); - JObject request = new JObject + JObject request = new() { - ["model"] = "mixtral-8x7b-32768", + ["model"] = "mixtral-8x7b-32768", // LLaMA2-70b-chat or Gemma-7b-it also supported + ["temperature"] = 0.5, + ["max_tokens"] = 100, + ["top_p"] = 1, + ["stop"] = "TERMINATE", ["messages"] = new JArray { new JObject { ["role"] = "system", - ["content"] = "You are a chatbot that holds every answer to every question" + ["content"] = "You are a chatbot capable of anything and everything." }, new JObject { ["role"] = "user", - ["content"] = "What is the meaning of life?" + ["content"] = "Write a poem about GitHub." } } }; @@ -64,4 +68,4 @@ Contributions are welcome! If you find any issues or have suggestions for improv This library is licensed under the MIT License. See the LICENSE file for more information. ## Special Thanks -Marcus Cazzola , who did most of the heavy lifting. \ No newline at end of file +Marcus Cazzola , who did most of the heavy lifting.