LobeChat
Ctrl K
Back to Discovery
AWS
BedrockBedrock
@Bedrock
14 models
Bedrock is a service provided by Amazon AWS, focusing on delivering advanced AI language and visual models for enterprises. Its model family includes Anthropic's Claude series, Meta's Llama 3.1 series, and more, offering a range of options from lightweight to high-performance, supporting tasks such as text generation, conversation, and image processing for businesses of varying scales and needs.

Supported Models

Bedrock
Maximum Context Length
200K
Maximum Output Length
--
Input Price
$3.00
Output Price
$15.00
Maximum Context Length
200K
Maximum Output Length
--
Input Price
$3.00
Output Price
$15.00
Maximum Context Length
200K
Maximum Output Length
--
Input Price
$3.00
Output Price
$15.00
Maximum Context Length
200K
Maximum Output Length
--
Input Price
$0.25
Output Price
$1.25

在 LobeChat 中使用 Amazon Bedrock

在 LobeChat 中使用 Amazon Bedrock

Amazon Bedrock 是一个完全托管的基础模型API服务,允许用户通过API访问来自领先AI公司(如AI21 Labs、Anthropic、Cohere、Meta、Stability AI)和Amazon自家的基础模型。

本文档将指导你如何在 LobeChat 中使用 Amazon Bedrock:

步骤一:在 AWS 中打开 Amazon Bedrock 模型的访问权限

  • 访问并登录 AWS Console
  • 搜索 beckrock 并进入 Amazon Bedrock 服务
进入 Amazon Bedrock 服务
  • 在左侧菜单中选择 Models acess
进入 Amazon Bedrock 模型访问权限
  • 根据你所需要的模型,打开模型访问权限
打开模型访问权限
某些模型可能需要你提供额外的信息

步骤二:获取 API 访问密钥

  • 继续在 AWS console 中搜索 IAM,进入 IAM 服务
进入 IAM 服务
  • 用户 菜单中,创建一个新的 IAM 用户
创建一个新的 IAM 用户
  • 在弹出的对话框中,输入用户名称
输入用户名称
  • 为这个用户添加权限,或者加入一个已有的用户组,确保用户拥有 Amazon Bedrock 的访问权限
为用户添加权限
  • 为已添加的用户创建访问密钥
创建访问密钥
  • 复制并妥善保存访问密钥以及秘密访问密钥,后续将会用到
进入 IAM 服务

请安全地存储密钥,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新访问密钥。

步骤三:在 LobeChat 中配置 Amazon Bedrock

  • 访问LobeChat的设置界面
  • 语言模型下找到Amazon Bedrock的设置项并打开
LobeChat 中填写 Amazon Bedrock 密钥
  • 打开 Amazon Bedrock 并填入获得的访问密钥与秘密访问密钥
  • 为你的助手选择一个 Amazone Bedrock 的模型即可开始对话
 选择并使用 Amazon Bedrock 模型

在使用过程中你可能需要向 API 服务提供商付费,请参考 Amazon Bedrock 的费用政策。

至此你已经可以在 LobeChat 中使用 Amazone Bedrock 提供的模型进行对话了。

Related Providers

LobeHubLobeHub
@LobeHub
12 models
LobeChat Cloud enables the invocation of AI models through officially deployed APIs, using a Credits system to measure the usage of AI models, corresponding to the Tokens used by large models.
OpenAIOpenAI
@OpenAI
22 models
OpenAI is a global leader in artificial intelligence research, with models like the GPT series pushing the frontiers of natural language processing. OpenAI is committed to transforming multiple industries through innovative and efficient AI solutions. Their products demonstrate significant performance and cost-effectiveness, widely used in research, business, and innovative applications.
OllamaOllama
@Ollama
40 models
Ollama provides models that cover a wide range of fields, including code generation, mathematical operations, multilingual processing, and conversational interaction, catering to diverse enterprise-level and localized deployment needs.
Anthropic
ClaudeClaude
@Anthropic
8 models
Anthropic is a company focused on AI research and development, offering a range of advanced language models such as Claude 3.5 Sonnet, Claude 3 Sonnet, Claude 3 Opus, and Claude 3 Haiku. These models achieve an ideal balance between intelligence, speed, and cost, suitable for various applications from enterprise workloads to rapid-response scenarios. Claude 3.5 Sonnet, as their latest model, has excelled in multiple evaluations while maintaining a high cost-performance ratio.
Google
GeminiGemini
@Google
12 models
Google's Gemini series represents its most advanced, versatile AI models, developed by Google DeepMind, designed for multimodal capabilities, supporting seamless understanding and processing of text, code, images, audio, and video. Suitable for various environments from data centers to mobile devices, it significantly enhances the efficiency and applicability of AI models.