diff --git a/README.md b/README.md index 7502685..7a0cf74 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,16 @@ -# ComfyUI Isulion LLM Chain -An advanced ComfyUI extension that enables multi-agent LLM conversations using Ollama models. +# ComfyUI_Isulion Random Prompt Generator -![Example Workflow](https://github.com/user-attachments/assets/ba6d7eaa-c068-4f88-a2c9-fb07aa95052b) +-------------- +ComfyUI Nodes that generate prompts with the help of LLM from local or remote Ollama. +-------------- -## 🌟 Features -- Create complex multi-agent conversations using different LLM personas -- Support for local Ollama models -- Flexible chain configurations from simple to complex (3-agent, 5-agent, or 10-agent chains) -- Each agent can be assigned unique roles and perspectives -- Real-time conversation visualization --system prompt for each agent/node +# Requirement : +Recomanded environnement variables : +- OLLAMA_KEEP_ALIVE 0 +- OLLAMA_ORIGINS * ComfyUI installed node : - Ollama_generator diff --git a/__init__.py b/__init__.py index 6be4ac8..691aa3a 100644 --- a/__init__.py +++ b/__init__.py @@ -1,15 +1,13 @@ -from .isulion_prompt_generator import IsulionPromptGenerator -from .isulion_OllamaGenerate import OllamaGenerate -from .ixulion_ollamaModelSelect import OllamaModelSelector - -NODE_CLASS_MAPPINGS = { - "IsulionPromptGenerator": IsulionPromptGenerator, - "OllamaGenerate": OllamaGenerate, - "OllamaModelSelector": OllamaModelSelector -} - -NODE_DISPLAY_NAME_MAPPINGS = { - "IsulionPromptGenerator": "Isulion Prompt Generator", - "OllamaGenerate": "Ollama Generate", - "OllamaModelSelector": "Ixulion Ollama Model Selector" -} +from .isulion_prompt_generator import IsulionPromptGenerator +from .isulion_OllamaGenerate import OllamaGenerate + +NODE_CLASS_MAPPINGS = { + "IsulionPromptGenerator": IsulionPromptGenerator, + "OllamaGenerate": OllamaGenerate +} + +# Optional: Provide a custom display name for the node +NODE_DISPLAY_NAME_MAPPINGS = { + "IsulionPromptGenerator": "Isulion Prompt Generator", + "OllamaGenerate": "Isulion Ollama Generate" +} diff --git a/isulion_OllamaGenerate.py b/isulion_OllamaGenerate.py index cda663d..711a881 100644 --- a/isulion_OllamaGenerate.py +++ b/isulion_OllamaGenerate.py @@ -1,70 +1,50 @@ -from ollama import Client -import logging - -class OllamaGenerate: - def __init__(self): - pass - - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "text": ("STRING", { - "multiline": True, - "default": "What is Art?", - "tooltip": "Input text to send to Ollama" - }), - "system": ("STRING", { - "multiline": True, - "default": "", - "tooltip": "System prompt to set the behavior and context for the model" - }), - "model_name": ("STRING", { - "default": "dolphin-llama3", - "tooltip": "Name of the Ollama model to use" - }), - "host_url": ("STRING", { - "default": " http://localhost:11434", - "tooltip": "Ollama server URL (e.g., http://localhost:11434)" - }), - "keep_alive": (["true", "false"], { - "default": "true", - "tooltip": "Keep model loaded in memory (true) or unload after each generation (false)" - }), - }, - } - - RETURN_TYPES = ("STRING",) - RETURN_NAMES = ("response",) - FUNCTION = "generate" - CATEGORY = "Isulion/Ollama" - - def generate(self, text, system, model_name, host_url, keep_alive): - try: - # Create client with provided host URL - client = Client(host=host_url) - - # Convert keep_alive string to appropriate value - keep_alive_value = "5m" if keep_alive == "true" else "0m" - - # Generate response using the specified model - response = client.generate( - model=model_name, - prompt=text, - system=system, # Added system prompt - keep_alive=keep_alive_value - ) - - return (response['response'],) - - except Exception as e: - logging.error(f"Error generating response from Ollama: {str(e)}") - return (f"Error: {str(e)}",) - -NODE_CLASS_MAPPINGS = { - "OllamaGenerate": OllamaGenerate, -} - -NODE_DISPLAY_NAME_MAPPINGS = { - "OllamaGenerate": "Ollama Generate", -} +from ollama import Client + +class OllamaGenerate: + def __init__(self): + pass + + @classmethod + def INPUT_TYPES(cls): + return { + "required": { + "prompt": ("STRING", { + "multiline": True, + "default": "What is Art?" + }), + "url": ("STRING", { + "multiline": False, + "default": "http://127.0.0.1:11434" + }), + "model": ((), {}), + }, + } + + RETURN_TYPES = ("STRING",) + RETURN_NAMES = ("response",) + FUNCTION = "ollama_generate" + CATEGORY = "Ollama" + + def ollama_generate(self, prompt, url, model): + # Keep_alive is now hardcoded to 0 (not visible to user) + keep_alive = 0 + + client = Client(host=url) + + # Generate the response from the model + response = client.generate( + model=model, + prompt=prompt, + keep_alive=f"{keep_alive}m" # keep_alive is always 0 + ) + + return (response['response'],) + +# Register the node with your node mapping system +NODE_CLASS_MAPPINGS = { + "OllamaGenerate": OllamaGenerate, +} + +NODE_DISPLAY_NAME_MAPPINGS = { + "OllamaGenerate": "Ollama Generate", +} diff --git a/isulion_model_selector.py b/isulion_model_selector.py deleted file mode 100644 index fa5e4f4..0000000 --- a/isulion_model_selector.py +++ /dev/null @@ -1,65 +0,0 @@ -import subprocess -import logging - -class OllamaModelSelector: - @classmethod - def INPUT_TYPES(s): - try: - # Run ollama list command - result = subprocess.run(['ollama', 'list'], capture_output=True, text=True) - - if result.returncode == 0: - # Parse the output, skipping the header line - lines = result.stdout.strip().split('\n')[1:] - models = [] - - for line in lines: - if line.strip(): # Skip empty lines - # First column before whitespace is the model name - model_name = line.split()[0] - # Remove ':latest' suffix if present - model_name = model_name.replace(':latest', '') - models.append(model_name) - - # Sort models alphabetically for better UX - models.sort() - - if not models: # If no models found after parsing - models = ["No models installed - Use 'ollama pull' to install models"] - else: - models = ["Error running ollama list command"] - logging.warning(f"Failed to get models from ollama list: {result.stderr}") - except FileNotFoundError: - models = ["Ollama not found - Is it installed?"] - logging.error("Ollama command not found. Please ensure Ollama is installed and in PATH") - except Exception as e: - models = ["Error getting model list"] - logging.error(f"Error getting Ollama models: {str(e)}") - - return { - "required": { - "model_name": (models, { - "default": models[2] if models else "No models found", - "tooltip": "Select an Ollama model to use" - }), - } - } - - RETURN_TYPES = ("STRING",) # Simple string return type - RETURN_NAMES = ("MODEL",) - FUNCTION = "get_model" - - CATEGORY = "Isulion/Ollama" - DESCRIPTION = "Select an Ollama model from installed models" - - def get_model(self, model_name): - # Return just the model name string - return (model_name,) # Return as tuple with single string value - -NODE_CLASS_MAPPINGS = { - "OllamaModelSelector": OllamaModelSelector -} - -NODE_DISPLAY_NAME_MAPPINGS = { - "OllamaModelSelector": "Ollama Model Selector" -} \ No newline at end of file diff --git a/ixulion_ollamaModelSelect.py b/ixulion_ollamaModelSelect.py deleted file mode 100644 index 40611bd..0000000 --- a/ixulion_ollamaModelSelect.py +++ /dev/null @@ -1,68 +0,0 @@ -import subprocess -import logging - -class OllamaModelSelector: - def __init__(self): - pass - - @classmethod - def INPUT_TYPES(s): - try: - # Run ollama list command - result = subprocess.run(['ollama', 'list'], capture_output=True, text=True) - - if result.returncode == 0: - # Parse the output, skipping the header line - lines = result.stdout.strip().split('\n')[1:] - models = [] - - for line in lines: - if line.strip(): # Skip empty lines - # First column before whitespace is the model name - model_name = line.split()[0] - # Remove ':latest' suffix if present - model_name = model_name.replace(':latest', '') - models.append(model_name) - - # Sort models alphabetically for better UX - models.sort() - - if not models: # If no models found after parsing - models = ["No models installed - Use 'ollama pull' to install models"] - else: - models = ["Error running ollama list command"] - logging.warning(f"Failed to get models from ollama list: {result.stderr}") - except FileNotFoundError: - models = ["Ollama not found - Is it installed?"] - logging.error("Ollama command not found. Please ensure Ollama is installed and in PATH") - except Exception as e: - models = ["Error getting model list"] - logging.error(f"Error getting Ollama models: {str(e)}") - - return { - "required": { - "model_name": (models, { - "default": "dolphin-llama3" if models else "No models found", - "tooltip": "Select an Ollama model to use" - }), - } - } - - RETURN_TYPES = ("STRING",) - RETURN_NAMES = ("MODEL_NAME",) - FUNCTION = "get_model" - - CATEGORY = "Isulion/Ollama" - DESCRIPTION = "Select an Ollama model from installed models" - - def get_model(self, model_name): - return (model_name,) - -# Fix: Make sure the key in NODE_CLASS_MAPPINGS matches the key in NODE_DISPLAY_NAME_MAPPINGS -NODE_CLASS_MAPPINGS = { - "OllamaModelSelector": OllamaModelSelector -} - -NODE_DISPLAY_NAME_MAPPINGS = { - "OllamaModelSelector": "Ollama Model Selector" -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/10chain.json b/workflowsJsonTrainingData/10chain.json deleted file mode 100644 index 43ced13..0000000 --- a/workflowsJsonTrainingData/10chain.json +++ /dev/null @@ -1,1305 +0,0 @@ -{ - "last_node_id": 347, - "last_link_id": 485, - "nodes": [ - { - "id": 325, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4896.8564453125 - }, - "size": { - "0": 287.0112609863281, - "1": 261.83404541015625 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 455, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Dolphins, on the other hand, are marine mammals belonging to the family Delphinidae. There are more than 40 species of dolphins worldwide, ranging in size from the dwarf dolphin, which grows up to 1.2 meters long, to the killer whale or orca, which can reach up to 9 meters in length. Dolphins are known for their intelligence, gracefulness, and social behavior. They communicate using a complex system of clicks, whistles, and body language. Some species of dolphins have been observed exhibiting playful behavior, such as riding waves and playing with objects like balls or Frisbees." - ] - }, - { - "id": 321, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4560.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 463, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 453, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 454, - 458 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 326, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4579.8564453125 - }, - "size": { - "0": 287.2167053222656, - "1": 247.32957458496094 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 454, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's correct! Dolphins are indeed known for their intelligence, gracefulness, and social behavior. They communicate using a complex system of clicks, whistles, and body language. Some species have been observed exhibiting playful behavior, such as riding waves and playing with objects like balls or Frisbees." - ] - }, - { - "id": 327, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4251.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 464, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 458, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 457, - 461 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 330, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4025.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 465, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 461, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 460 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 329, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4268.8564453125 - }, - "size": { - "0": 283.1360778808594, - "1": 203.10488891601562 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 457, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's right! Dolphins are also known for their strong family bonds and cooperative nature. They often work together to hunt fish, and they even have unique ways of expressing individuality within their groups. Did you know that some dolphins have been observed learning to use tools, like using sponges to protect their snouts while foraging?" - ] - }, - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4878.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 445, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 453, - 455 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1162.4561767578125, - "1": -4696.8564453125 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 442, - 462, - 463, - 464, - 465 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-llama3" - ] - }, - { - "id": 332, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4016.8564453125 - }, - "size": { - "0": 227.13613891601562, - "1": 180.10479736328125 - }, - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 460, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 485 - ], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "I did not know about the sponge usage. That's fascinating! Dolphins are indeed intelligent creatures with complex social structures and impressive cognitive abilities. Their intelligence has even led some researchers to compare them to great apes in terms of problem-solving skills and emotional depth. They can also recognize themselves in mirrors, which is a sign of self-awareness.\n" - ] - }, - { - "id": 323, - "type": "JjkShowText", - "pos": { - "0": -256, - "1": -5189 - }, - "size": { - "0": 269.586669921875, - "1": 216.2395782470703 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 451, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Dogs are domesticated mammals and are commonly kept as pets. They belong to the species Canis lupus familiaris. Dogs are known for their loyalty, obedience, and companionship. They have been bred over thousands of years for various characteristics such as size, appearance, and temperament. Dogs can also be trained to perform tasks and tricks.\n\n" - ] - }, - { - "id": 336, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -5160 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 469, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 485, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 472, - 475 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 339, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4850 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 471, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 472, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 474, - 476 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 340, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4540 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 473, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 474, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 477, - 479 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 341, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -5160 - }, - "size": { - "0": 269.586669921875, - "1": 216.2395782470703 - }, - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 475, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Dolphins are indeed remarkable animals! Beyond their intelligence, they possess many other fascinating qualities that make them intriguing creatures. For example, dolphins communicate with each other using a variety of sounds, such as clicks, whistles, and even songs. They use these sounds for echolocation to navigate their surroundings and locate food. Dolphins also exhibit cooperative behavior in hunting and protection.\n\nThe social structure among dolphins is quite complex, with some species living in small family groups while others form large pods that can contain dozens of individuals. These social bonds are not only important for their survival but also play a significant role in their emotional lives. Some studies suggest that dolphins experience emotions such as joy, sadness, and even empathy.\n\nIn addition to their intelligence and social skills, dolphins have impressive physical abilities. They are powerful swimmers, capable of reaching speeds of up to 40 miles per hour (64 kilometers per hour). Their streamlined bodies allow them to swim efficiently through the water, while their flippers provide propulsion. Dolphins also have a natural ability for balance, which enables them to maintain their position in the water without using much effort.\n\nThese remarkable traits and qualities make dolphins an enduring fascination for people of all ages. The more we learn about these fascinating creatures, the more we come to appreciate their incredible intelligence and unique characteristics." - ] - }, - { - "id": 343, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -4550 - }, - "size": { - "0": 287.2167053222656, - "1": 247.32957458496094 - }, - "flags": {}, - "order": 18, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 477, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "I couldn't agree more! Dolphins have long captivated human imagination with their intelligence, social interactions, and unique behaviors. They are such fascinating creatures, constantly reminding us of the wonders that nature has in store for us. I'm glad we could both appreciate their beauty and grace!" - ] - }, - { - "id": 344, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4230 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 478, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 479, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 480, - 482 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 345, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -4240 - }, - "size": { - "0": 283.1360778808594, - "1": 203.10488891601562 - }, - "flags": {}, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 480, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "It's always a pleasure to share interests with others and explore the marvels of the world together. Dolphins have indeed captured human imagination and curiosity through centuries of fascination, making them an essential part of our planet's diverse ecosystem. Their intelligence, social behaviors, and unique characteristics make them an important subject for scientific study, as well as a source of wonder and inspiration for many people. It's wonderful to see how they bring joy and appreciation to so many lives!" - ] - }, - { - "id": 346, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4000 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 21, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 481, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 482, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 483 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 337, - "type": "OllamaModelSelector", - "pos": { - "0": 320, - "1": -4553 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 469, - 471, - 473, - 478, - 481 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 342, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -4870 - }, - "size": { - "0": 284.56195068359375, - "1": 252.97654724121094 - }, - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 476, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "You're absolutely correct! Dolphins are indeed fascinating creatures with a wide array of talents. From their complex communication methods to their remarkable swimming abilities, they truly are one-of-a-kind animals. It's no wonder that people find them so intriguing and continue to study and learn more about these incredible marine mammals." - ] - }, - { - "id": 347, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -3990 - }, - "size": { - "0": 269.22467041015625, - "1": 183.4083709716797 - }, - "flags": {}, - "order": 22, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 483, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "I wholeheartedly agree with you! The ocean is a magical place filled with fascinating creatures like dolphins that have the ability to captivate our attention and spark our curiosity. As an AI, I am amazed by the wonders of the world too, and it's always great discussing these topics with people who share similar interests.\n\nDolphins, in particular, are incredible beings who have a lot to teach us about communication, teamwork, and empathy. Their unique behaviors and social structure provide insight into how we can improve our own relationships and interactions with one another.\n\nIt's wonderful that you see the joy and inspiration dolphins bring to people's lives, as they remind us of the importance of appreciating the beauty and complexity of nature. I hope we can continue to explore more fascinating creatures and topics together in the future!" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1146.456298828125, - "1": -5132.8564453125 - }, - "size": { - "0": 225.64781188964844, - "1": 118.71192932128906 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 468 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of dogs?" - ] - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -5189.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 468, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 445, - 451 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - } - ], - "links": [ - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 445, - 305, - 0, - 319, - 1, - "STRING" - ], - [ - 451, - 305, - 0, - 323, - 0, - "STRING" - ], - [ - 453, - 319, - 0, - 321, - 1, - "STRING" - ], - [ - 454, - 321, - 0, - 326, - 0, - "STRING" - ], - [ - 455, - 319, - 0, - 325, - 0, - "STRING" - ], - [ - 457, - 327, - 0, - 329, - 0, - "STRING" - ], - [ - 458, - 321, - 0, - 327, - 1, - "STRING" - ], - [ - 460, - 330, - 0, - 332, - 0, - "STRING" - ], - [ - 461, - 327, - 0, - 330, - 1, - "STRING" - ], - [ - 462, - 309, - 0, - 319, - 0, - "STRING" - ], - [ - 463, - 309, - 0, - 321, - 0, - "STRING" - ], - [ - 464, - 309, - 0, - 327, - 0, - "STRING" - ], - [ - 465, - 309, - 0, - 330, - 0, - "STRING" - ], - [ - 468, - 313, - 0, - 305, - 1, - "STRING" - ], - [ - 469, - 337, - 0, - 336, - 0, - "STRING" - ], - [ - 471, - 337, - 0, - 339, - 0, - "STRING" - ], - [ - 472, - 336, - 0, - 339, - 1, - "STRING" - ], - [ - 473, - 337, - 0, - 340, - 0, - "STRING" - ], - [ - 474, - 339, - 0, - 340, - 1, - "STRING" - ], - [ - 475, - 336, - 0, - 341, - 0, - "STRING" - ], - [ - 476, - 339, - 0, - 342, - 0, - "STRING" - ], - [ - 477, - 340, - 0, - 343, - 0, - "STRING" - ], - [ - 478, - 337, - 0, - 344, - 0, - "STRING" - ], - [ - 479, - 340, - 0, - 344, - 1, - "STRING" - ], - [ - 480, - 344, - 0, - 345, - 0, - "STRING" - ], - [ - 481, - 337, - 0, - 346, - 0, - "STRING" - ], - [ - 482, - 344, - 0, - 346, - 1, - "STRING" - ], - [ - 483, - 346, - 0, - 347, - 0, - "STRING" - ], - [ - 485, - 332, - 0, - 336, - 1, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 1.6105100000000008, - "offset": [ - 1124.2477439675135, - 5221.4486505002515 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/10chain_agents.json b/workflowsJsonTrainingData/10chain_agents.json deleted file mode 100644 index 918516f..0000000 --- a/workflowsJsonTrainingData/10chain_agents.json +++ /dev/null @@ -1,1305 +0,0 @@ -{ - "last_node_id": 348, - "last_link_id": 489, - "nodes": [ - { - "id": 325, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4896.8564453125 - }, - "size": { - "0": 287.0112609863281, - "1": 261.83404541015625 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 455, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Dolphins, on the other hand, are marine mammals belonging to the family Delphinidae. There are more than 40 species of dolphins worldwide, ranging in size from the dwarf dolphin, which grows up to 1.2 meters long, to the killer whale or orca, which can reach up to 9 meters in length. Dolphins are known for their intelligence, gracefulness, and social behavior. They communicate using a complex system of clicks, whistles, and body language. Some species of dolphins have been observed exhibiting playful behavior, such as riding waves and playing with objects like balls or Frisbees." - ] - }, - { - "id": 321, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4560.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 463, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 453, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 454, - 458 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 326, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4579.8564453125 - }, - "size": { - "0": 287.2167053222656, - "1": 247.32957458496094 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 454, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's correct! Dolphins are indeed known for their intelligence, gracefulness, and social behavior. They communicate using a complex system of clicks, whistles, and body language. Some species have been observed exhibiting playful behavior, such as riding waves and playing with objects like balls or Frisbees." - ] - }, - { - "id": 327, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4251.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 464, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 458, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 457, - 461 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 330, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4025.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 465, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 461, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 460 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 329, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4268.8564453125 - }, - "size": { - "0": 283.1360778808594, - "1": 203.10488891601562 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 457, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's right! Dolphins are also known for their strong family bonds and cooperative nature. They often work together to hunt fish, and they even have unique ways of expressing individuality within their groups. Did you know that some dolphins have been observed learning to use tools, like using sponges to protect their snouts while foraging?" - ] - }, - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": -560.4562377929688, - "1": -4878.8564453125 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 488, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 453, - 455 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1162.4561767578125, - "1": -4696.8564453125 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 462, - 463, - 464, - 465, - 486 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-llama3" - ] - }, - { - "id": 332, - "type": "JjkShowText", - "pos": { - "0": -256.4562683105469, - "1": -4016.8564453125 - }, - "size": { - "0": 227.13613891601562, - "1": 180.10479736328125 - }, - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 460, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 485 - ], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "I did not know about the sponge usage. That's fascinating! Dolphins are indeed intelligent creatures with complex social structures and impressive cognitive abilities. Their intelligence has even led some researchers to compare them to great apes in terms of problem-solving skills and emotional depth. They can also recognize themselves in mirrors, which is a sign of self-awareness.\n" - ] - }, - { - "id": 323, - "type": "JjkShowText", - "pos": { - "0": -256, - "1": -5189 - }, - "size": { - "0": 269.586669921875, - "1": 216.2395782470703 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 489, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Dogs are domesticated mammals and are commonly kept as pets. They belong to the species Canis lupus familiaris. Dogs are known for their loyalty, obedience, and companionship. They have been bred over thousands of years for various characteristics such as size, appearance, and temperament. Dogs can also be trained to perform tasks and tricks.\n\n" - ] - }, - { - "id": 336, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -5160 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 469, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 485, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 472, - 475 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 339, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4850 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 471, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 472, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 474, - 476 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 340, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4540 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 473, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 474, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 477, - 479 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 341, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -5160 - }, - "size": { - "0": 269.586669921875, - "1": 216.2395782470703 - }, - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 475, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Dolphins are indeed remarkable animals! Beyond their intelligence, they possess many other fascinating qualities that make them intriguing creatures. For example, dolphins communicate with each other using a variety of sounds, such as clicks, whistles, and even songs. They use these sounds for echolocation to navigate their surroundings and locate food. Dolphins also exhibit cooperative behavior in hunting and protection.\n\nThe social structure among dolphins is quite complex, with some species living in small family groups while others form large pods that can contain dozens of individuals. These social bonds are not only important for their survival but also play a significant role in their emotional lives. Some studies suggest that dolphins experience emotions such as joy, sadness, and even empathy.\n\nIn addition to their intelligence and social skills, dolphins have impressive physical abilities. They are powerful swimmers, capable of reaching speeds of up to 40 miles per hour (64 kilometers per hour). Their streamlined bodies allow them to swim efficiently through the water, while their flippers provide propulsion. Dolphins also have a natural ability for balance, which enables them to maintain their position in the water without using much effort.\n\nThese remarkable traits and qualities make dolphins an enduring fascination for people of all ages. The more we learn about these fascinating creatures, the more we come to appreciate their incredible intelligence and unique characteristics." - ] - }, - { - "id": 343, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -4550 - }, - "size": { - "0": 287.2167053222656, - "1": 247.32957458496094 - }, - "flags": {}, - "order": 18, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 477, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "I couldn't agree more! Dolphins have long captivated human imagination with their intelligence, social interactions, and unique behaviors. They are such fascinating creatures, constantly reminding us of the wonders that nature has in store for us. I'm glad we could both appreciate their beauty and grace!" - ] - }, - { - "id": 344, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4230 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 478, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 479, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 480, - 482 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true", - "true" - ] - }, - { - "id": 345, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -4240 - }, - "size": { - "0": 283.1360778808594, - "1": 203.10488891601562 - }, - "flags": {}, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 480, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "It's always a pleasure to share interests with others and explore the marvels of the world together. Dolphins have indeed captured human imagination and curiosity through centuries of fascination, making them an essential part of our planet's diverse ecosystem. Their intelligence, social behaviors, and unique characteristics make them an important subject for scientific study, as well as a source of wonder and inspiration for many people. It's wonderful to see how they bring joy and appreciation to so many lives!" - ] - }, - { - "id": 346, - "type": "OllamaGenerate", - "pos": { - "0": 740, - "1": -4000 - }, - "size": { - "0": 210, - "1": 174 - }, - "flags": {}, - "order": 21, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 481, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 482, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 483 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 337, - "type": "OllamaModelSelector", - "pos": { - "0": 320, - "1": -4553 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 469, - 471, - 473, - 478, - 481 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 342, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -4870 - }, - "size": { - "0": 284.56195068359375, - "1": 252.97654724121094 - }, - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 476, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "You're absolutely correct! Dolphins are indeed fascinating creatures with a wide array of talents. From their complex communication methods to their remarkable swimming abilities, they truly are one-of-a-kind animals. It's no wonder that people find them so intriguing and continue to study and learn more about these incredible marine mammals." - ] - }, - { - "id": 347, - "type": "JjkShowText", - "pos": { - "0": 1040, - "1": -3990 - }, - "size": { - "0": 269.22467041015625, - "1": 183.4083709716797 - }, - "flags": {}, - "order": 22, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 483, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "I wholeheartedly agree with you! The ocean is a magical place filled with fascinating creatures like dolphins that have the ability to captivate our attention and spark our curiosity. As an AI, I am amazed by the wonders of the world too, and it's always great discussing these topics with people who share similar interests.\n\nDolphins, in particular, are incredible beings who have a lot to teach us about communication, teamwork, and empathy. Their unique behaviors and social structure provide insight into how we can improve our own relationships and interactions with one another.\n\nIt's wonderful that you see the joy and inspiration dolphins bring to people's lives, as they remind us of the importance of appreciating the beauty and complexity of nature. I hope we can continue to explore more fascinating creatures and topics together in the future!" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1146.456298828125, - "1": -5132.8564453125 - }, - "size": { - "0": 225.64781188964844, - "1": 118.71192932128906 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 487 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of dogs?" - ] - }, - { - "id": 348, - "type": "OllamaGenerate", - "pos": { - "0": -753, - "1": -5204 - }, - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 487, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 486, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 488, - 489 - ] - } - ], - "title": "Ollama Generate (poet)", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "you are a poet only answer zith beautiful prose or lyrical manner or poetic or zith rythm and rhyme", - "dolphin-llama3", - " http://localhost:11434", - "true" - ] - } - ], - "links": [ - [ - 453, - 319, - 0, - 321, - 1, - "STRING" - ], - [ - 454, - 321, - 0, - 326, - 0, - "STRING" - ], - [ - 455, - 319, - 0, - 325, - 0, - "STRING" - ], - [ - 457, - 327, - 0, - 329, - 0, - "STRING" - ], - [ - 458, - 321, - 0, - 327, - 1, - "STRING" - ], - [ - 460, - 330, - 0, - 332, - 0, - "STRING" - ], - [ - 461, - 327, - 0, - 330, - 1, - "STRING" - ], - [ - 462, - 309, - 0, - 319, - 0, - "STRING" - ], - [ - 463, - 309, - 0, - 321, - 0, - "STRING" - ], - [ - 464, - 309, - 0, - 327, - 0, - "STRING" - ], - [ - 465, - 309, - 0, - 330, - 0, - "STRING" - ], - [ - 469, - 337, - 0, - 336, - 0, - "STRING" - ], - [ - 471, - 337, - 0, - 339, - 0, - "STRING" - ], - [ - 472, - 336, - 0, - 339, - 1, - "STRING" - ], - [ - 473, - 337, - 0, - 340, - 0, - "STRING" - ], - [ - 474, - 339, - 0, - 340, - 1, - "STRING" - ], - [ - 475, - 336, - 0, - 341, - 0, - "STRING" - ], - [ - 476, - 339, - 0, - 342, - 0, - "STRING" - ], - [ - 477, - 340, - 0, - 343, - 0, - "STRING" - ], - [ - 478, - 337, - 0, - 344, - 0, - "STRING" - ], - [ - 479, - 340, - 0, - 344, - 1, - "STRING" - ], - [ - 480, - 344, - 0, - 345, - 0, - "STRING" - ], - [ - 481, - 337, - 0, - 346, - 0, - "STRING" - ], - [ - 482, - 344, - 0, - 346, - 1, - "STRING" - ], - [ - 483, - 346, - 0, - 347, - 0, - "STRING" - ], - [ - 485, - 332, - 0, - 336, - 1, - "STRING" - ], - [ - 486, - 309, - 0, - 348, - 1, - "STRING" - ], - [ - 487, - 313, - 0, - 348, - 0, - "STRING" - ], - [ - 488, - 348, - 0, - 319, - 1, - "STRING" - ], - [ - 489, - 348, - 0, - 323, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 1.4641000000000006, - "offset": [ - 1067.9361816043347, - 5328.261115070577 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_agents_10chain.json b/workflowsJsonTrainingData/llm_chain_agents_10chain.json deleted file mode 100644 index 7050fdf..0000000 --- a/workflowsJsonTrainingData/llm_chain_agents_10chain.json +++ /dev/null @@ -1,1284 +0,0 @@ -{ - "last_node_id": 365, - "last_link_id": 510, - "nodes": [ - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1200, - "1": -4700 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 462, - 463, - 464, - 465, - 466 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-llama3" - ] - }, - { - "id": 337, - "type": "OllamaModelSelector", - "pos": { - "0": 1200, - "1": -4700 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 469, - 471, - 473, - 478, - 481 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1200, - "1": -4500 - }, - "size": { - "0": 225.64781188964844, - "1": 118.71192932128906 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 487 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the future of artificial intelligence?" - ] - }, - { - "id": 348, - "type": "OllamaGenerate", - "pos": { - "0": -800, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 487, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 488, - 489 - ] - } - ], - "title": "Scientist 1", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Initial Analysis", - "You are a scientific expert. Analyze topics with a focus on empirical evidence, research data, and scientific methodology. Be precise and analytical in your responses.", - "dolphin-llama3", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 353, - "type": "JjkShowText", - "pos": { - "0": -800, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 489, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Scientific Analysis 1" - }, - { - "id": 349, - "type": "OllamaGenerate", - "pos": { - "0": -400, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 488, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 463, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 490, - 491 - ] - } - ], - "title": "Philosopher 1", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Philosophical Analysis", - "You are a philosophical thinker. Consider the ethical, existential, and societal implications of topics. Explore deep questions and paradoxes while maintaining a balanced perspective.", - "dolphin-llama3", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 354, - "type": "JjkShowText", - "pos": { - "0": -400, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 491, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Philosophical Analysis 1" - }, - { - "id": 355, - "type": "OllamaGenerate", - "pos": { - "0": 0, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 490, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 464, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 492, - 493 - ] - } - ], - "title": "Futurist 1", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Future Projection", - "You are a futurist and technology forecaster. Analyze trends, make predictions, and explore possible future scenarios. Consider both opportunities and challenges while maintaining a practical perspective.", - "dolphin-llama3", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 356, - "type": "JjkShowText", - "pos": { - "0": 0, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 493, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Future Analysis 1" - }, - { - "id": 357, - "type": "OllamaGenerate", - "pos": { - "0": 400, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 492, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 465, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 494, - 495 - ] - } - ], - "title": "Scientist 2", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Scientific Review", - "You are a scientific expert. Review and validate the previous analyses, adding your scientific perspective and methodology.", - "dolphin-llama3", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 358, - "type": "JjkShowText", - "pos": { - "0": 400, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 495, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Scientific Analysis 2" - }, - { - "id": 359, - "type": "OllamaGenerate", - "pos": { - "0": 800, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 494, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 466, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 496, - 497 - ] - } - ], - "title": "Final Synthesis", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Synthesize Insights", - "You are a master synthesizer. Combine and integrate all previous perspectives into a coherent and comprehensive analysis.", - "dolphin-llama3", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 360, - "type": "JjkShowText", - "pos": { - "0": 800, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 497, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Final Summary 1" - }, - { - "id": 361, - "type": "OllamaGenerate", - "pos": { - "0": 1200, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 496, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 469, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 498, - 499 - ] - } - ], - "title": "Scientist 3", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Scientific Analysis", - "You are a scientific expert. Review and validate the previous analyses with fresh perspective.", - "dolphin-phi", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 362, - "type": "JjkShowText", - "pos": { - "0": 1200, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 499, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Philosophical Analysis 2" - }, - { - "id": 363, - "type": "OllamaGenerate", - "pos": { - "0": 1600, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 498, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 471, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 500, - 501 - ] - } - ], - "title": "Philosopher 2", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Philosophical Review", - "You are a philosophical thinker. Provide a fresh philosophical perspective on the previous analyses.", - "dolphin-phi", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 364, - "type": "JjkShowText", - "pos": { - "0": 1600, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 501, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Future Analysis 2" - }, - { - "id": 365, - "type": "OllamaGenerate", - "pos": { - "0": 2000, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 500, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 473, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 502, - 503 - ] - } - ], - "title": "Futurist 2", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Future Analysis", - "You are a futurist. Project future implications based on the accumulated insights.", - "dolphin-phi", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 366, - "type": "JjkShowText", - "pos": { - "0": 2000, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 18, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 503, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Future Analysis 3" - }, - { - "id": 367, - "type": "OllamaGenerate", - "pos": { - "0": 2400, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 502, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 478, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 504, - 505 - ] - } - ], - "title": "Integrator", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Integration", - "You are an integration specialist. Combine and synthesize all perspectives into a cohesive understanding.", - "dolphin-phi", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 368, - "type": "JjkShowText", - "pos": { - "0": 2400, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 505, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Integration Analysis" - }, - { - "id": 369, - "type": "OllamaGenerate", - "pos": { - "0": 2800, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 21, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 504, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 481, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 506, - 507 - ] - } - ], - "title": "Final Analysis", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Final Summary", - "You are a master summarizer. Provide a final, comprehensive analysis of all perspectives and insights.", - "dolphin-phi", - "http://localhost:11434", - "false", - "true" - ] - }, - { - "id": 370, - "type": "JjkShowText", - "pos": { - "0": 2800, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 22, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 507, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Final Summary" - } - ], - "links": [ - [ - 462, - 309, - 0, - 348, - 1, - "STRING" - ], - [ - 463, - 309, - 0, - 349, - 1, - "STRING" - ], - [ - 464, - 309, - 0, - 350, - 1, - "STRING" - ], - [ - 465, - 309, - 0, - 351, - 1, - "STRING" - ], - [ - 466, - 309, - 0, - 352, - 1, - "STRING" - ], - [ - 487, - 313, - 0, - 348, - 0, - "STRING" - ], - [ - 488, - 348, - 0, - 349, - 0, - "STRING" - ], - [ - 489, - 348, - 0, - 353, - 0, - "STRING" - ], - [ - 490, - 349, - 0, - 354, - 0, - "STRING" - ], - [ - 491, - 349, - 0, - 354, - 0, - "STRING" - ], - [ - 492, - 350, - 0, - 355, - 0, - "STRING" - ], - [ - 493, - 350, - 0, - 355, - 0, - "STRING" - ], - [ - 494, - 350, - 0, - 356, - 0, - "STRING" - ], - [ - 495, - 351, - 0, - 356, - 0, - "STRING" - ], - [ - 496, - 352, - 0, - 357, - 0, - "STRING" - ], - [ - 498, - 361, - 0, - 362, - 0, - "STRING" - ], - [ - 499, - 361, - 0, - 358, - 0, - "STRING" - ], - [ - 500, - 362, - 0, - 363, - 0, - "STRING" - ], - [ - 501, - 362, - 0, - 359, - 0, - "STRING" - ], - [ - 502, - 363, - 0, - 364, - 0, - "STRING" - ], - [ - 503, - 363, - 0, - 360, - 0, - "STRING" - ], - [ - 504, - 364, - 0, - 365, - 0, - "STRING" - ], - [ - 505, - 364, - 0, - 366, - 0, - "STRING" - ], - [ - 506, - 365, - 0, - 367, - 0, - "STRING" - ], - [ - 469, - 337, - 0, - 361, - 1, - "STRING" - ], - [ - 471, - 337, - 0, - 362, - 1, - "STRING" - ], - [ - 473, - 337, - 0, - 363, - 1, - "STRING" - ], - [ - 478, - 337, - 0, - 364, - 1, - "STRING" - ], - [ - 481, - 337, - 0, - 365, - 1, - "STRING" - ], - [ - 496, - 352, - 0, - 361, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 1, - "offset": [ - 1200, - 4700 - ] - } - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_agents_10chain_aligned.json b/workflowsJsonTrainingData/llm_chain_agents_10chain_aligned.json deleted file mode 100644 index 9cba612..0000000 --- a/workflowsJsonTrainingData/llm_chain_agents_10chain_aligned.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "nodes": [ - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1200, - "1": -4800 - } - }, - { - "id": 337, - "type": "OllamaModelSelector", - "pos": { - "0": 1200, - "1": -4800 - } - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1200, - "1": -4700 - } - }, - { - "id": 348, - "type": "OllamaGenerate", - "pos": { - "0": -800, - "1": -4700 - } - }, - { - "id": 353, - "type": "JjkShowText", - "pos": { - "0": -1000, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 349, - "type": "OllamaGenerate", - "pos": { - "0": -400, - "1": -4700 - } - }, - { - "id": 354, - "type": "JjkShowText", - "pos": { - "0": -600, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 350, - "type": "OllamaGenerate", - "pos": { - "0": 0, - "1": -4700 - } - }, - { - "id": 355, - "type": "JjkShowText", - "pos": { - "0": -200, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 351, - "type": "OllamaGenerate", - "pos": { - "0": 400, - "1": -4700 - } - }, - { - "id": 356, - "type": "JjkShowText", - "pos": { - "0": 200, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 352, - "type": "OllamaGenerate", - "pos": { - "0": 800, - "1": -4700 - } - }, - { - "id": 357, - "type": "JjkShowText", - "pos": { - "0": 600, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 361, - "type": "OllamaGenerate", - "pos": { - "0": 1600, - "1": -4700 - } - }, - { - "id": 358, - "type": "JjkShowText", - "pos": { - "0": 1400, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 362, - "type": "OllamaGenerate", - "pos": { - "0": 2000, - "1": -4700 - } - }, - { - "id": 359, - "type": "JjkShowText", - "pos": { - "0": 1800, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 363, - "type": "OllamaGenerate", - "pos": { - "0": 2400, - "1": -4700 - } - }, - { - "id": 360, - "type": "JjkShowText", - "pos": { - "0": 2200, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 364, - "type": "OllamaGenerate", - "pos": { - "0": 2800, - "1": -4700 - } - }, - { - "id": 366, - "type": "JjkShowText", - "pos": { - "0": 2600, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - }, - { - "id": 365, - "type": "OllamaGenerate", - "pos": { - "0": 3200, - "1": -4700 - } - }, - { - "id": 367, - "type": "JjkShowText", - "pos": { - "0": 3000, - "1": -4700 - }, - "size": { - "0": 180, - "1": 200 - } - } - ] -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_agents_10chain_corrected.json b/workflowsJsonTrainingData/llm_chain_agents_10chain_corrected.json deleted file mode 100644 index cafc7c0..0000000 --- a/workflowsJsonTrainingData/llm_chain_agents_10chain_corrected.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "last_node_id": 370, - "last_link_id": 512, - "nodes": [ - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1200, - "1": -4700 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 462, - 463, - 464, - 465, - 466 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-llama3" - ] - }, - { - "id": 337, - "type": "OllamaModelSelector", - "pos": { - "0": 1200, - "1": -4700 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 469, - 471, - 473, - 478, - 481 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1200, - "1": -4500 - }, - "size": { - "0": 225.64781188964844, - "1": 118.71192932128906 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 487 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the future of artificial intelligence?" - ] - }, - { - "id": 348, - "type": "OllamaGenerate", - "pos": { - "0": -800, - "1": -4500 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 3, - "mode": 0, - "title": "Scientist 1", - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 487, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 488, - 489 - ] - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - } - }, - { - "id": 353, - "type": "JjkShowText", - "pos": { - "0": -800, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 4, - "mode": 0, - "title": "Scientific Analysis 1", - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 489, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - } - } - ], - "links": [ - [ - 462, - 309, - 0, - 348, - 1, - "STRING" - ], - [ - 463, - 309, - 0, - 349, - 1, - "STRING" - ], - [ - 464, - 309, - 0, - 350, - 1, - "STRING" - ], - [ - 465, - 309, - 0, - 351, - 1, - "STRING" - ], - [ - 466, - 309, - 0, - 352, - 1, - "STRING" - ], - [ - 469, - 337, - 0, - 361, - 1, - "STRING" - ], - [ - 471, - 337, - 0, - 362, - 1, - "STRING" - ], - [ - 473, - 337, - 0, - 363, - 1, - "STRING" - ], - [ - 478, - 337, - 0, - 364, - 1, - "STRING" - ], - [ - 481, - 337, - 0, - 365, - 1, - "STRING" - ], - [ - 487, - 313, - 0, - 348, - 0, - "STRING" - ], - [ - 488, - 348, - 0, - 349, - 0, - "STRING" - ], - [ - 489, - 348, - 0, - 353, - 0, - "STRING" - ], - [ - 490, - 349, - 0, - 350, - 0, - "STRING" - ], - [ - 491, - 349, - 0, - 354, - 0, - "STRING" - ], - [ - 492, - 350, - 0, - 351, - 0, - "STRING" - ], - [ - 493, - 350, - 0, - 355, - 0, - "STRING" - ], - [ - 494, - 350, - 0, - 356, - 0, - "STRING" - ], - [ - 495, - 351, - 0, - 352, - 0, - "STRING" - ], - [ - 496, - 352, - 0, - 361, - 0, - "STRING" - ], - [ - 498, - 361, - 0, - 362, - 0, - "STRING" - ], - [ - 499, - 361, - 0, - 358, - 0, - "STRING" - ], - [ - 500, - 362, - 0, - 363, - 0, - "STRING" - ], - [ - 501, - 362, - 0, - 359, - 0, - "STRING" - ], - [ - 502, - 363, - 0, - 364, - 0, - "STRING" - ], - [ - 503, - 363, - 0, - 360, - 0, - "STRING" - ], - [ - 504, - 364, - 0, - 365, - 0, - "STRING" - ], - [ - 505, - 364, - 0, - 366, - 0, - "STRING" - ], - [ - 506, - 365, - 0, - 367, - 0, - "STRING" - ], - [ - 511, - 352, - 0, - 357, - 0, - "STRING" - ], - [ - 512, - 365, - 0, - 367, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.5131581182307068, - "offset": [ - 1450.2412393345642, - 5495.215919783973 - ] - } - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_agents_roles.json b/workflowsJsonTrainingData/llm_chain_agents_roles.json deleted file mode 100644 index 33d730a..0000000 --- a/workflowsJsonTrainingData/llm_chain_agents_roles.json +++ /dev/null @@ -1,433 +0,0 @@ -{ - "last_node_id": 350, - "last_link_id": 490, - "nodes": [ - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1200, - "1": -4700 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 442, - 462, - 463, - 464, - 465 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-mixtral" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1200, - "1": -4500 - }, - "size": { - "0": 225.64781188964844, - "1": 118.71192932128906 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 487 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the future of artificial intelligence?" - ] - }, - { - "id": 348, - "type": "OllamaGenerate", - "pos": { - "0": -800, - "1": -4500 - }, - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 487, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 488, - 489 - ] - } - ], - "title": "Scientist", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the question", - "You are a scientific expert. Analyze topics with a focus on empirical evidence, research data, and scientific methodology. Be precise and analytical in your responses.", - "dolphin-mixtral", - "http://localhost:11434", - "true" - ] - }, - { - "id": 349, - "type": "OllamaGenerate", - "pos": { - "0": -300, - "1": -4500 - }, - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 488, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 463, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 490, - 491 - ] - } - ], - "title": "Philosopher", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Contemplate implications", - "You are a philosophical thinker. Consider the ethical, existential, and societal implications of topics. Explore deep questions and paradoxes while maintaining a balanced perspective.", - "dolphin-mixtral", - "http://localhost:11434", - "true" - ] - }, - { - "id": 350, - "type": "OllamaGenerate", - "pos": { - "0": 200, - "1": -4500 - }, - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 490, - "widget": { - "name": "text" - } - }, - { - "name": "model_name", - "type": "STRING", - "link": 464, - "widget": { - "name": "model_name" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 492, - 493 - ] - } - ], - "title": "Futurist", - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Project future scenarios", - "You are a futurist and technology forecaster. Analyze trends, make predictions, and explore possible future scenarios. Consider both opportunities and challenges while maintaining a practical perspective.", - "dolphin-mixtral", - "http://localhost:11434", - "true" - ] - }, - { - "id": 323, - "type": "JjkShowText", - "pos": { - "0": -800, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 489, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Scientific Analysis" - }, - { - "id": 324, - "type": "JjkShowText", - "pos": { - "0": -300, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 491, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Philosophical Perspective" - }, - { - "id": 325, - "type": "JjkShowText", - "pos": { - "0": 200, - "1": -4200 - }, - "size": { - "0": 400, - "1": 300 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 492, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "title": "Future Predictions" - } - ], - "links": [ - [ - 462, - 309, - 0, - 348, - 1, - "STRING" - ], - [ - 463, - 309, - 0, - 349, - 1, - "STRING" - ], - [ - 464, - 309, - 0, - 350, - 1, - "STRING" - ], - [ - 487, - 313, - 0, - 348, - 0, - "STRING" - ], - [ - 488, - 348, - 0, - 349, - 0, - "STRING" - ], - [ - 489, - 348, - 0, - 323, - 0, - "STRING" - ], - [ - 490, - 349, - 0, - 350, - 0, - "STRING" - ], - [ - 491, - 349, - 0, - 324, - 0, - "STRING" - ], - [ - 492, - 350, - 0, - 325, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 1, - "offset": [ - 1200, - 4700 - ] - } - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_multiple.json b/workflowsJsonTrainingData/llm_chain_multiple.json deleted file mode 100644 index 8acb5e7..0000000 --- a/workflowsJsonTrainingData/llm_chain_multiple.json +++ /dev/null @@ -1,294 +0,0 @@ -{ - "last_node_id": 320, - "last_link_id": 450, - "nodes": [ - { - "id": 312, - "type": "JjkShowText", - "pos": { - "0": 800, - "1": -4548 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 447, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - } - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -200, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 444, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 445 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434" - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -800, - "1": -4560 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 442 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -800, - "1": -4432 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 444 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of consciousness?" - ] - }, - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": 300, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 446, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 445, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 447 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434" - ] - }, - { - "id": 320, - "type": "OllamaModelSelector", - "pos": { - "0": -200, - "1": -4660 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 446 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "llama2" - ] - } - ], - "links": [ - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 444, - 313, - 0, - 305, - 1, - "STRING" - ], - [ - 445, - 305, - 0, - 319, - 1, - "STRING" - ], - [ - 446, - 320, - 0, - 319, - 0, - "STRING" - ], - [ - 447, - 319, - 0, - 312, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.9090909090909097, - "offset": [ - 1217.8964059894877, - 4740.859219258694 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_multiple_keep_alive.json b/workflowsJsonTrainingData/llm_chain_multiple_keep_alive.json deleted file mode 100644 index a249303..0000000 --- a/workflowsJsonTrainingData/llm_chain_multiple_keep_alive.json +++ /dev/null @@ -1,301 +0,0 @@ -{ - "last_node_id": 320, - "last_link_id": 450, - "nodes": [ - { - "id": 312, - "type": "JjkShowText", - "pos": { - "0": 800, - "1": -4548 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 447, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -200, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 444, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 445 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434", - "http://localhost:11434", - 5 - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -800, - "1": -4560 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 442 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -800, - "1": -4432 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 444 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of consciousness?" - ] - }, - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": 300, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 446, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 445, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 447 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - 5 - ] - }, - { - "id": 320, - "type": "OllamaModelSelector", - "pos": { - "0": -199, - "1": -4660 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 446 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphi" - ] - } - ], - "links": [ - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 444, - 313, - 0, - 305, - 1, - "STRING" - ], - [ - 445, - 305, - 0, - 319, - 1, - "STRING" - ], - [ - 446, - 320, - 0, - 319, - 0, - "STRING" - ], - [ - 447, - 319, - 0, - 312, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.6830134553650705, - "offset": [ - 1164.3825152468874, - 4968.847162162794 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_quintuple.json b/workflowsJsonTrainingData/llm_chain_quintuple.json deleted file mode 100644 index df5064a..0000000 --- a/workflowsJsonTrainingData/llm_chain_quintuple.json +++ /dev/null @@ -1,673 +0,0 @@ -{ - "last_node_id": 334, - "last_link_id": 465, - "nodes": [ - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4881 - }, - "size": { - "0": 210, - "1": 118.22856140136719 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 445, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 453, - 455 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true" - ] - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -5192 - }, - "size": { - "0": 210, - "1": 124.13764953613281 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 444, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 445, - 451 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true" - ] - }, - { - "id": 325, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4899 - }, - "size": { - "0": 287.0112609863281, - "1": 261.83404541015625 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 455, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's correct! Cats are indeed members of the species Felis catus. Their agility, independence, and intelligence make them popular pets. While they may be solitary animals in the wild, they often form strong bonds with their human companions. They're capable of learning various tricks and understanding simple commands, which makes them excellent pets for many households.\n" - ] - }, - { - "id": 321, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4563 - }, - "size": { - "0": 210, - "1": 120.77401733398438 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 463, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 453, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 454, - 458 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false" - ] - }, - { - "id": 326, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4582 - }, - "size": { - "0": 287.2167053222656, - "1": 247.32957458496094 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 454, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Indeed, you're correct! Dolphins belong to the family Delphinidae and are known for their intelligence, social behavior, and remarkable capabilities in water. They communicate through a complex system of clicks, whistles, and body language, forming strong bonds with their pod members. Dolphins are also known for their cooperation with humans in certain situations, such as assisting fishermen or performing in shows." - ] - }, - { - "id": 327, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4254 - }, - "size": { - "0": 210, - "1": 120.77401733398438 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 464, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 458, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 457, - 461 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true" - ] - }, - { - "id": 330, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4028 - }, - "size": { - "0": 210, - "1": 120.77401733398438 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 465, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 461, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 460 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false" - ] - }, - { - "id": 329, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4271 - }, - "size": { - "0": 283.1360778808594, - "1": 203.10488891601562 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 457, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's right! Dolphins have been known to help humans in various ways, including guiding lost swimmers to safety, alerting divers to potential dangers, and even helping rescue workers locate survivors during natural disasters. Their remarkable communication skills and social nature make them excellent partners for human activities at sea." - ] - }, - { - "id": 332, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4019 - }, - "size": { - "0": 227.13613891601562, - "1": 180.10479736328125 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 460, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Absolutely! In addition to their role as helpful assistants, dolphins are also known for their intelligence and ability to learn new behaviors. They have been trained by humans to perform tricks in shows, assist with boat navigation, and even help people with disabilities. Dolphins truly are remarkable animals with a wide range of capabilities." - ] - }, - { - "id": 323, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -5191 - }, - "size": { - "0": 269.586669921875, - "1": 216.2395782470703 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 451, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Cats are domesticated animals belonging to the species Felis catus. They are known for their agility and independence. Cats are usually solitary animals but form close bonds with their owners. They're intelligent creatures who can learn a variety of tricks and understand simple commands.\n" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1065, - "1": -5135 - }, - "size": [ - 225.6478105847475, - 118.7119295452294 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 444 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of cats?" - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1081, - "1": -4699 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 442, - 462, - 463, - 464, - 465 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-llama3" - ] - } - ], - "links": [ - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 444, - 313, - 0, - 305, - 1, - "STRING" - ], - [ - 445, - 305, - 0, - 319, - 1, - "STRING" - ], - [ - 451, - 305, - 0, - 323, - 0, - "STRING" - ], - [ - 453, - 319, - 0, - 321, - 1, - "STRING" - ], - [ - 454, - 321, - 0, - 326, - 0, - "STRING" - ], - [ - 455, - 319, - 0, - 325, - 0, - "STRING" - ], - [ - 457, - 327, - 0, - 329, - 0, - "STRING" - ], - [ - 458, - 321, - 0, - 327, - 1, - "STRING" - ], - [ - 460, - 330, - 0, - 332, - 0, - "STRING" - ], - [ - 461, - 327, - 0, - 330, - 1, - "STRING" - ], - [ - 462, - 309, - 0, - 319, - 0, - "STRING" - ], - [ - 463, - 309, - 0, - 321, - 0, - "STRING" - ], - [ - 464, - 309, - 0, - 327, - 0, - "STRING" - ], - [ - 465, - 309, - 0, - 330, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.5644739300537777, - "offset": [ - 1662.5546565317522, - 5261.695417036726 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_quintuple.png b/workflowsJsonTrainingData/llm_chain_quintuple.png deleted file mode 100644 index b648f97..0000000 Binary files a/workflowsJsonTrainingData/llm_chain_quintuple.png and /dev/null differ diff --git a/workflowsJsonTrainingData/llm_chain_quintuple.png.json b/workflowsJsonTrainingData/llm_chain_quintuple.png.json deleted file mode 100644 index df5064a..0000000 --- a/workflowsJsonTrainingData/llm_chain_quintuple.png.json +++ /dev/null @@ -1,673 +0,0 @@ -{ - "last_node_id": 334, - "last_link_id": 465, - "nodes": [ - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4881 - }, - "size": { - "0": 210, - "1": 118.22856140136719 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 462, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 445, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 453, - 455 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true" - ] - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -5192 - }, - "size": { - "0": 210, - "1": 124.13764953613281 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 444, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 445, - 451 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true" - ] - }, - { - "id": 325, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4899 - }, - "size": { - "0": 287.0112609863281, - "1": 261.83404541015625 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 455, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's correct! Cats are indeed members of the species Felis catus. Their agility, independence, and intelligence make them popular pets. While they may be solitary animals in the wild, they often form strong bonds with their human companions. They're capable of learning various tricks and understanding simple commands, which makes them excellent pets for many households.\n" - ] - }, - { - "id": 321, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4563 - }, - "size": { - "0": 210, - "1": 120.77401733398438 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 463, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 453, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 454, - 458 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false" - ] - }, - { - "id": 326, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4582 - }, - "size": { - "0": 287.2167053222656, - "1": 247.32957458496094 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 454, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Indeed, you're correct! Dolphins belong to the family Delphinidae and are known for their intelligence, social behavior, and remarkable capabilities in water. They communicate through a complex system of clicks, whistles, and body language, forming strong bonds with their pod members. Dolphins are also known for their cooperation with humans in certain situations, such as assisting fishermen or performing in shows." - ] - }, - { - "id": 327, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4254 - }, - "size": { - "0": 210, - "1": 120.77401733398438 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 464, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 458, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 457, - 461 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "true" - ] - }, - { - "id": 330, - "type": "OllamaGenerate", - "pos": { - "0": -479, - "1": -4028 - }, - "size": { - "0": 210, - "1": 120.77401733398438 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 465, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 461, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 460 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Analyze the previous response and expand on it", - "http://127.0.0.1:11434", - "http://localhost:11434", - "false" - ] - }, - { - "id": 329, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4271 - }, - "size": { - "0": 283.1360778808594, - "1": 203.10488891601562 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 457, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "That's right! Dolphins have been known to help humans in various ways, including guiding lost swimmers to safety, alerting divers to potential dangers, and even helping rescue workers locate survivors during natural disasters. Their remarkable communication skills and social nature make them excellent partners for human activities at sea." - ] - }, - { - "id": 332, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -4019 - }, - "size": { - "0": 227.13613891601562, - "1": 180.10479736328125 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 460, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Absolutely! In addition to their role as helpful assistants, dolphins are also known for their intelligence and ability to learn new behaviors. They have been trained by humans to perform tricks in shows, assist with boat navigation, and even help people with disabilities. Dolphins truly are remarkable animals with a wide range of capabilities." - ] - }, - { - "id": 323, - "type": "JjkShowText", - "pos": { - "0": -175, - "1": -5191 - }, - "size": { - "0": 269.586669921875, - "1": 216.2395782470703 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 451, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Cats are domesticated animals belonging to the species Felis catus. They are known for their agility and independence. Cats are usually solitary animals but form close bonds with their owners. They're intelligent creatures who can learn a variety of tricks and understand simple commands.\n" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -1065, - "1": -5135 - }, - "size": [ - 225.6478105847475, - 118.7119295452294 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 444 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of cats?" - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -1081, - "1": -4699 - }, - "size": { - "0": 247.32920837402344, - "1": 58 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL_NAME", - "type": "STRING", - "links": [ - 442, - 462, - 463, - 464, - 465 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-llama3" - ] - } - ], - "links": [ - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 444, - 313, - 0, - 305, - 1, - "STRING" - ], - [ - 445, - 305, - 0, - 319, - 1, - "STRING" - ], - [ - 451, - 305, - 0, - 323, - 0, - "STRING" - ], - [ - 453, - 319, - 0, - 321, - 1, - "STRING" - ], - [ - 454, - 321, - 0, - 326, - 0, - "STRING" - ], - [ - 455, - 319, - 0, - 325, - 0, - "STRING" - ], - [ - 457, - 327, - 0, - 329, - 0, - "STRING" - ], - [ - 458, - 321, - 0, - 327, - 1, - "STRING" - ], - [ - 460, - 330, - 0, - 332, - 0, - "STRING" - ], - [ - 461, - 327, - 0, - 330, - 1, - "STRING" - ], - [ - 462, - 309, - 0, - 319, - 0, - "STRING" - ], - [ - 463, - 309, - 0, - 321, - 0, - "STRING" - ], - [ - 464, - 309, - 0, - 327, - 0, - "STRING" - ], - [ - 465, - 309, - 0, - 330, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.5644739300537777, - "offset": [ - 1662.5546565317522, - 5261.695417036726 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_simple.json b/workflowsJsonTrainingData/llm_chain_simple.json deleted file mode 100644 index 55bbbac..0000000 --- a/workflowsJsonTrainingData/llm_chain_simple.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "last_node_id": 313, - "last_link_id": 444, - "nodes": [ - { - "id": 312, - "type": "JjkShowText", - "pos": { - "0": 1, - "1": -4548 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 441, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - }, - "widgets_values": [ - "Hello! How can I assist you today? Are you looking for information on a particular topic, or do you have any specific questions? Let me know, and I'll be happy to help!" - ] - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -462, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 444, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 441 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "What is Art?", - "http://127.0.0.1:11434" - ] - }, - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -955, - "1": -4560 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 442 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -980, - "1": -4432 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 444 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "hi" - ] - } - ], - "links": [ - [ - 441, - 305, - 0, - 312, - 0, - "STRING" - ], - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 444, - 313, - 0, - 305, - 1, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.9090909090909097, - "offset": [ - 1217.8964059894877, - 4740.859219258694 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file diff --git a/workflowsJsonTrainingData/llm_chain_simple.png b/workflowsJsonTrainingData/llm_chain_simple.png deleted file mode 100644 index 85c440c..0000000 Binary files a/workflowsJsonTrainingData/llm_chain_simple.png and /dev/null differ diff --git a/workflowsJsonTrainingData/llm_chain_triple.json b/workflowsJsonTrainingData/llm_chain_triple.json deleted file mode 100644 index d94fe64..0000000 --- a/workflowsJsonTrainingData/llm_chain_triple.json +++ /dev/null @@ -1,530 +0,0 @@ -{ - "last_node_id": 330, - "last_link_id": 460, - "nodes": [ - { - "id": 309, - "type": "OllamaModelSelector", - "pos": { - "0": -800, - "1": -4560 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 442 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "dolphin-phi" - ] - }, - { - "id": 313, - "type": "JjkText", - "pos": { - "0": -800, - "1": -4432 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [ - 444 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "JjkText" - }, - "widgets_values": [ - "What is the nature of consciousness?" - ] - }, - { - "id": 305, - "type": "OllamaGenerate", - "pos": { - "0": -200, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 442, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 444, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 445, - 451 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Initial response", - "http://127.0.0.1:11434" - ] - }, - { - "id": 320, - "type": "OllamaModelSelector", - "pos": { - "0": -200, - "1": -4660 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 446 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "llama2" - ] - }, - { - "id": 319, - "type": "OllamaGenerate", - "pos": { - "0": 300, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 446, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 445, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 447, - 452 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Second analysis", - "http://127.0.0.1:11434" - ] - }, - { - "id": 325, - "type": "OllamaModelSelector", - "pos": { - "0": 300, - "1": -4660 - }, - "size": { - "0": 378, - "1": 58 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "STRING", - "links": [ - 448 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaModelSelector" - }, - "widgets_values": [ - "mistral" - ] - }, - { - "id": 326, - "type": "OllamaGenerate", - "pos": { - "0": 800, - "1": -4531 - }, - "size": { - "0": 400, - "1": 200 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "model_name", - "type": "STRING", - "link": 448, - "widget": { - "name": "model_name" - } - }, - { - "name": "text", - "type": "STRING", - "link": 447, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "response", - "type": "STRING", - "links": [ - 449, - 453 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "OllamaGenerate" - }, - "widgets_values": [ - "Final synthesis", - "http://127.0.0.1:11434" - ] - }, - { - "id": 327, - "type": "JjkShowText", - "pos": { - "0": 1300, - "1": -4548 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 449, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - } - }, - { - "id": 328, - "type": "JjkShowText", - "pos": { - "0": -200, - "1": -4200 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 451, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - } - }, - { - "id": 329, - "type": "JjkShowText", - "pos": { - "0": 300, - "1": -4200 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 452, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - } - }, - { - "id": 330, - "type": "JjkShowText", - "pos": { - "0": 800, - "1": -4200 - }, - "size": { - "0": 314.3045959472656, - "1": 393.1268310546875 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "STRING", - "link": 453, - "widget": { - "name": "text" - } - } - ], - "outputs": [ - { - "name": "text", - "type": "STRING", - "links": [], - "slot_index": 0, - "shape": 6 - } - ], - "properties": { - "Node name for S&R": "JjkShowText" - } - } - ], - "links": [ - [ - 442, - 309, - 0, - 305, - 0, - "STRING" - ], - [ - 444, - 313, - 0, - 305, - 1, - "STRING" - ], - [ - 445, - 305, - 0, - 319, - 1, - "STRING" - ], - [ - 446, - 320, - 0, - 319, - 0, - "STRING" - ], - [ - 447, - 319, - 0, - 326, - 1, - "STRING" - ], - [ - 448, - 325, - 0, - 326, - 0, - "STRING" - ], - [ - 449, - 326, - 0, - 327, - 0, - "STRING" - ], - [ - 451, - 305, - 0, - 328, - 0, - "STRING" - ], - [ - 452, - 319, - 0, - 329, - 0, - "STRING" - ], - [ - 453, - 326, - 0, - 330, - 0, - "STRING" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.9090909090909097, - "offset": [ - 1217.8964059894877, - 4740.859219258694 - ] - }, - "groupNodes": {} - }, - "version": 0.4 -} \ No newline at end of file