Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed Jul 3, 2024
1 parent 301494c commit d103059
Show file tree
Hide file tree
Showing 5 changed files with 6,090 additions and 94 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@
"dataType": "ChatInput",
"id": "ChatInput-qzVJh",
"name": "message",
"output_types": [
"Message"
]
"output_types": ["Message"]
},
"targetHandle": {
"fieldName": "user_input",
"id": "Prompt-HNvvn",
"inputTypes": [
"Message",
"Text"
],
"inputTypes": ["Message", "Text"],
"type": "str"
}
},
Expand All @@ -34,16 +29,12 @@
"dataType": "Prompt",
"id": "Prompt-HNvvn",
"name": "prompt",
"output_types": [
"Message"
]
"output_types": ["Message"]
},
"targetHandle": {
"fieldName": "input_value",
"id": "OpenAIModel-vzfsP",
"inputTypes": [
"Message"
],
"inputTypes": ["Message"],
"type": "str"
}
},
Expand All @@ -59,16 +50,12 @@
"dataType": "OpenAIModel",
"id": "OpenAIModel-vzfsP",
"name": "text_output",
"output_types": [
"Message"
]
"output_types": ["Message"]
},
"targetHandle": {
"fieldName": "input_value",
"id": "ChatOutput-kTyIy",
"inputTypes": [
"Message"
],
"inputTypes": ["Message"],
"type": "str"
}
},
Expand All @@ -84,9 +71,7 @@
"data": {
"id": "ChatInput-qzVJh",
"node": {
"base_classes": [
"Message"
],
"base_classes": ["Message"],
"beta": false,
"conditional_paths": [],
"custom_fields": {},
Expand All @@ -112,9 +97,7 @@
"method": "message_response",
"name": "message",
"selected": "Message",
"types": [
"Message"
],
"types": ["Message"],
"value": "__UNDEFINED__"
}
],
Expand Down Expand Up @@ -185,9 +168,7 @@
"display_name": "Text",
"dynamic": false,
"info": "Message to be passed as input.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"multiline": true,
Expand All @@ -207,10 +188,7 @@
"dynamic": false,
"info": "Type of sender.",
"name": "sender",
"options": [
"Machine",
"User"
],
"options": ["Machine", "User"],
"placeholder": "",
"required": false,
"show": true,
Expand All @@ -224,9 +202,7 @@
"display_name": "Sender Name",
"dynamic": false,
"info": "Name of the sender.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "sender_name",
Expand All @@ -244,9 +220,7 @@
"display_name": "Session ID",
"dynamic": false,
"info": "Session ID for the message.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "session_id",
Expand Down Expand Up @@ -284,24 +258,18 @@
"display_name": "Prompt",
"id": "Prompt-HNvvn",
"node": {
"base_classes": [
"Message"
],
"base_classes": ["Message"],
"beta": false,
"conditional_paths": [],
"custom_fields": {
"template": [
"user_input"
]
"template": ["user_input"]
},
"description": "Create a prompt template with dynamic variables.",
"display_name": "Prompt",
"documentation": "",
"edited": false,
"error": null,
"field_order": [
"template"
],
"field_order": ["template"],
"frozen": false,
"full_path": null,
"icon": "prompts",
Expand All @@ -318,9 +286,7 @@
"method": "build_prompt",
"name": "prompt",
"selected": "Message",
"types": [
"Message"
],
"types": ["Message"],
"value": "__UNDEFINED__"
}
],
Expand Down Expand Up @@ -368,10 +334,7 @@
"fileTypes": [],
"file_path": "",
"info": "",
"input_types": [
"Message",
"Text"
],
"input_types": ["Message", "Text"],
"list": false,
"load_from_db": false,
"multiline": true,
Expand Down Expand Up @@ -407,9 +370,7 @@
"data": {
"id": "ChatOutput-kTyIy",
"node": {
"base_classes": [
"Message"
],
"base_classes": ["Message"],
"beta": false,
"conditional_paths": [],
"custom_fields": {},
Expand All @@ -434,9 +395,7 @@
"method": "message_response",
"name": "message",
"selected": "Message",
"types": [
"Message"
],
"types": ["Message"],
"value": "__UNDEFINED__"
}
],
Expand Down Expand Up @@ -466,9 +425,7 @@
"display_name": "Data Template",
"dynamic": false,
"info": "Template to convert Data to Text. If left empty, it will be dynamically set to the Data's text key.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "data_template",
Expand All @@ -486,9 +443,7 @@
"display_name": "Text",
"dynamic": false,
"info": "Message to be passed as output.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "input_value",
Expand All @@ -507,10 +462,7 @@
"dynamic": false,
"info": "Type of sender.",
"name": "sender",
"options": [
"Machine",
"User"
],
"options": ["Machine", "User"],
"placeholder": "",
"required": false,
"show": true,
Expand All @@ -524,9 +476,7 @@
"display_name": "Sender Name",
"dynamic": false,
"info": "Name of the sender.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "sender_name",
Expand All @@ -544,9 +494,7 @@
"display_name": "Session ID",
"dynamic": false,
"info": "Session ID for the message.",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "session_id",
Expand Down Expand Up @@ -582,10 +530,7 @@
"data": {
"id": "OpenAIModel-vzfsP",
"node": {
"base_classes": [
"LanguageModel",
"Message"
],
"base_classes": ["LanguageModel", "Message"],
"beta": false,
"conditional_paths": [],
"custom_fields": {},
Expand Down Expand Up @@ -618,9 +563,7 @@
"method": "text_response",
"name": "text_output",
"selected": "Message",
"types": [
"Message"
],
"types": ["Message"],
"value": "__UNDEFINED__"
},
{
Expand All @@ -629,9 +572,7 @@
"method": "build_model",
"name": "model_output",
"selected": "LanguageModel",
"types": [
"LanguageModel"
],
"types": ["LanguageModel"],
"value": "__UNDEFINED__"
}
],
Expand Down Expand Up @@ -661,9 +602,7 @@
"display_name": "Input",
"dynamic": false,
"info": "",
"input_types": [
"Message"
],
"input_types": ["Message"],
"list": false,
"load_from_db": false,
"name": "input_value",
Expand Down Expand Up @@ -883,4 +822,4 @@
"is_component": false,
"last_tested_version": "1.0.5",
"name": "Basic Prompting (Hello, World)"
}
}

Large diffs are not rendered by default.

1,095 changes: 1,094 additions & 1 deletion src/backend/base/langflow/initial_setup/starter_projects/Document QA.json

Large diffs are not rendered by default.

1,018 changes: 1,017 additions & 1 deletion src/backend/base/langflow/initial_setup/starter_projects/Memory Chatbot.json

Large diffs are not rendered by default.

2,989 changes: 2,988 additions & 1 deletion src/backend/base/langflow/initial_setup/starter_projects/Vector Store RAG.json

Large diffs are not rendered by default.

0 comments on commit d103059

Please sign in to comment.