Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc examples #819

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/griptape-framework/misc/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ You can also use the [Stream](../../reference/griptape/utils/stream.md) utility
from griptape.utils import Stream
from griptape.tasks import ToolkitTask
from griptape.structures import Pipeline
from griptape.tools import WebScraper
from griptape.tools import WebScraper, TaskMemoryClient


pipeline = Pipeline()
Expand Down
6 changes: 3 additions & 3 deletions docs/griptape-framework/structures/task-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Let's say we want to query the contents of a very large webpage.
from griptape.structures import Agent
from griptape.tools import WebScraper

# Create an agent with the Calculator tool
# Create an agent with the WebScraper tool
agent = Agent(tools=[WebScraper()])

agent.run(
Expand Down Expand Up @@ -315,7 +315,7 @@ This can create a loop where the same data is stored and queried over and over a

```python
from griptape.structures import Agent
from griptape.tools import WebScraper
from griptape.tools import WebScraper, TaskMemoryClient

agent = Agent(
tools=[
Expand All @@ -331,7 +331,7 @@ Task Memory may not be necessary for all use cases. If the data returned by a To

```python
from griptape.structures import Agent
from griptape.tools import WebScraper
from griptape.tools import Calculator

agent = Agent(
tools=[
Expand Down
Loading