Skip to content

Commit

Permalink
[docs] fix some bugs in docs.md (#249)
Browse files Browse the repository at this point in the history
* Update quickstart.md

* Update overview.md

* Update overview.md
  • Loading branch information
MING-ZCH authored Sep 27, 2024
1 parent 906845f commit e2320e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/get_started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Lagent is an open source LLM agent framework, which enables people to efficientl
Lagent consists of 3 main parts, agents, llms, and actions.

- **agents** provides agent implementation, such as ReAct, AutoGPT.
- **llms** supports various large language models, including open-sourced models (Llama-2, InterLM) through HuggingFace models or closed-source models like GPT3.5/4.
- **llms** supports various large language models, including open-sourced models (Llama-2, InternLM) through HuggingFace models or closed-source models like GPT3.5/4.
- **actions** contains a series of actions, as well as an action executor to manage all actions.

## How to Use
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/get_started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Lagent 是一个开源的 LLM 智能体框架,允许使用者快速将一个
Lagent 包含三个主要模块:agents,llms 和 actions。

- **agents** 实现了多种智能体,如 ReAct,AutoGPT。
- **llms** 支持多种大语言模型,包括在 HuggingFace 上托管的开源模型(Llama-2, InterLM)及 GPT3.5/4 等闭源模型。
- **llms** 支持多种大语言模型,包括在 HuggingFace 上托管的开源模型(Llama-2, InternLM)及 GPT3.5/4 等闭源模型。
- **actions** 包含一系列工具,并提供工具执行器来统一管理。

## 如何使用
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/get_started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ from lagent.llms import GPTAPI
# 初始化 LLM,你可能需要提供 API 密钥
llm = GPTAPI(model_type='gpt-3.5-turbo', key=['Your OPENAI_API_KEY'])

# 初始化 Goolge 搜索工具,你可能需要提供 API 密钥
# 初始化 Google 搜索工具,你可能需要提供 API 密钥
search_tool = GoogleSearch(api_key='Your SERPER_API_KEY')

# 配置 ReWOO 智能体,创建聊天机器人
Expand Down

0 comments on commit e2320e5

Please sign in to comment.