Files
griptape-ai-ComfyUI-Griptape/examples/OffPrompt.json
2024-09-04 16:07:21 +12:00

373 lines
6.7 KiB
JSON

{
"last_node_id": 14,
"last_link_id": 9,
"nodes": [
{
"id": 5,
"type": "Griptape Create: Agent",
"pos": {
"0": 379,
"1": 493
},
"size": {
"0": 442.58905029296875,
"1": 211.7299346923828
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "agent",
"type": "AGENT",
"link": null
},
{
"name": "config",
"type": "CONFIG",
"link": null
},
{
"name": "tools",
"type": "TOOL_LIST",
"link": 5
},
{
"name": "rulesets",
"type": "RULESET",
"link": null
},
{
"name": "input_string",
"type": "STRING",
"link": null,
"widget": {
"name": "input_string"
}
}
],
"outputs": [
{
"name": "OUTPUT",
"type": "STRING",
"links": [
6
],
"slot_index": 0,
"shape": 3
},
{
"name": "AGENT",
"type": "AGENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Create: Agent"
},
"widgets_values": [
"",
"What does griptape.ai do?"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 9,
"type": "Griptape Display: Text",
"pos": {
"0": 882,
"1": 500
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "INPUT",
"type": "STRING",
"link": 6,
"widget": {
"name": "INPUT"
}
}
],
"outputs": [
{
"name": "OUTPUT",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Display: Text"
},
"widgets_values": [
"",
"Griptape provides developers with the tools necessary to build, deploy, and manage retrieval-driven AI-powered applications, including a development framework and an execution runtime."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 8,
"type": "Note",
"pos": {
"0": -75,
"1": 825
},
"size": {
"0": 230.04360961914062,
"1": 159.54811096191406
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"text": ""
},
"widgets_values": [
"In this example the output from the WebScraper tool is kept private, and is only able to be viewed by the local llama3.1 model.\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 7,
"type": "Griptape Combine: Tool List",
"pos": {
"0": -125,
"1": 675
},
"size": {
"0": 226.8000030517578,
"1": 66
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "tool_1",
"type": "TOOL_LIST",
"link": 3
},
{
"name": "tool_2",
"type": "TOOL_LIST",
"link": 4
},
{
"name": "tool_3",
"type": "TOOL_LIST",
"link": null
}
],
"outputs": [
{
"name": "TOOL_LIST",
"type": "TOOL_LIST",
"links": [
5
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Combine: Tool List"
}
},
{
"id": 6,
"type": "Griptape Tool: WebScraper",
"pos": {
"0": -550,
"1": 650
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "TOOL",
"type": "TOOL_LIST",
"links": [
3
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Tool: WebScraper"
},
"widgets_values": [
true
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 13,
"type": "Griptape Prompt Driver: Ollama",
"pos": {
"0": -925,
"1": 725
},
"size": [
350,
250
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "DRIVER",
"type": "PROMPT_DRIVER",
"links": [
9
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Griptape Prompt Driver: Ollama"
},
"widgets_values": [
"http://127.0.0.1",
"11434",
"llama3.1:latest",
10,
0.1,
2048,
"fixed",
true,
-1
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 1,
"type": "Griptape Tool: Query",
"pos": {
"0": -550,
"1": 750
},
"size": [
325,
25
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "prompt_driver",
"type": "PROMPT_DRIVER",
"link": 9
}
],
"outputs": [
{
"name": "TOOL",
"type": "TOOL_LIST",
"links": [
4
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Tool: Query"
},
"color": "#233",
"bgcolor": "#355"
}
],
"links": [
[
3,
6,
0,
7,
0,
"TOOL_LIST"
],
[
4,
1,
0,
7,
1,
"TOOL_LIST"
],
[
5,
7,
0,
5,
2,
"TOOL_LIST"
],
[
6,
5,
0,
9,
0,
"STRING"
],
[
9,
13,
0,
1,
0,
"PROMPT_DRIVER"
]
],
"groups": [
{
"title": "WebScraper results are kept private",
"bounding": [
-950,
575,
1150,
425
],
"color": "#b58b2a",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917354,
"offset": [
1252.6247800861422,
9.148453835947631
]
}
},
"version": 0.4
}