From 08200c148aa37953e0dd259379da7793bc4a8e0b Mon Sep 17 00:00:00 2001 From: Sam Estrin Date: Tue, 23 Apr 2024 18:47:03 -0700 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6970af2..2087220 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,14 @@ This project converts the API of Anthropic's Claude model to the OpenAI Chat API heroku-php-nginx -C nginx.conf . ``` -## Testing +## Endpoints + +Once deployed, two endpoints are available: + +- `/v1/models` +- `/v1/chat/completions` + +## Testing your claude-to-chatgpt-php-digital-ocean Deployment ``` curl -X POST http://DO-APP-PLATFORM-SERVER.app/v1/chat/completions \ @@ -26,5 +33,3 @@ curl -X POST http://DO-APP-PLATFORM-SERVER.app/v1/chat/completions \ -H "Authorization: MY_CLAUDE_API_KEY" \ -d '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Hello, how are you?"}]}' ``` - -Currently working on implementation logic.