Skip to content

Commit

Permalink
agent docs fixes (#3128)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwchase17 committed Apr 19, 2023
1 parent f329196 commit 364257d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ Use Cases

The above modules can be used in a variety of ways. LangChain also provides guidance and assistance in this. Below are some of the common use cases LangChain supports.

- `Autonomous Agents <./use_cases/autonomous_agents.html>`_: Autonomous agents are long running agents that take many steps in an attempt to accomplish an objective. Examples include AutoGPT and BabyAGI.

- `Agent Simulations <./use_cases/agent_simulations.html>`_: Putting agents in a sandbox and observing how they interact with each other or to events can be an interesting way to observe their long-term memory abilities.

- `Personal Assistants <./use_cases/personal_assistants.html>`_: The main LangChain use case. Personal assistants need to take actions, remember interactions, and have knowledge about your data.

- `Question Answering <./use_cases/question_answering.html>`_: The second big LangChain use case. Answering questions over specific documents, only utilizing the information in those documents to construct an answer.
Expand All @@ -89,6 +93,8 @@ The above modules can be used in a variety of ways. LangChain also provides guid
:hidden:

./use_cases/personal_assistants.md
./use_cases/autonomous_agents.md
./use_cases/agent_simulations.md
./use_cases/question_answering.md
./use_cases/chatbots.md
./use_cases/tabular.rst
Expand Down
2 changes: 1 addition & 1 deletion docs/use_cases/autonomous_agents/autogpt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"metadata": {},
"outputs": [],
"source": [
"from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT\n",
"from langchain.experimental import AutoGPT\n",
"from langchain.chat_models import ChatOpenAI"
]
},
Expand Down
3 changes: 2 additions & 1 deletion langchain/experimental/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT
from langchain.experimental.autonomous_agents.baby_agi.baby_agi import BabyAGI

__all__ = ["BabyAGI"]
__all__ = ["BabyAGI", "AutoGPT"]

0 comments on commit 364257d

Please sign in to comment.