From 1456c809d3a1a1c61e03e56809a8c91d1f70a42d Mon Sep 17 00:00:00 2001 From: Aiden Dai Date: Wed, 3 Apr 2024 12:50:46 +0800 Subject: [PATCH] Update README --- README.md | 30 ++++++++++++++++-------------- README_CN.md | 14 ++++++++------ 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 65c351d..ce9ee07 100644 --- a/README.md +++ b/README.md @@ -17,24 +17,26 @@ If you find this GitHub repository useful, please consider giving it a free star - [x] Support streaming response via server-sent events (SSE) - [x] Support Model APIs - [x] Support Chat Completion APIs -- [ ] Support Function Call/Tool Call -- [ ] Support Embedding APIs -- [ ] Support Image APIs +- [x] Support Function Call/Tool Call (**beta**) +- [x] Support Embedding APIs (**beta**) +- [x] Support Multimodal API (**beta**) -> **Important notes:** 1/ The legacy [text completion](https://platform.openai.com/docs/api-reference/completions) API is not -> supported, you should move to chat completion API. 2/ May support other APIs such as fine-tuning, Assistants API, etc. in the future. +> **Note:** The legacy [text completion](https://platform.openai.com/docs/api-reference/completions) API is not supported, you should change to use chat completion API. Supported Amazon Bedrock models (Model IDs): -- `anthropic.claude-instant-v1` -- `anthropic.claude-v2:1` -- `anthropic.claude-v2` -- `anthropic.claude-3-sonnet-20240229-v1:0` -- `anthropic.claude-3-haiku-20240307-v1:0` -- `meta.llama2-13b-chat-v1` -- `meta.llama2-70b-chat-v1` -- `mistral.mistral-7b-instruct-v0:2` -- `mistral.mixtral-8x7b-instruct-v0:1` +- anthropic.claude-instant-v1 +- anthropic.claude-v2:1 +- anthropic.claude-v2 +- anthropic.claude-3-sonnet-20240229-v1:0 +- anthropic.claude-3-haiku-20240307-v1:0 +- meta.llama2-13b-chat-v1 +- meta.llama2-70b-chat-v1 +- mistral.mistral-7b-instruct-v0:2 +- mistral.mixtral-8x7b-instruct-v0:1 +- mistral.mistral-large-2402-v1:0 +- cohere.embed-multilingual-v3 (embedding) +- cohere.embed-english-v3 (embedding) > **Note:** The default model is set to `anthropic.claude-3-sonnet-20240229-v1:0` which can be changed via Lambda environment variables (`DEFAULT_MODEL`). diff --git a/README_CN.md b/README_CN.md index fbe8bcc..07d150a 100644 --- a/README_CN.md +++ b/README_CN.md @@ -19,12 +19,11 @@ OpenAI 的 API 或 SDK 无缝集成并试用 Amazon Bedrock 的模型,而无需 - [x] 支持 server-sent events (SSE)的流式响应 - [x] 支持 Model APIs - [x] 支持 Chat Completion APIs -- [ ] 支持 Function Call/Tool Call -- [ ] 支持 Embedding APIs -- [ ] 支持 Image APIs +- [x] 支持 Function Call/Tool Call (**beta**) +- [x] 支持 Embedding APIs (**beta**) +- [x] 支持 Multimodal APIs (**beta**) -> 注意: 1,不支持旧的 [text completion](https://platform.openai.com/docs/api-reference/completions) API,请更改为使用Chat -> Completion API。 2.未来可能支持其他API, 如Fine-tune、Assistants API等。 +> 注意: 不支持旧的 [text completion](https://platform.openai.com/docs/api-reference/completions) API,请更改为使用Chat Completion API。 支持的Amazon Bedrock模型列表(Model IDs): @@ -37,7 +36,10 @@ OpenAI 的 API 或 SDK 无缝集成并试用 Amazon Bedrock 的模型,而无需 - meta.llama2-70b-chat-v1 - mistral.mistral-7b-instruct-v0:2 - mistral.mixtral-8x7b-instruct-v0:1 - +- mistral.mistral-large-2402-v1:0 +- cohere.embed-multilingual-v3 (embedding) +- cohere.embed-english-v3 (embedding) +- > 注意: 默认模型为 `anthropic.claude-3-sonnet-20240229-v1:0`, 可以通过更改Lambda环境变量进行更改。 ## 使用指南