diff --git a/workflows/ConfigTests.json b/workflows/ConfigTests.json new file mode 100644 index 0000000..5e3b26e --- /dev/null +++ b/workflows/ConfigTests.json @@ -0,0 +1,1394 @@ +{ + "last_node_id": 28, + "last_link_id": 15, + "nodes": [ + { + "id": 2, + "type": "Griptape Agent Config: Amazon Bedrock", + "pos": [ + 3271, + 1345 + ], + "size": { + "0": 380.4000244140625, + "1": 154 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": null, + "shape": 3 + } + ], + "properties": {}, + "widgets_values": [ + "anthropic.claude-3-5-sonnet-20240620-v1:0", + "anthropic.claude-3-5-sonnet-20240620-v1:0", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 3, + "type": "Griptape Agent Config: Google", + "pos": [ + 3271, + 1549 + ], + "size": { + "0": 380.4000244140625, + "1": 130 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": null, + "shape": 3 + } + ], + "properties": {}, + "widgets_values": [ + "gemini-1.5-pro", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 4, + "type": "Griptape Agent Config: Anthropic", + "pos": [ + 3271, + 1740 + ], + "size": { + "0": 380.4000244140625, + "1": 154 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": null, + "shape": 3 + } + ], + "properties": {}, + "widgets_values": [ + "claude-3-5-sonnet-20240620", + "claude-3-5-sonnet-20240620", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 5, + "type": "Griptape Agent Config: Ollama", + "pos": [ + 3271, + 1956 + ], + "size": { + "0": 380.4000244140625, + "1": 178 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": null, + "shape": 3 + } + ], + "properties": {}, + "widgets_values": [ + "llava:latest", + "http://127.0.0.1", + "11434", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 6, + "type": "Griptape Agent Config: LM Studio", + "pos": [ + 3271, + 2193 + ], + "size": { + "0": 380.4000244140625, + "1": 178 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": null, + "shape": 3 + } + ], + "properties": {}, + "widgets_values": [ + "lmstudio-community/Meta-Llama-3-8B-Instruct-GGUF/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf", + "http://127.0.0.1", + "1234", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 1, + "type": "Griptape Agent Config: OpenAI", + "pos": [ + 3271, + 1128.7327263954087 + ], + "size": { + "0": 380.4000244140625, + "1": 154 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 3 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "gpt-4o", + "gpt-4o", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 8, + "type": "Griptape Display: Text", + "pos": [ + 4180, + 1130 + ], + "size": { + "0": 362.1826171875, + "1": 143.33529663085938 + }, + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "INPUT", + "type": "STRING", + "link": 1, + "widget": { + "name": "INPUT" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Display: Text" + }, + "widgets_values": [ + "", + "I am based on OpenAI's GPT-4 model. How can I assist you today?" + ] + }, + { + "id": 7, + "type": "Griptape Create: Agent", + "pos": [ + 3740, + 1130 + ], + "size": { + "0": 388.1346740722656, + "1": 156 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 3 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What modle are you?" + ] + }, + { + "id": 16, + "type": "Griptape Create: Agent", + "pos": [ + 500, + 40 + ], + "size": [ + 349.58668309992004, + 163.0926728682084 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 10 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 4 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What model are you?" + ] + }, + { + "id": 18, + "type": "Griptape Create: Agent", + "pos": [ + 500, + 248.5472183227539 + ], + "size": [ + 349.58668309992004, + 163.0926728682084 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 11 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 5 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What model are you?" + ] + }, + { + "id": 19, + "type": "Griptape Display: Text", + "pos": [ + 930, + 260 + ], + "size": [ + 336.3139558271928, + 148.45630923184478 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "INPUT", + "type": "STRING", + "link": 5, + "widget": { + "name": "INPUT" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Display: Text" + }, + "widgets_values": [ + "", + "I am a large language model called Titan. How may I help you?" + ] + }, + { + "id": 26, + "type": "Griptape Create: Agent", + "pos": [ + 500, + 1210 + ], + "size": [ + 349.58668309992004, + 163.0926728682084 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 15 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 9 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What model are you?" + ] + }, + { + "id": 27, + "type": "Griptape Display: Text", + "pos": [ + 930, + 1210 + ], + "size": [ + 336.3139558271928, + 148.45630923184478 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "INPUT", + "type": "STRING", + "link": 9, + "widget": { + "name": "INPUT" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Display: Text" + }, + "widgets_values": [ + "", + "I am LLaMA, a large language model trained by a team of researcher at Meta AI." + ] + }, + { + "id": 25, + "type": "Griptape Display: Text", + "pos": [ + 930, + 960 + ], + "size": [ + 336.3139558271928, + 148.45630923184478 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "INPUT", + "type": "STRING", + "link": 8, + "widget": { + "name": "INPUT" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Display: Text" + }, + "widgets_values": [ + "", + " I am a language model, specifically a transformer-based model. The exact architecture and version of the model may vary depending on the specific implementation or training data used. " + ] + }, + { + "id": 24, + "type": "Griptape Create: Agent", + "pos": [ + 500, + 960 + ], + "size": [ + 349.58668309992004, + 163.0926728682084 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 14 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 8 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What model are you?" + ] + }, + { + "id": 22, + "type": "Griptape Create: Agent", + "pos": [ + 500, + 730 + ], + "size": [ + 349.58668309992004, + 163.0926728682084 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 13 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 7 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What model are you?" + ] + }, + { + "id": 23, + "type": "Griptape Display: Text", + "pos": [ + 930, + 730 + ], + "size": [ + 336.3139558271928, + 148.45630923184478 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "INPUT", + "type": "STRING", + "link": 7, + "widget": { + "name": "INPUT" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Display: Text" + }, + "widgets_values": [ + "", + "I am an AI assistant created by Anthropic to be helpful, harmless, and honest. I don't have a specific model name or number." + ] + }, + { + "id": 20, + "type": "Griptape Create: Agent", + "pos": [ + 500, + 500 + ], + "size": [ + 349.58668309992004, + 163.0926728682084 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "agent", + "type": "AGENT", + "link": null + }, + { + "name": "config", + "type": "CONFIG", + "link": 12 + }, + { + "name": "tools", + "type": "TOOL_LIST", + "link": null + }, + { + "name": "rulesets", + "type": "RULESET", + "link": null + }, + { + "name": "input_string", + "type": "STRING", + "link": null, + "widget": { + "name": "input_string" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": [ + 6 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "AGENT", + "type": "AGENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Create: Agent" + }, + "widgets_values": [ + "", + "What model are you?" + ] + }, + { + "id": 21, + "type": "Griptape Display: Text", + "pos": [ + 930, + 500 + ], + "size": [ + 336.3139558271928, + 148.45630923184478 + ], + "flags": {}, + "order": 22, + "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": [ + "", + "I am a large language model, trained by Google. \n\nIt's important to note that I am not a person, but rather a complex algorithm designed to process and generate text. I don't have feelings, experiences, or a physical body. My purpose is to provide helpful and informative responses based on the vast dataset I was trained on. \n\nIf you have any other questions, feel free to ask! \n" + ] + }, + { + "id": 17, + "type": "Griptape Display: Text", + "pos": [ + 930, + 50 + ], + "size": [ + 336.3139558271928, + 148.45630923184478 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "INPUT", + "type": "STRING", + "link": 4, + "widget": { + "name": "INPUT" + } + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "Griptape Display: Text" + }, + "widgets_values": [ + "", + "I am based on OpenAI's GPT-4 model. How can I assist you today?" + ] + }, + { + "id": 10, + "type": "Griptape Agent Config: OpenAI", + "pos": [ + 10, + 47 + ], + "size": { + "0": 380.4000244140625, + "1": 154 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 10 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "gpt-4o", + "gpt-4o", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 12, + "type": "Griptape Agent Config: Google", + "pos": [ + 10, + 500 + ], + "size": { + "0": 380.4000244140625, + "1": 130 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 12 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "gemini-1.5-pro", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 13, + "type": "Griptape Agent Config: Anthropic", + "pos": [ + 10, + 730 + ], + "size": { + "0": 380.4000244140625, + "1": 154 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 13 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "claude-3-5-sonnet-20240620", + "claude-3-5-sonnet-20240620", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 14, + "type": "Griptape Agent Config: Ollama", + "pos": [ + 10, + 960 + ], + "size": { + "0": 380.4000244140625, + "1": 178 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 14 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "llava:latest", + "http://127.0.0.1", + "11434", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 28, + "type": "Terminal Log //CM", + "pos": [ + 41, + 1462 + ], + "size": [ + 1214.4394958812504, + 584.5862170164069 + ], + "flags": {}, + "order": 10, + "mode": 0, + "properties": { + "text": "" + }, + "color": "#222222", + "bgcolor": "#000000" + }, + { + "id": 15, + "type": "Griptape Agent Config: LM Studio", + "pos": [ + 10, + 1210 + ], + "size": { + "0": 380.4000244140625, + "1": 178 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 15 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "lmstudio-community/Meta-Llama-3-8B-Instruct-GGUF/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf", + "http://127.0.0.1", + "1234", + 0.1, + 2048, + "fixed" + ] + }, + { + "id": 11, + "type": "Griptape Agent Config: Amazon Bedrock", + "pos": [ + 10, + 265 + ], + "size": { + "0": 380.4000244140625, + "1": 154 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "image_generation_driver", + "type": "DRIVER", + "link": null + } + ], + "outputs": [ + { + "name": "CONFIG", + "type": "CONFIG", + "links": [ + 11 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": {}, + "widgets_values": [ + "anthropic.claude-3-5-sonnet-20240620-v1:0", + "anthropic.claude-3-5-sonnet-20240620-v1:0", + 0.1, + 2048, + "fixed" + ] + } + ], + "links": [ + [ + 1, + 7, + 0, + 8, + 0, + "STRING" + ], + [ + 3, + 1, + 0, + 7, + 1, + "CONFIG" + ], + [ + 4, + 16, + 0, + 17, + 0, + "STRING" + ], + [ + 5, + 18, + 0, + 19, + 0, + "STRING" + ], + [ + 6, + 20, + 0, + 21, + 0, + "STRING" + ], + [ + 7, + 22, + 0, + 23, + 0, + "STRING" + ], + [ + 8, + 24, + 0, + 25, + 0, + "STRING" + ], + [ + 9, + 26, + 0, + 27, + 0, + "STRING" + ], + [ + 10, + 10, + 0, + 16, + 1, + "CONFIG" + ], + [ + 11, + 11, + 0, + 18, + 1, + "CONFIG" + ], + [ + 12, + 12, + 0, + 20, + 1, + "CONFIG" + ], + [ + 13, + 13, + 0, + 22, + 1, + "CONFIG" + ], + [ + 14, + 14, + 0, + 24, + 1, + "CONFIG" + ], + [ + 15, + 15, + 0, + 26, + 1, + "CONFIG" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": { + "0": 370.816162109375, + "1": -84.1327896118164 + } + } + }, + "version": 0.4 +} \ No newline at end of file