From c3a45b856b77e964a6ce99e5a7885ad84d073a1c Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Tue, 18 Jun 2024 18:47:04 -0300 Subject: [PATCH] move data folder back --- .../starter_projects/VectorStore-RAG-Flows.json | 9 ++++++--- tests/{unit => }/data/BasicChatwithPromptandHistory.json | 0 tests/{unit => }/data/ChatInputTest.json | 0 tests/{unit => }/data/Openapi.json | 0 tests/{unit => }/data/TwoOutputsTest.json | 0 tests/{unit => }/data/Vector_store.json | 0 tests/{unit => }/data/WebhookTest.json | 0 tests/{unit => }/data/basic_example.json | 0 tests/{unit => }/data/complex_example.json | 0 tests/{unit => }/data/component.py | 0 tests/{unit => }/data/component_multiple_outputs.py | 0 tests/{unit => }/data/component_nested_call.py | 0 tests/{unit => }/data/component_with_templatefield.py | 0 tests/{unit => }/data/grouped_chat.json | 0 tests/{unit => }/data/one_group_chat.json | 0 tests/{unit => }/data/vector_store_grouped.json | 0 16 files changed, 6 insertions(+), 3 deletions(-) rename tests/{unit => }/data/BasicChatwithPromptandHistory.json (100%) rename tests/{unit => }/data/ChatInputTest.json (100%) rename tests/{unit => }/data/Openapi.json (100%) rename tests/{unit => }/data/TwoOutputsTest.json (100%) rename tests/{unit => }/data/Vector_store.json (100%) rename tests/{unit => }/data/WebhookTest.json (100%) rename tests/{unit => }/data/basic_example.json (100%) rename tests/{unit => }/data/complex_example.json (100%) rename tests/{unit => }/data/component.py (100%) rename tests/{unit => }/data/component_multiple_outputs.py (100%) rename tests/{unit => }/data/component_nested_call.py (100%) rename tests/{unit => }/data/component_with_templatefield.py (100%) rename tests/{unit => }/data/grouped_chat.json (100%) rename tests/{unit => }/data/one_group_chat.json (100%) rename tests/{unit => }/data/vector_store_grouped.json (100%) diff --git a/src/backend/base/langflow/initial_setup/starter_projects/VectorStore-RAG-Flows.json b/src/backend/base/langflow/initial_setup/starter_projects/VectorStore-RAG-Flows.json index d014aaec4..17816e10d 100644 --- a/src/backend/base/langflow/initial_setup/starter_projects/VectorStore-RAG-Flows.json +++ b/src/backend/base/langflow/initial_setup/starter_projects/VectorStore-RAG-Flows.json @@ -272,7 +272,7 @@ "sourceHandle": { "dataType": "AstraDBSearch", "id": "AstraDBSearch-41nRz", - "name": "search_results", + "name": "base_retriever", "output_types": [] }, "targetHandle": { @@ -287,7 +287,7 @@ }, "id": "reactflow__edge-AstraDBSearch-41nRz{œbaseClassesœ:[œRecordœ],œdataTypeœ:œAstraDBSearchœ,œidœ:œAstraDBSearch-41nRzœ}-TextOutput-BDknO{œfieldNameœ:œinput_valueœ,œidœ:œTextOutput-BDknOœ,œinputTypesœ:[œRecordœ,œTextœ],œtypeœ:œstrœ}", "source": "AstraDBSearch-41nRz", - "sourceHandle": "{œdataTypeœ: œAstraDBSearchœ, œidœ: œAstraDBSearch-41nRzœ, œoutput_typesœ: [], œnameœ: œsearch_resultsœ}", + "sourceHandle": "{œdataTypeœ: œAstraDBSearchœ, œidœ: œAstraDBSearch-41nRzœ, œoutput_typesœ: [], œnameœ: œbase_retrieverœ}", "style": { "stroke": "#555" }, @@ -1952,7 +1952,10 @@ "display_name": "Search Results", "method": "search_documents", "name": "search_results", - "types": [], + "selected": "Data", + "types": [ + "Data" + ], "value": "__UNDEFINED__" } ], diff --git a/tests/unit/data/BasicChatwithPromptandHistory.json b/tests/data/BasicChatwithPromptandHistory.json similarity index 100% rename from tests/unit/data/BasicChatwithPromptandHistory.json rename to tests/data/BasicChatwithPromptandHistory.json diff --git a/tests/unit/data/ChatInputTest.json b/tests/data/ChatInputTest.json similarity index 100% rename from tests/unit/data/ChatInputTest.json rename to tests/data/ChatInputTest.json diff --git a/tests/unit/data/Openapi.json b/tests/data/Openapi.json similarity index 100% rename from tests/unit/data/Openapi.json rename to tests/data/Openapi.json diff --git a/tests/unit/data/TwoOutputsTest.json b/tests/data/TwoOutputsTest.json similarity index 100% rename from tests/unit/data/TwoOutputsTest.json rename to tests/data/TwoOutputsTest.json diff --git a/tests/unit/data/Vector_store.json b/tests/data/Vector_store.json similarity index 100% rename from tests/unit/data/Vector_store.json rename to tests/data/Vector_store.json diff --git a/tests/unit/data/WebhookTest.json b/tests/data/WebhookTest.json similarity index 100% rename from tests/unit/data/WebhookTest.json rename to tests/data/WebhookTest.json diff --git a/tests/unit/data/basic_example.json b/tests/data/basic_example.json similarity index 100% rename from tests/unit/data/basic_example.json rename to tests/data/basic_example.json diff --git a/tests/unit/data/complex_example.json b/tests/data/complex_example.json similarity index 100% rename from tests/unit/data/complex_example.json rename to tests/data/complex_example.json diff --git a/tests/unit/data/component.py b/tests/data/component.py similarity index 100% rename from tests/unit/data/component.py rename to tests/data/component.py diff --git a/tests/unit/data/component_multiple_outputs.py b/tests/data/component_multiple_outputs.py similarity index 100% rename from tests/unit/data/component_multiple_outputs.py rename to tests/data/component_multiple_outputs.py diff --git a/tests/unit/data/component_nested_call.py b/tests/data/component_nested_call.py similarity index 100% rename from tests/unit/data/component_nested_call.py rename to tests/data/component_nested_call.py diff --git a/tests/unit/data/component_with_templatefield.py b/tests/data/component_with_templatefield.py similarity index 100% rename from tests/unit/data/component_with_templatefield.py rename to tests/data/component_with_templatefield.py diff --git a/tests/unit/data/grouped_chat.json b/tests/data/grouped_chat.json similarity index 100% rename from tests/unit/data/grouped_chat.json rename to tests/data/grouped_chat.json diff --git a/tests/unit/data/one_group_chat.json b/tests/data/one_group_chat.json similarity index 100% rename from tests/unit/data/one_group_chat.json rename to tests/data/one_group_chat.json diff --git a/tests/unit/data/vector_store_grouped.json b/tests/data/vector_store_grouped.json similarity index 100% rename from tests/unit/data/vector_store_grouped.json rename to tests/data/vector_store_grouped.json