-
Notifications
You must be signed in to change notification settings - Fork 182
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
Cloud Tool docs #1383
base: main
Are you sure you want to change the base?
Cloud Tool docs #1383
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
97bede4
to
95f909b
Compare
docs/griptape-cloud/index.md
Outdated
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Empower any LLM With Custom Tools | |||
|
|||
Create custom actions that LLMs can perform with [Tools](tools/create-tool.md). These Tools can be created, shared, and given to any LLM integration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"any LLM" is a big claim, can we back it up?
@@ -0,0 +1,17 @@ | |||
# Tools | |||
|
|||
Tools can be used to execute arbitrary actions in a request/response format. They can be given to an LLM so the LLM can take appropriate action based on the input, Tool description, and the description of each Tool activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, as a developer I'm not learning anything that tells me what a Tool does or why I'd want to use one.
@@ -0,0 +1,26 @@ | |||
# Running a Tool | |||
|
|||
Once your Tool is created and deployed, you can run your Tool one of three ways outlined below. You may view the details of any of your runs, no matter how you created them, in the `Runs` tab of your Tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no matter how you created them,
Feels unneeded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i copied that wording from the structures tab
|
||
## From the API | ||
|
||
The API route for Tool activities is in the form of `https://cloud.griptape.ai/api/tools/{tool_id}/activities/{activity_name}`, where `tool_id` is the resource UUID of your created Tool, and `activity_name` is the name of the activity as defined in your `BaseTool` class. The activity routes will only accept an http POST method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We reference the concept of "Activities" without explaining at all what they are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am referencing the framework tool below, should that be pulled to the top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe provide a simple example? For instance, what would the url for a hosted calculator tool look like?
docs/griptape-cloud/index.md
Outdated
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Empower any LLM With Custom Tools | |||
|
|||
Create custom actions that LLMs can perform with [Tools](tools/create-tool.md). These Tools can be created, shared, and given to any LLM integration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't really tell me when/why I'd want to create a Tool on Griptape Cloud.
@vachillo are you still iterating on these? @SavagePencil have you gotten a chance to review? |
docs/griptape-cloud/index.md
Outdated
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Empower any LLM With Custom Tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Empower any LLM" feels like sales material.
docs/griptape-cloud/index.md
Outdated
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Empower any LLM With Custom Tools | |||
|
|||
Create custom actions that LLMs can perform with [Tools](tools/create-tool.md). These Tools can be created, shared, and given to any LLM integration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Give examples of why this is good/why user would care.
@@ -0,0 +1,17 @@ | |||
# Tools | |||
|
|||
Tools can be used to execute arbitrary actions in a request/response format. They can be given to an LLM so the LLM can take appropriate action based on the input, Tool description, and the description of each Tool activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Tool description, and the description of each Tool activity" is a confusing read.
a5b385b
to
d6e4b54
Compare
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Augment LLM requests with Tools | |||
|
|||
Create custom actions that LLMs can perform with [Tools](tools/create-tool.md). Tools in the cloud are instances of [Griptape Framework Tools](/griptape-tools/index.md) and can be run from anywhere with a simple API call or through Griptape Framework's [GriptapeCloudToolTool](/griptpe-tools/official-tools/griptape-cloud-tool-tool.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something here still feels clunky. How about something like "Expand the capabilities of your agents with custom Tools they can call as part of their jobs. These Tools allow them to call services or perform custom logic. Tools in the cloud are instances of Griptape Framework Tools and can be run from anywhere with a simple API call or through Griptape Framework's GriptapeCloudToolTool." ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add something like "Tools can bridge the gap between the model and your application". Explain why you'd want to create custom actions.
@@ -0,0 +1,17 @@ | |||
# Tools | |||
|
|||
Tools can be used to execute arbitrary actions in a request/response format. They can be given to an LLM so the LLM can take appropriate action based on the metadata of the Tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we giving them to an LLM, or an agent? Is there another term?
@@ -0,0 +1,62 @@ | |||
## Overview | |||
|
|||
Tool repositories require a configuration file which informs Griptape Cloud of your Managed Tool's dependencies and how it needs to build and run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we say "Managed Tool" with a capital "M". Is that a term we are/should be using throughout to make it distinct from framework tool?
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Augment LLM requests with Tools | |||
|
|||
Create custom actions that LLMs can perform with [Tools](tools/create-tool.md). Tools in the cloud are instances of [Griptape Framework Tools](/griptape-tools/index.md) and can be run from anywhere with a simple API call or through Griptape Framework's [GriptapeCloudToolTool](/griptpe-tools/official-tools/griptape-cloud-tool-tool.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be run from anywhere with a simple API call
We already mention this below, can probably drop.
All of our features can be called via API
@@ -0,0 +1,17 @@ | |||
# Tools | |||
|
|||
Tools can be used to execute arbitrary actions in a request/response format. They can be given to an LLM so the LLM can take appropriate action based on the metadata of the Tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tools can be used to execute arbitrary actions in a request/response format
This sounds a bit technical.
They can be given to an LLM so the LLM can take appropriate action based on the metadata of the Tool.
I don't fully understand what this means. What metadata?
I would explain that this is just hosted Griptape Tools and then link out to Griptape docs for explanations on how Tools work.
@@ -10,6 +10,10 @@ Connect to your data with our [Data Sources](data-sources/create-data-source.md) | |||
|
|||
Have Griptape code? Have existing code with another LLM framework? You can host your Python code using [Structures](structures/create-structure.md) whether it uses the Griptape Framework or not. | |||
|
|||
## Augment LLM requests with Tools | |||
|
|||
Create custom actions that LLMs can perform with [Tools](tools/create-tool.md). Tools in the cloud are instances of [Griptape Framework Tools](/griptape-tools/index.md) and can be run from anywhere with a simple API call or through Griptape Framework's [GriptapeCloudToolTool](/griptpe-tools/official-tools/griptape-cloud-tool-tool.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add something like "Tools can bridge the gap between the model and your application". Explain why you'd want to create custom actions.
|
||
## From the API | ||
|
||
The API route for Tool activities is in the form of `https://cloud.griptape.ai/api/tools/{tool_id}/activities/{activity_name}`, where `tool_id` is the resource UUID of your created Tool, and `activity_name` is the name of the activity as defined in your `BaseTool` class. The activity routes will only accept an http POST method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe provide a simple example? For instance, what would the url for a hosted calculator tool look like?
Describe your changes
add cloud docs for tools
Issue ticket number and link
📚 Documentation preview 📚: https://griptape--1383.org.readthedocs.build//1383/