Commit graph

859 commits

Author SHA1 Message Date
ogabrielluiz
f49ebe5f9b refactor: Update OpenAIModelComponent to support JSON mode with schema 2024-06-18 00:14:31 -03:00
Rodrigo
0fb0520a2c refactor: langchain imports auto-update 2024-06-17 23:42:10 -03:00
Rodrigo
f3042bddda refactor: Update CombineTextComponent to return Message object in combine_texts method 2024-06-17 23:09:23 -03:00
Rodrigo
81034f8ded improve inputs and outputs 2024-06-17 22:54:25 -03:00
Rodrigo
168a0db5ab refactor: Update URLComponent to include text_key in Data objects 2024-06-17 22:04:04 -03:00
ogabrielluiz
1a4491574e refactor: Update MessageInput in multiple components to remove unnecessary input_types 2024-06-17 21:42:27 -03:00
italojohnny
2e853ac260 add emoji to LiteLLM icon 2024-06-17 21:20:26 -03:00
ogabrielluiz
0198342767 refactor: Update URLComponent to include text_key in Data objects 2024-06-17 20:20:33 -03:00
ogabrielluiz
c343660ff5 Change Prompt to Message 2024-06-17 20:19:02 -03:00
ogabrielluiz
22c5d34038 📝 (base.py): add field_validator decorator to validate name field based on dataType in SourceHandle class 2024-06-17 20:18:36 -03:00
ogabrielluiz
84e1d39b71 refactor: Update PromptComponent to return Message instead of Prompt 2024-06-17 20:18:36 -03:00
Rodrigo
791c55c2db refactor: Update URLComponent to use 'text' key in Data objects 2024-06-17 20:13:47 -03:00
ogabrielluiz
503437c73a refactor: Update CustomComponent to use data_objects instead of data list 2024-06-17 19:54:58 -03:00
ogabrielluiz
cff8dfb897 refactor: Update OpenAIEmbeddingsComponent to handle None value for request_timeout 2024-06-17 19:54:58 -03:00
ogabrielluiz
65e888b7a8 refactor: Update URLComponent to include text_key in Data objects 2024-06-17 19:35:26 -03:00
ogabrielluiz
fa68a8fee6 refactor: Update Vertex class to store artifacts in a dictionary 2024-06-17 19:35:18 -03:00
igorrCarvalho
f7165283f9 Feat: add Upstash icon 2024-06-17 19:19:53 -03:00
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