Skip to content

Commit 30890f5

Browse files
authored
Update README.md
1 parent 173b535 commit 30890f5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Diff for: README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[![LlmTornado](https://badgen.net/nuget/v/LlmTornado?v=301)](https://www.nuget.org/packages/LlmTornado)
22

3-
# 🌪️ LLM Tornado - one .NET library to consume OpenAI, Anthropic, Cohere, Azure, and self-hosted APIs.
3+
# 🌪️ LLM Tornado - one .NET library to consume OpenAI, Anthropic, Cohere, Google, Azure, and self-hosted APIs.
44

55
Each month at least one new large language model is released. Would it be awesome if using the new model was as easy as switching one argument?
66
LLM Tornado acts as an aggregator allowing you to do just that. Think [SearX](https://github.com/searxng/searxng) but for LLMs!
77

8-
OpenAI, Cohere, Anthropic, and Azure are currently supported along with [KoboldCpp](https://github.com/LostRuins/koboldcpp) and [Ollama](https://github.com/ollama/ollama).
8+
OpenAI, Anthropic, Cohere, Google and Azure are currently supported along with [KoboldCpp](https://github.com/LostRuins/koboldcpp) and [Ollama](https://github.com/ollama/ollama).
99

1010
The following video captures **one conversation**, running across OpenAI, Cohere, and Anthropic, with parallel tools calling & streaming:
1111

@@ -32,16 +32,18 @@ Switching the vendor is as easy as changing `ChatModel` argument. Tornado instan
3232
```csharp
3333
TornadoApi api = new TornadoApi(new List<ProviderAuthentication>
3434
{
35-
new ProviderAuthentication(LLmProviders.OpenAi, Program.ApiKeys.OpenAi),
36-
new ProviderAuthentication(LLmProviders.Anthropic, Program.ApiKeys.Anthropic),
37-
new ProviderAuthentication(LLmProviders.Cohere, Program.ApiKeys.Cohere)
35+
new ProviderAuthentication(LLmProviders.OpenAi, "OPEN_AI_KEY"),
36+
new ProviderAuthentication(LLmProviders.Anthropic, "ANTHROPIC_KEY"),
37+
new ProviderAuthentication(LLmProviders.Cohere, "COHERE_KEY"),
38+
new ProviderAuthentication(LLmProviders.Google, "GOOGLE_KEY")
3839
});
3940

4041
List<ChatModel> models =
4142
[
4243
ChatModel.OpenAi.Gpt4.Turbo,
4344
ChatModel.Anthropic.Claude3.Sonnet,
44-
ChatModel.Cohere.CommandRPlus
45+
ChatModel.Cohere.CommandRPlus,
46+
ChatModels.Google.Gemini.Gemini15Flash
4547
];
4648

4749
foreach (ChatModel model in models)

0 commit comments

Comments
 (0)