diff --git a/docs/griptape-framework/structures/agents.md b/docs/griptape-framework/structures/agents.md index 2f4379767..403e02974 100644 --- a/docs/griptape-framework/structures/agents.md +++ b/docs/griptape-framework/structures/agents.md @@ -17,21 +17,6 @@ You can access the final output of the Agent by using the [output](../../referen --8<-- "docs/griptape-framework/structures/src/agents_2.py" ``` -``` -[09/08/23 10:10:24] INFO PromptTask e70fb08090b24b91a9307fa83479e851 - Input: Write me a haiku about Skateboards and Programming -[09/08/23 10:10:28] INFO PromptTask e70fb08090b24b91a9307fa83479e851 - Output: Code on wheels in flight, - Skateboards meet algorithms bright, - In binary, we ignite. -``` - -### Agent Input - -```python ---8<-- "docs/griptape-framework/structures/src/agents_1.py" -``` - ``` [07/23/24 10:53:41] INFO PromptTask 487db777bc014193ba90b061451b69a6 Input: Calculate the following: what's 13^7? @@ -54,3 +39,18 @@ You can access the final output of the Agent by using the [output](../../referen Output: 62,748,517 Answer: 62,748,517 ``` + +### Agent Input + +```python +--8<-- "docs/griptape-framework/structures/src/agents_1.py" +``` + +``` +[09/08/23 10:10:24] INFO PromptTask e70fb08090b24b91a9307fa83479e851 + Input: Write me a haiku about Skateboards and Programming +[09/08/23 10:10:28] INFO PromptTask e70fb08090b24b91a9307fa83479e851 + Output: Code on wheels in flight, + Skateboards meet algorithms bright, + In binary, we ignite. +``` diff --git a/docs/griptape-framework/structures/src/task_memory_1.py b/docs/griptape-framework/structures/src/task_memory_1.py index e8cfbd8ac..6fdaa1264 100644 --- a/docs/griptape-framework/structures/src/task_memory_1.py +++ b/docs/griptape-framework/structures/src/task_memory_1.py @@ -4,4 +4,4 @@ # Create an agent with the CalculatorTool tool agent = Agent(tools=[CalculatorTool(off_prompt=False)]) -agent.run("What is 10 raised to the power of 5?") +agent.run("What is the square root of 12345?") diff --git a/docs/griptape-framework/structures/src/task_memory_2.py b/docs/griptape-framework/structures/src/task_memory_2.py index 9ff24e1ff..3b32222d9 100644 --- a/docs/griptape-framework/structures/src/task_memory_2.py +++ b/docs/griptape-framework/structures/src/task_memory_2.py @@ -4,4 +4,4 @@ # Create an agent with the CalculatorTool tool agent = Agent(tools=[CalculatorTool(off_prompt=True)]) -agent.run("What is 10 raised to the power of 5?") +agent.run("What is the square root of 12345?") diff --git a/docs/griptape-tools/official-tools/variation-image-generation-tool.md b/docs/griptape-tools/official-tools/variation-image-generation-tool.md index 059415a51..729631fb0 100644 --- a/docs/griptape-tools/official-tools/variation-image-generation-tool.md +++ b/docs/griptape-tools/official-tools/variation-image-generation-tool.md @@ -11,5 +11,5 @@ This Tool allows LLMs to generate variations of an input image from a text promp ## Referencing an Image in Task Memory ```python ---8<-- "docs/griptape-tools/official-tools/src/variation_image_generation_client_tool_2.py" +--8<-- "docs/griptape-tools/official-tools/src/variation_image_generation_tool_2.py" ```