Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
More features...
  • Loading branch information
jgravelle authored Mar 18, 2024
1 parent 1724c73 commit cd37638
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
};
Expand All @@ -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.
Marcus Cazzola , who did most of the heavy lifting.

0 comments on commit cd37638

Please sign in to comment.