From 52f0084ac81d9968cfd86c0e2e955b7c7dbbf0ad Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 29 Oct 2024 07:33:22 -0400 Subject: [PATCH] test --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5d96d37..c4af1a4 100644 --- a/README.md +++ b/README.md @@ -34,19 +34,21 @@ If you'd like to see SimpleMind support additional providers or models, please s SimpleMind takes care of the complex API calls so you can focus on what matters—building, experimenting, and creating. -```python -import simplemind as sm -``` - -Authenticate your API keys by setting them in the environment variables: +First, authenticate your API keys by setting them in the environment variables: ```bash $ export OPENAI_API_KEY="sk-..." ``` -Other supported environment variables: `ANTHROPIC_API_KEY`, `GROK_API_KEY`, `XAI_API_KEY`, and `GROQ_API_KEY`. +This pattern allows you to keep your API keys private and out of your codebase. Other supported environment variables: `ANTHROPIC_API_KEY`, `GROK_API_KEY`, `XAI_API_KEY`, and `GROQ_API_KEY`. +Next, import SimpleMind and start using it: +```python +import simplemind as sm +``` + +Enjoy! ## Examples