Update README
This commit is contained in:
30
README.md
30
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 streaming response via server-sent events (SSE)
|
||||||
- [x] Support Model APIs
|
- [x] Support Model APIs
|
||||||
- [x] Support Chat Completion APIs
|
- [x] Support Chat Completion APIs
|
||||||
- [ ] Support Function Call/Tool Call
|
- [x] Support Function Call/Tool Call (**beta**)
|
||||||
- [ ] Support Embedding APIs
|
- [x] Support Embedding APIs (**beta**)
|
||||||
- [ ] Support Image APIs
|
- [x] Support Multimodal API (**beta**)
|
||||||
|
|
||||||
> **Important notes:** 1/ The legacy [text completion](https://platform.openai.com/docs/api-reference/completions) API is not
|
> **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, you should move to chat completion API. 2/ May support other APIs such as fine-tuning, Assistants API, etc. in the future.
|
|
||||||
|
|
||||||
Supported Amazon Bedrock models (Model IDs):
|
Supported Amazon Bedrock models (Model IDs):
|
||||||
|
|
||||||
- `anthropic.claude-instant-v1`
|
- anthropic.claude-instant-v1
|
||||||
- `anthropic.claude-v2:1`
|
- anthropic.claude-v2:1
|
||||||
- `anthropic.claude-v2`
|
- anthropic.claude-v2
|
||||||
- `anthropic.claude-3-sonnet-20240229-v1:0`
|
- anthropic.claude-3-sonnet-20240229-v1:0
|
||||||
- `anthropic.claude-3-haiku-20240307-v1:0`
|
- anthropic.claude-3-haiku-20240307-v1:0
|
||||||
- `meta.llama2-13b-chat-v1`
|
- meta.llama2-13b-chat-v1
|
||||||
- `meta.llama2-70b-chat-v1`
|
- meta.llama2-70b-chat-v1
|
||||||
- `mistral.mistral-7b-instruct-v0:2`
|
- mistral.mistral-7b-instruct-v0:2
|
||||||
- `mistral.mixtral-8x7b-instruct-v0:1`
|
- 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`).
|
> **Note:** The default model is set to `anthropic.claude-3-sonnet-20240229-v1:0` which can be changed via Lambda environment variables (`DEFAULT_MODEL`).
|
||||||
|
|
||||||
|
|||||||
14
README_CN.md
14
README_CN.md
@@ -19,12 +19,11 @@ OpenAI 的 API 或 SDK 无缝集成并试用 Amazon Bedrock 的模型,而无需
|
|||||||
- [x] 支持 server-sent events (SSE)的流式响应
|
- [x] 支持 server-sent events (SSE)的流式响应
|
||||||
- [x] 支持 Model APIs
|
- [x] 支持 Model APIs
|
||||||
- [x] 支持 Chat Completion APIs
|
- [x] 支持 Chat Completion APIs
|
||||||
- [ ] 支持 Function Call/Tool Call
|
- [x] 支持 Function Call/Tool Call (**beta**)
|
||||||
- [ ] 支持 Embedding APIs
|
- [x] 支持 Embedding APIs (**beta**)
|
||||||
- [ ] 支持 Image APIs
|
- [x] 支持 Multimodal APIs (**beta**)
|
||||||
|
|
||||||
> 注意: 1,不支持旧的 [text completion](https://platform.openai.com/docs/api-reference/completions) API,请更改为使用Chat
|
> 注意: 不支持旧的 [text completion](https://platform.openai.com/docs/api-reference/completions) API,请更改为使用Chat Completion API。
|
||||||
> Completion API。 2.未来可能支持其他API, 如Fine-tune、Assistants API等。
|
|
||||||
|
|
||||||
支持的Amazon Bedrock模型列表(Model IDs):
|
支持的Amazon Bedrock模型列表(Model IDs):
|
||||||
|
|
||||||
@@ -37,7 +36,10 @@ OpenAI 的 API 或 SDK 无缝集成并试用 Amazon Bedrock 的模型,而无需
|
|||||||
- meta.llama2-70b-chat-v1
|
- meta.llama2-70b-chat-v1
|
||||||
- mistral.mistral-7b-instruct-v0:2
|
- mistral.mistral-7b-instruct-v0:2
|
||||||
- mistral.mixtral-8x7b-instruct-v0:1
|
- 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环境变量进行更改。
|
> 注意: 默认模型为 `anthropic.claude-3-sonnet-20240229-v1:0`, 可以通过更改Lambda环境变量进行更改。
|
||||||
|
|
||||||
## 使用指南
|
## 使用指南
|
||||||
|
|||||||
Reference in New Issue
Block a user