From b6916039c6d45ac8d533d63494da01cbbb8e5503 Mon Sep 17 00:00:00 2001 From: Hemang Sarkar Date: Wed, 12 Feb 2025 09:29:12 +0100 Subject: [PATCH] Update README.md --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b60b4e6..b2d0739 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,13 @@ Invariant Proxy is a lightweight Docker service that acts as an intermediary bet ## **Getting Started** To integrate the Proxy with your AI agent, you’ll need to modify how your client interacts with LLM providers. -### **🔹 OpenAI Integration** -1. **Get an API Key** +1. **Get an Invariant API Key** Follow the instructions [here](https://explorer.invariantlabs.ai/docs/explorer/Explorer_API/1_client_setup/) to obtain an API key. -2. **Modify OpenAI Client Setup** +### **🔹 OpenAI Integration** +2. To setup an OpenAI key follow the steps [here](https://platform.openai.com/docs/quickstart#create-and-export-an-api-key). + +3. **Modify OpenAI Client Setup** Instead of connecting directly to OpenAI, configure your `OpenAI` client to use the proxy. ```python @@ -35,10 +37,9 @@ To integrate the Proxy with your AI agent, you’ll need to modify how your clie # Make API requests to OpenAI using the client as usual. ### **🔹 Anthropic Integration** -1. **Get an API Key** - Follow the instructions [here](https://explorer.invariantlabs.ai/docs/explorer/Explorer_API/1_client_setup/) to obtain an API key. +2. To setup an Anthropic key follow the steps [here](https://docs.anthropic.com/en/docs/initial-setup#set-your-api-key). -2. **Modify Anthropic Client Setup** +3. **Modify Anthropic Client Setup** Instead of connecting directly to Anthropic, configure your `Anthropic` client to use the proxy. ```python