Commit graph

12,267 commits

Author SHA1 Message Date
anovazzi1
64eb2e0f99 refactor: Improve InputGlobalComponent behavior and data handling 2024-06-21 12:26:57 -03:00
Gabriel Luiz Freitas Almeida
111def3d4a refactor: Update ComponentVertex to handle Message artifacts and extract messages from artifacts 2024-06-21 11:18:39 -03:00
Gabriel Luiz Freitas Almeida
984dc5fb67 refactor: Update build_vertex_stream function to use cache for retrieving graph and session data 2024-06-21 11:18:28 -03:00
Gabriel Luiz Freitas Almeida
b35d17b800 refactor: Remove unnecessary output method from LCVectorStoreComponent 2024-06-21 11:18:01 -03:00
Gabriel Luiz Freitas Almeida
5a288e9c51 refactor: Import langflow.custom.Component and CustomComponent in loading.py 2024-06-21 09:35:40 -03:00
Cezar Vasconcelos
33129c7466 refactor: adjust ToolCallingAgent to use new IO and ChatHistory, added helper functions 2024-06-21 01:54:04 +00:00
Gabriel Luiz Freitas Almeida
806cbf3842 refactor: Update BaiduQianfanChatModel.py to use BaseLLM type hinting for return value 2024-06-20 22:15:00 -03:00
Gabriel Luiz Freitas Almeida
85a7ae8993 fix formatting issue 2024-06-20 22:03:54 -03:00
Gabriel Luiz Freitas Almeida
95beb9fdc2 refactor: Update BaiduQianfanChatModel.py to use BaseLLM type hinting for return value 2024-06-20 22:03:27 -03:00
Gabriel Luiz Freitas Almeida
9145640ed1 refactor: Update DropdownInput options to use list[str] type hinting 2024-06-20 22:03:27 -03:00
Gabriel Luiz Freitas Almeida
924df4bdad refactor: Update RedisVectorStoreComponent to use VectorStore type hinting in return value 2024-06-20 22:03:27 -03:00
Gabriel Luiz Freitas Almeida
ce031fcc35 refactor: Add description to 'name' field in Output class 2024-06-20 22:03:26 -03:00
italojohnny
080dc7b327 fix assignment error reported by mypy 2024-06-20 22:02:48 -03:00
Gabriel Luiz Freitas Almeida
069c27bda0 refactor: Update RedisVectorStoreComponent to use Retriever type hinting in return value 2024-06-20 21:58:12 -03:00
Gabriel Luiz Freitas Almeida
1391d5ef09 refactor: Update BaiduQianfanChatModel.py to use type hinting for return value 2024-06-20 21:58:12 -03:00
Gabriel Luiz Freitas Almeida
7eeb6ea78a refactor: Update instantiate_class function to support CustomComponent and Component inheritance 2024-06-20 21:58:12 -03:00
Gabriel Luiz Freitas Almeida
fe032f3830 refactor: Update error message in FrontendNode class to include overlapping output and input names 2024-06-20 21:58:12 -03:00
italojohnny
228d4e8574 fix union-attr error reported by mypy 2024-06-20 21:57:25 -03:00
Gabriel Luiz Freitas Almeida
d2eb36bef2 refactor: Update RedisVectorStoreComponent to use Retriever type hinting in return value 2024-06-20 21:52:20 -03:00
Gabriel Luiz Freitas Almeida
5561b4ec52 refactor: Update stop method in CustomComponent to allow for optional output_name parameter 2024-06-20 21:51:45 -03:00
Gabriel Luiz Freitas Almeida
4c1599f531 refactor: Update RecursiveCharacterTextSplitterComponent separators assignment 2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
fe5d430006 refactor: Update Input class to remove field_type validation and post-processing 2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
5e6857ec8b refactor: Update RedisCache instantiation to use type hinting for variable declaration 2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
2517dda72a refactor: Update instantiate_class function to support CustomComponent and Component inheritance 2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
7df49db6dd refactor: Update TextInput class to include additional value types 2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
e96e6f9a16 refactor: Update edges_source_names property return type to set[str] 2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
5852204d08 refactor: Update SourceHandle class to use default_factory for output_types 2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
cd4bb71997 refactor: Update Component class to use empty lists for inputs and outputs 2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
6d820df454 refactor: Remove build_base_retriever method from VectaraVectorStoreComponent 2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
1163515e7a refactor: Remove unused code and update HuggingFaceInferenceAPIEmbeddingsComponent 2024-06-20 21:50:43 -03:00
italojohnny
64e0968159 fix return-value error reported by mypy 2024-06-20 21:47:34 -03:00
italojohnny
dc6e30d598 fix return error reported by mypy 2024-06-20 21:38:35 -03:00
ogabrielluiz
d092211375 Apply Prettier formatting 2024-06-21 00:28:53 +00:00
Gabriel Luiz Freitas Almeida
6b30238f61 refactor: Remove extraneous property from is-unicode-supported dependency 2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
2e1bc10661 refactor: Update WebhookComponent to use MultilineInput for data field 2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
0358166b91 refactor: Update APIRequestComponent to use DataInput for headers and body fields 2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
eeb3077b6f refactor: Improve endpoint uniqueness check in create_flow function 2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
29759f2c3e refactor: Rename test_record.py to test_data_class.py and update imports and references accordingly 2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
bcfe399df1 refactor: Update create_or_update_starter_projects to use await keyword for consistency 2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
4e705b8af1 refactor: Update parameterComponent to disable editing when disabled prop is true 2024-06-20 21:27:37 -03:00
italojohnny
628e78959d fix union-attr error reported by mypy 2024-06-20 21:06:54 -03:00
Gabriel Luiz Freitas Almeida
b7154f470a fix path to data folder 2024-06-20 19:08:40 -03:00
Gabriel Luiz Freitas Almeida
86dfeb7eff refactor: Update langflow schema field module to use consistent type hinting for better clarity and consistency 2024-06-20 19:05:34 -03:00
Gabriel Luiz Freitas Almeida
f0386ea6ec refactor: Update logs variable type annotation in build_logs method for better clarity and consistency 2024-06-20 19:05:27 -03:00
Gabriel Luiz Freitas Almeida
d0bf57fc91 refactor: Update langflow schema message module to use ChatPromptTemplate for generating prompt template 2024-06-20 19:05:21 -03:00
Gabriel Luiz Freitas Almeida
df3c275db8 refactor: Update langflow schema data module to use BaseMessage instead of HumanMessage or SystemMessage 2024-06-20 19:05:16 -03:00
Gabriel Luiz Freitas Almeida
6e524c4bf9 refactor: Update SourceHandle baseClasses field to use default_factory for better consistency 2024-06-20 19:01:47 -03:00
Gabriel Luiz Freitas Almeida
86ec6722cd refactor: Update FrontendNode validate_attributes method to check for overlap between input and output names 2024-06-20 19:01:40 -03:00
Gabriel Luiz Freitas Almeida
93ea76150f refactor: Fix type hint for _logs attribute in CustomComponent class 2024-06-20 18:59:20 -03:00
Gabriel Luiz Freitas Almeida
b99ff9f88e refactor: Add input validation for None values in Component class 2024-06-20 18:59:14 -03:00