ogabrielluiz
8b598ac103
refactor: Fix variable type check in VariableService
2024-06-17 18:49:18 -03:00
ogabrielluiz
238db494f1
refactor: Handle unknown artifact type in post_process_raw function
2024-06-17 18:49:11 -03:00
ogabrielluiz
8602cdd7fe
refactor: Update APIRequestComponent to handle empty curl command in update_build_config
2024-06-17 17:40:30 -03:00
ogabrielluiz
382910c21a
refactor: Handle empty curl command in parse_context function
2024-06-17 17:40:30 -03:00
ogabrielluiz
0b91156b6c
refactor: Update TextInput validation to handle list values
2024-06-17 17:40:30 -03:00
cristhianzl
31568acf4c
updating basic prompting
2024-06-17 17:35:08 -03:00
ogabrielluiz
2cd0316506
refactor: Update get_artifact_type function in artifact.py
2024-06-17 17:12:24 -03:00
ogabrielluiz
33331dced8
refactor: Update artifact handling in Component class
2024-06-17 17:12:19 -03:00
ogabrielluiz
87d6b146b6
refactor: Remove BoolInput and update data_template in ChatOutput
2024-06-17 17:12:12 -03:00
ogabrielluiz
1043ec41cd
refactor: Ignore Pydantic deprecation warnings from Langchain
2024-06-17 16:35:05 -03:00
ogabrielluiz
44abbabb13
📝 (model.py): import Message class from langflow.schema.message to fix the reference error
...
♻️ (utils.py): remove unnecessary whitespace to improve code readability
2024-06-17 16:35:05 -03:00
ogabrielluiz
eabc363d7d
refactor: Rebuild HumanMessages in load_lc_prompt if they are instances of BaseMessage
2024-06-17 16:35:05 -03:00
ogabrielluiz
d6468e4283
refactor: Remove warnings and update build_component function in loading.py
2024-06-17 16:35:04 -03:00
ogabrielluiz
1de0767eaa
refactor: Update StrictBoolean to CoalesceBool in inputs.py and validators.py
2024-06-17 16:35:04 -03:00
ogabrielluiz
77c9eac2a5
refactor: Initialize Component class with empty dictionaries for inputs, results, and arguments
2024-06-17 15:58:13 -03:00
ogabrielluiz
6211908d98
refactor: Update Message class to use jsonable_encoder for prompt serialization
2024-06-17 15:58:13 -03:00
ogabrielluiz
600ab2d3b9
refactor: Update PromptComponent to use Message instead of Prompt for generating prompts
2024-06-17 15:58:13 -03:00
ogabrielluiz
43381b2820
refactor: Update Component class to handle status and artifact value separately
2024-06-17 15:58:13 -03:00
ogabrielluiz
9fa0a0e312
refactor: Remove unused code from initialize/llm.py and initialize/utils.py
2024-06-17 15:04:54 -03:00
ogabrielluiz
4b643a8b67
refactor: Fix selected type assignment in Output class
2024-06-17 15:04:54 -03:00
ogabrielluiz
ba2331ba77
refactor: Add TextInput and MessageInput to InputTypes in inputs.py
2024-06-17 14:58:05 -03:00
ogabrielluiz
10496003ae
refactor: Update CombineText.py imports for langflow field_typing and inputs
2024-06-17 14:55:52 -03:00
ogabrielluiz
6e772f54c6
refactor: Ignore Pydantic deprecation warning when building component
2024-06-17 14:33:48 -03:00
Rodrigo
0e3a2f6ff7
refactor: Update SplitTextComponent icon to "scissors-line-dashed"
2024-06-17 14:31:54 -03:00
Rodrigo
babe7ff1ac
refactor: Rename SplitContentComponent to SplitTextComponent and update related variables and descriptions
2024-06-17 14:30:44 -03:00
ogabrielluiz
f3cb8c81b0
📝 (Chroma.py): Update imports and class inheritance
...
🐛 (Chroma.py): Fix method calls and variable names to align with changes in imports and class structure
🔧 (Chroma.py): Refactor code to handle exceptions and imports more gracefully
2024-06-17 14:25:42 -03:00
ogabrielluiz
7818e55146
📝 (model.py): Refactor LCVectorStoreComponent to use Component class instead of CustomComponent
...
📝 (model.py): Add outputs attribute to LCVectorStoreComponent to define available outputs and their methods
📝 (model.py): Implement _validate_outputs method in LCVectorStoreComponent to ensure required outputs are defined
📝 (model.py): Add build_vector_store and build_base_retriever methods to LCVectorStoreComponent for building Vector Store and Base Retriever objects
📝 (model.py): Update search_with_vector_store method in LCVectorStoreComponent to return data
📝 (model.py): Add NotImplementedError and ValueError handling in build_vector_store and build_base_retriever methods
📝 (component.py): Implement validate method in Component class to validate inputs and outputs
📝 (component.py): Implement _validate_outputs method in Component class to be extended by subclasses for output validation
2024-06-17 14:25:42 -03:00
Rodrigo
6b5d4798ac
refactor: Rename SplitContentComponent to SplitTextComponent and update related variables and descriptions
2024-06-17 14:25:32 -03:00
cristhianzl
ef7e36ee14
remove context with to filter warnings
2024-06-17 14:13:16 -03:00
Rodrigo
472563a2e7
remove unused vector store imports
2024-06-17 13:59:52 -03:00
Rodrigo
7f11cae2b7
Refactor vector store component class names for consistency
2024-06-17 13:35:41 -03:00
ogabrielluiz
71524d8219
refactor: Add MessageInput to langflow inputs
2024-06-17 13:01:35 -03:00
ogabrielluiz
c71c442b82
refactor: Replace StrInput with MessageInput for input_value in model components
2024-06-17 13:01:02 -03:00
ogabrielluiz
8aa97ccd98
refactor: replace StrInput with TextInput
2024-06-17 12:59:58 -03:00
ogabrielluiz
8d3a175375
refactor: Ignore Pydantic deprecation warnings in build_component
2024-06-17 12:36:32 -03:00
ogabrielluiz
17065e4e4a
refactor: Update TikToken Enable parameter in OpenAIEmbeddingsComponent
2024-06-17 12:36:25 -03:00
ogabrielluiz
360b62e661
refactor: Import build_logs in base.py
2024-06-17 12:31:14 -03:00
ogabrielluiz
91474ab6ca
refactor: Raise ImportError with module name in PythonREPLTool
2024-06-17 12:10:52 -03:00
ogabrielluiz
b907825b33
refactor: Remove pprint statement in set_result method of Vertex class
2024-06-17 12:10:52 -03:00
ogabrielluiz
305bdda01f
refactor: Update Component class to use correct variable for artifact_type
2024-06-17 12:10:52 -03:00
Rodrigo
fa7707c148
refactor vector stores
2024-06-17 11:36:32 -03:00
ogabrielluiz
c7a3624f21
Refactor inputs.py to add MessageInput and TextInput classes
2024-06-17 11:33:28 -03:00
ogabrielluiz
3ff0ac3a74
Refactor schema.py to use timezone-aware datetime for timestamp field
2024-06-17 11:33:28 -03:00
ogabrielluiz
89493a4700
Refactor message.py to set flow_id for Message instances
2024-06-17 11:33:28 -03:00
ogabrielluiz
080af42802
Refactor memory.py to ensure messages have a timestamp before adding them to the database
2024-06-17 11:33:28 -03:00
cristhianzl
9ad10b33f2
merging branch local two edges
2024-06-17 11:23:21 -03:00
anovazzi1
f9de8672aa
add text modal view for table render
2024-06-17 11:02:11 -03:00
ogabrielluiz
88754b9cf3
Refactor build_template_from_class function to remove unused code and improve readability
2024-06-17 10:55:50 -03:00
cristhianzl
567712d69a
removing unecessary prop
2024-06-17 10:50:13 -03:00
cristhianzl
63eee10f2e
Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges
2024-06-17 10:48:44 -03:00