Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vasinov committed Jul 18, 2023
1 parent d5c6667 commit a3b09e1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/griptape-framework/tools/tool-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ file_manager = FileManager(
)

"""
TextMemoryBrowser enables LLMs to browse, extract, and query text memory.
ToolOutputProcessor enables LLMs to browse, extract, and query text memory.
"""
memory_browser = TextMemoryBrowser(
memory_browser = ToolOutputProcessor(
input_memory=[text_memory]
)

Expand Down
15 changes: 15 additions & 0 deletions docs/griptape-tools/official-tools/computer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Computer

This tool enables LLMs to execute Python code and run shell commands inside a Docker container. You have to have the Docker daemon running in order for this tool to work.

You can specify a local working directory and environment variables during tool initialization:

```python
Computer(
local_workdir=os.path.abspath(os.path.join(os.getcwd(), "workdir")),
env_vars={
"ENV_VAR_1": "foo",
"ENV_VAR_2": "bar",
}
)
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TextMemoryBrowser
# ToolOutputProcessor

This tool enables LLMs to query, extract, and summarize tool outputs via shared short-term tool memory.

```python
TextMemoryBrowser()
ToolOutputProcessor()
```
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ nav:
- AwsIamClient: "griptape-tools/official-tools/aws-iam-client.md"
- AwsS3Client: "griptape-tools/official-tools/aws-s3-client.md"
- Calculator: "griptape-tools/official-tools/calculator.md"
- Computer: "griptape-tools/official-tools/computer.md"
- DateTime: "griptape-tools/official-tools/date-time.md"
- EmailClient: "griptape-tools/official-tools/email-client.md"
- FileManager: "griptape-tools/official-tools/file-manager.md"
- RestApiClient: "griptape-tools/official-tools/rest-api-client.md"
- SqlClient: "griptape-tools/official-tools/sql-client.md"
- TextMemoryBrowser: "griptape-tools/official-tools/text-memory-browser.md"
- ToolOutputProcessor: "griptape-tools/official-tools/tool-output-processor.md"
- KnowledgeBaseClient: "griptape-tools/official-tools/knowledge-base-client.md"
- WebScraper: "griptape-tools/official-tools/web-scraper.md"
- WebSearch: "griptape-tools/official-tools/web-search.md"
Expand Down

0 comments on commit a3b09e1

Please sign in to comment.