aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/content/AutoGPT/components/advanced.md11
l---------docs/content/AutoGPT/components/components.md1
l---------docs/content/forge/components/agents.md (renamed from docs/content/AutoGPT/components/agents.md)0
-rw-r--r--docs/content/forge/components/built-in-components.md (renamed from docs/content/AutoGPT/components/built-in-components.md)4
-rw-r--r--docs/content/forge/components/commands.md (renamed from docs/content/AutoGPT/components/commands.md)0
l---------docs/content/forge/components/components.md1
-rw-r--r--docs/content/forge/components/creating-components.md (renamed from docs/content/AutoGPT/components/creating-components.md)0
-rw-r--r--docs/content/forge/components/introduction.md (renamed from docs/content/AutoGPT/components/introduction.md)0
-rw-r--r--docs/content/forge/components/protocols.md (renamed from docs/content/AutoGPT/components/protocols.md)9
-rw-r--r--docs/mkdocs.yml17
10 files changed, 15 insertions, 28 deletions
diff --git a/docs/content/AutoGPT/components/advanced.md b/docs/content/AutoGPT/components/advanced.md
deleted file mode 100644
index 2f4513c27..000000000
--- a/docs/content/AutoGPT/components/advanced.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Advanced Components
-
-## General
-
-Debugging may be easier because we can inspect the exact components that were called and where the pipeline failed (current WIP pipeline):
-
-![Modular Pipeline](../../imgs/modular-pipeline.png)
-
-Also that makes it possible to call component/pipeline/function again when failed and recover.
-
-If it's necessary to get a component in a random place, agent provides generic, type safe `get_component(type[T]) -> T | None`
diff --git a/docs/content/AutoGPT/components/components.md b/docs/content/AutoGPT/components/components.md
deleted file mode 120000
index 8f836ac3d..000000000
--- a/docs/content/AutoGPT/components/components.md
+++ /dev/null
@@ -1 +0,0 @@
-../../../../autogpts/autogpt/autogpt/commands/README.md \ No newline at end of file
diff --git a/docs/content/AutoGPT/components/agents.md b/docs/content/forge/components/agents.md
index 7d3808a14..7d3808a14 120000
--- a/docs/content/AutoGPT/components/agents.md
+++ b/docs/content/forge/components/agents.md
diff --git a/docs/content/AutoGPT/components/built-in-components.md b/docs/content/forge/components/built-in-components.md
index c46233049..512362cd8 100644
--- a/docs/content/AutoGPT/components/built-in-components.md
+++ b/docs/content/forge/components/built-in-components.md
@@ -46,7 +46,7 @@ Lets the agent execute non-interactive Shell commands and Python code. Python ex
- `execute_python_code` execute Python code
- `execute_python_file` execute Python file
-## `EventHistoryComponent`
+## `ActionHistoryComponent`
Keeps track of agent's actions and their outcomes. Provides their summary to the prompt.
@@ -112,4 +112,4 @@ Adds ability to keep up-to-date file and folder content in the prompt.
Watches if agent is looping and switches to smart mode if necessary.
**AfterParse**
-- Investigates what happened and switches to smart mode if necessary \ No newline at end of file
+- Investigates what happened and switches to smart mode if necessary
diff --git a/docs/content/AutoGPT/components/commands.md b/docs/content/forge/components/commands.md
index 68f3f3c42..68f3f3c42 100644
--- a/docs/content/AutoGPT/components/commands.md
+++ b/docs/content/forge/components/commands.md
diff --git a/docs/content/forge/components/components.md b/docs/content/forge/components/components.md
new file mode 120000
index 000000000..6dcee2945
--- /dev/null
+++ b/docs/content/forge/components/components.md
@@ -0,0 +1 @@
+../../../../autogpts/forge/forge/components/README.md \ No newline at end of file
diff --git a/docs/content/AutoGPT/components/creating-components.md b/docs/content/forge/components/creating-components.md
index 2eed5c683..2eed5c683 100644
--- a/docs/content/AutoGPT/components/creating-components.md
+++ b/docs/content/forge/components/creating-components.md
diff --git a/docs/content/AutoGPT/components/introduction.md b/docs/content/forge/components/introduction.md
index 954b67770..954b67770 100644
--- a/docs/content/AutoGPT/components/introduction.md
+++ b/docs/content/forge/components/introduction.md
diff --git a/docs/content/AutoGPT/components/protocols.md b/docs/content/forge/components/protocols.md
index b3d0be8cf..9fe75ecdd 100644
--- a/docs/content/AutoGPT/components/protocols.md
+++ b/docs/content/forge/components/protocols.md
@@ -48,10 +48,9 @@ The easiest way to provide a command is to use `command` decorator on a componen
**Example** Calculator component that can perform multiplication. Agent is able to call this command if it's relevant to a current task and will see the returned result.
```py
-from autogpt.agents.components import Component
-from autogpt.agents.protocols import CommandProvider
-from autogpt.core.utils.json_schema import JSONSchema
-from autogpt.utils.command_decorator import command
+from forge.agent import CommandProvider, Component
+from forge.command import command
+from forge.models.json_schema import JSONSchema
class CalculatorComponent(CommandProvider):
@@ -163,4 +162,4 @@ class AfterExecute(AgentComponent):
class LoggerComponent(AfterExecute):
def after_execute(self, result: ActionResult) -> None:
logger.info(f"Result: {result}")
-``` \ No newline at end of file
+```
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index 324455827..9478221a5 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -16,15 +16,6 @@ nav:
- Search: AutoGPT/configuration/search.md
- Voice: AutoGPT/configuration/voice.md
- Image Generation: AutoGPT/configuration/imagegen.md
- - Components:
- - Introduction: AutoGPT/components/introduction.md
- - Agents: AutoGPT/components/agents.md
- - Components: AutoGPT/components/components.md
- - Protocols: AutoGPT/components/protocols.md
- - Commands: AutoGPT/components/commands.md
- - Built in Components: AutoGPT/components/built-in-components.md
- - Creating Components: AutoGPT/components/creating-components.md
- - Advanced: AutoGPT/components/advanced.md
- Usage: AutoGPT/usage.md
- Help us improve AutoGPT:
- Share your debug logs with us: AutoGPT/share-your-logs.md
@@ -37,6 +28,14 @@ nav:
- Forge:
- Introduction: forge/get-started.md
+ - Components:
+ - Introduction: forge/components/introduction.md
+ - Agents: forge/components/agents.md
+ - Components: forge/components/components.md
+ - Protocols: forge/components/protocols.md
+ - Commands: forge/components/commands.md
+ - Built in Components: forge/components/built-in-components.md
+ - Creating Components: forge/components/creating-components.md
- Frontend:
- Readme: https://github.com/Significant-Gravitas/AutoGPT/blob/master/frontend/README.md