430 lines
7.7 KiB
JSON
430 lines
7.7 KiB
JSON
{
|
|
"last_node_id": 9,
|
|
"last_link_id": 6,
|
|
"nodes": [
|
|
{
|
|
"id": 6,
|
|
"type": "Griptape Tool: WebScraper",
|
|
"pos": [
|
|
-383.49081587357944,
|
|
663.6364191228695
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"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": 7,
|
|
"type": "Griptape Combine: Tool List",
|
|
"pos": [
|
|
0.9164268011010215,
|
|
715.2754424136282
|
|
],
|
|
"size": {
|
|
"0": 226.8000030517578,
|
|
"1": 66
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"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": 4,
|
|
"type": "Griptape Agent Config: OpenAI",
|
|
"pos": [
|
|
-83,
|
|
308
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 202
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "env",
|
|
"type": "ENV",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONFIG",
|
|
"type": "CONFIG",
|
|
"links": [
|
|
2
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Griptape Agent Config: OpenAI"
|
|
},
|
|
"widgets_values": [
|
|
"gpt-4o",
|
|
0.1,
|
|
10342349342,
|
|
"fixed",
|
|
10,
|
|
true,
|
|
"OPENAI_API_KEY"
|
|
],
|
|
"color": "#2a363b",
|
|
"bgcolor": "#3f5159"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"type": "Griptape Tool: Query",
|
|
"pos": [
|
|
-297.49081587357944,
|
|
792.6364191228695
|
|
],
|
|
"size": {
|
|
"0": 229.20001220703125,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "prompt_driver",
|
|
"type": "PROMPT_DRIVER",
|
|
"link": 1
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "Griptape Prompt Driver: Ollama",
|
|
"pos": [
|
|
-655.4908158735792,
|
|
794.6364191228695
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 226
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "env",
|
|
"type": "ENV",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "DRIVER",
|
|
"type": "PROMPT_DRIVER",
|
|
"links": [
|
|
1
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Griptape Prompt Driver: Ollama"
|
|
},
|
|
"widgets_values": [
|
|
"llama3.1:latest",
|
|
"http://127.0.0.1",
|
|
"11434",
|
|
10,
|
|
0.1,
|
|
10342349342,
|
|
"fixed",
|
|
true
|
|
],
|
|
"color": "#233",
|
|
"bgcolor": "#355"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "Note",
|
|
"pos": [
|
|
-9.400012207031248,
|
|
850.0000000000001
|
|
],
|
|
"size": {
|
|
"0": 230.04360961914062,
|
|
"1": 159.54811096191406
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"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": 5,
|
|
"type": "Griptape Create: Agent",
|
|
"pos": [
|
|
379,
|
|
493
|
|
],
|
|
"size": {
|
|
"0": 442.58905029296875,
|
|
"1": 211.7299346923828
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "agent",
|
|
"type": "AGENT",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "config",
|
|
"type": "CONFIG",
|
|
"link": 2
|
|
},
|
|
{
|
|
"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": [
|
|
882,
|
|
500
|
|
],
|
|
"size": {
|
|
"0": 400,
|
|
"1": 200
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"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 needed to build, deploy, and manage retrieval-driven AI-powered applications, including a development framework and an execution runtime."
|
|
],
|
|
"color": "#222",
|
|
"bgcolor": "#000"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
2,
|
|
0,
|
|
1,
|
|
0,
|
|
"PROMPT_DRIVER"
|
|
],
|
|
[
|
|
2,
|
|
4,
|
|
0,
|
|
5,
|
|
1,
|
|
"CONFIG"
|
|
],
|
|
[
|
|
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"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "WebScraper results are kept private",
|
|
"bounding": [
|
|
-665,
|
|
590,
|
|
903,
|
|
441
|
|
],
|
|
"color": "#b58b2a",
|
|
"font_size": 24,
|
|
"locked": false
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9090909090909091,
|
|
"offset": [
|
|
735.7382118707748,
|
|
-32.62993238166781
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |