Skip to content

Commit

Permalink
Merge branch 'main' into v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-lkk authored Oct 21, 2024
2 parents 37194ad + b41ade6 commit ac6fb59
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 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
2 changes: 1 addition & 1 deletion lagent/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) OpenMMLab. All rights reserved.
__version__ = '0.2.3'
__version__ = '0.2.4'


def parse_version_info(version_str: str, length: int = 4) -> tuple:
Expand Down
2 changes: 1 addition & 1 deletion requirements/optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pillow
python-pptx
timeout_decorator
torch
transformers>=4.34
transformers>=4.34,<=4.40
vllm>=0.3.3
5 changes: 3 additions & 2 deletions requirements/runtime.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ aiohttp
arxiv
asyncache
distro
duckduckgo_search==5.3.1b1
filelock
func_timeout
griffe==0.48.0
griffe<1.0
json5
jsonschema
jupyter==1.0.0
Expand All @@ -14,7 +15,7 @@ jupyter_client==8.6.2
requests
stdlib_list==0.10.0
streamlit
termcolor
tiktoken
timeout-decorator
typing-extensions
duckduckgo_search==5.3.1b1

0 comments on commit ac6fb59

Please sign in to comment.