From 7fe8e91111485f9e4af87ffdc9301d5db030138f Mon Sep 17 00:00:00 2001 From: Siddhesh Agarwal Date: Thu, 31 Oct 2024 14:24:41 +0530 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8726049..66c09f3 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,14 @@ With Simplemind, tapping into AI is as easy as a friendly conversation. To specify a specific provider or model, you can use the `llm_provider` and `llm_model` parameters when calling: `generate_text`, `generate_data`, or `create_conversation`. -- **[OpenAI's GPT](https://openai.com/gpt)** -- **[Anthropic's Claude](https://www.anthropic.com/claude)** -- **[xAI's Grok](https://x.ai/)** -- **[Groq's Groq](https://groq.com/)** -- **[Ollama](https://ollama.com)** +- [**Anthropic's Claude**](https://www.anthropic.com/claude) +- [**Google's Gemini**](https://ai.google.dev/gemini-api) +- [**Groq's Groq**](https://groq.com/) +- [**Ollama**](https://ollama.com) +- [**OpenAI's GPT**](https://openai.com/gpt) +- [**xAI's Grok**](https://x.ai/) -If you'd like to see Simplemind support additional providers or models, please send a pull request! +If you want to see Simplemind support, additional providers or models, please request a pull! ## Why SimpleMind? - **Intuitive**: Built with Pythonic simplicity and readability in mind. @@ -49,7 +50,7 @@ First, authenticate your API keys by setting them in the environment variables: $ export OPENAI_API_KEY="sk-..." ``` -This pattern allows you to keep your API keys private and out of your codebase. Other supported environment variables: `ANTHROPIC_API_KEY`, `XAI_API_KEY`, and `GROQ_API_KEY`. +This pattern lets you keep your API keys private and out of your codebase. Other supported environment variables: `ANTHROPIC_API_KEY`, `XAI_API_KEY`, and `GROQ_API_KEY`. Next, import Simplemind and start using it: @@ -140,7 +141,7 @@ response = gpt_4o_mini.generate_text( Harnessing the power of Python, you can easily create your own plugins to add additional functionality to your conversations: ```python -class SimpleMemoryPlugin: +class SimpleMemoryPlugin(sm.BasePlugin): def __init__(self): self.memories = [ "the earth has fictionally beeen destroyed.",