Commit graph

12,261 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
383229db73 refactor: Update WebhookComponent to use type hinting for message variable 2024-06-20 18:59:07 -03:00
Gabriel Luiz Freitas Almeida
77e1122782 🐛 (component.py): fix type hint for map_inputs method parameter to match the imported InputTypes class for better clarity and consistency 2024-06-20 18:56:49 -03:00
Gabriel Luiz Freitas Almeida
d62362e006 refactor: Update frontend_node validate method name for better clarity and consistency 2024-06-20 18:56:33 -03:00
Gabriel Luiz Freitas Almeida
d4e5b45237 ♻️ (component.py): refactor import statement to improve readability and maintainability
♻️ (component.py): refactor method variable type annotation for better clarity and consistency
2024-06-20 18:56:18 -03:00
Gabriel Luiz Freitas Almeida
3422cbd8e1 refactor: Update Vertex class to use type hinting for required_inputs and optional_inputs 2024-06-20 18:52:21 -03:00
Gabriel Luiz Freitas Almeida
7f6aebb490 refactor: Add output_name parameter to stop method in CustomComponent 2024-06-20 18:52:15 -03:00