Commit graph

7,706 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
0c16cbed04 Refactor instantiate_custom_component function signature
This commit refactors the function signature of the `instantiate_custom_component` function in `loading.py`. The `class_object` parameter is now annotated with the `Type["CustomComponent"]` type hint to improve type safety.
2024-01-30 08:54:41 -03:00
Gabriel Luiz Freitas Almeida
7a3d057a50 Refactor PromptRunner class to use langchain_core.messages.BaseMessage 2024-01-29 23:36:48 -03:00
Gabriel Luiz Freitas Almeida
d3c2d2f893 Refactor ConversationChainComponent to handle inputs and return result as string if applicable 2024-01-29 23:36:26 -03:00
Gabriel Luiz Freitas Almeida
5eb2e7f979 Update LLMChainComponent signature 2024-01-29 23:24:45 -03:00
Gabriel Luiz Freitas Almeida
f232efe179 Convert save_file, get_file, list_files, delete_file, and teardown methods to async functions in S3StorageService 2024-01-29 22:49:43 -03:00
Gabriel Luiz Freitas Almeida
f29257c613 Update storage service methods to be asynchronous 2024-01-29 22:49:16 -03:00
Gabriel Luiz Freitas Almeida
6362cd2891 Refactor file upload and download functions 2024-01-29 22:48:55 -03:00
Gabriel Luiz Freitas Almeida
16dcbddb0d Refactor S3StorageService class to include logging 2024-01-29 22:48:26 -03:00
Gabriel Luiz Freitas Almeida
35087cd2b4 Add async file operations to LocalStorageService 2024-01-29 22:48:03 -03:00
anovazzi1
7d7a980e7c Fix selection validation and error message 2024-01-29 16:33:29 -03:00
anovazzi1
7912f846a6 Add flow update to database 2024-01-29 16:06:32 -03:00
anovazzi1
2fb72b1d1e added local storage of flow state to fake chat memory for refresh page 2024-01-29 14:46:38 -03:00
Gabriel Luiz Freitas Almeida
37d48faf16 Refactor file download functions 2024-01-29 14:42:51 -03:00
Gabriel Luiz Freitas Almeida
6c30eb539b Change route decorator to use GET method for downloading images 2024-01-29 14:27:02 -03:00
Gabriel Luiz Freitas Almeida
d692ccd3ab Add image download endpoint 2024-01-29 14:22:18 -03:00
Gabriel Luiz Freitas Almeida
4f6d5fe5d8 Update download_file function to include headers for file download 2024-01-29 10:18:52 -03:00
Gabriel Luiz Freitas Almeida
9968a6b134 Add file upload, download, list, and delete operations 2024-01-28 12:01:08 -03:00
Gabriel Luiz Freitas Almeida
12938f4d32 Add flow_id dependency to file upload, download, list, and delete endpoints 2024-01-28 12:00:44 -03:00
Gabriel Luiz Freitas Almeida
682d8724be Update file upload URL in API controller 2024-01-27 23:36:14 -03:00
Gabriel Luiz Freitas Almeida
9d808cc55d Add UploadFileResponse to file upload API 2024-01-27 23:35:30 -03:00
Gabriel Luiz Freitas Almeida
3f1316b595 Refactor storage service factory and service 2024-01-27 23:27:19 -03:00
Gabriel Luiz Freitas Almeida
b28da3f71a Refactor file upload and download functions 2024-01-27 23:26:49 -03:00
Gabriel Luiz Freitas Almeida
8f7beb10b2 Refactor storage service constructors 2024-01-27 23:16:26 -03:00
Gabriel Luiz Freitas Almeida
bcd0151e7b Add mime type validation for file download 2024-01-27 00:11:00 -03:00
Gabriel Luiz Freitas Almeida
6fd4ac1bb9 Refactor file deletion test in test_files.py 2024-01-26 23:03:55 -03:00
Gabriel Luiz Freitas Almeida
11c9a84cbe Refactor file operations tests 2024-01-26 22:50:52 -03:00
Gabriel Luiz Freitas Almeida
e6876e2ab0 Update save_file and get_file methods to handle binary data 2024-01-26 22:50:03 -03:00
Gabriel Luiz Freitas Almeida
2e6ea1808d Add unit tests for file upload, download, list, and delete operations 2024-01-26 22:41:21 -03:00
Gabriel Luiz Freitas Almeida
ab1c3f0b85 Add constants and utility function for file storage 2024-01-26 22:40:58 -03:00
Gabriel Luiz Freitas Almeida
4b08504ff7 Add files router to API v1 2024-01-26 22:39:56 -03:00
Gabriel Luiz Freitas Almeida
2ee9e5bb97 Add file upload, download, list, and delete endpoints 2024-01-26 19:02:47 -03:00
Gabriel Luiz Freitas Almeida
7b347d89c0 Add storage service to dependencies 2024-01-26 19:02:22 -03:00
Gabriel Luiz Freitas Almeida
ce31a13010 Add STORAGE_TYPE configuration 2024-01-26 19:01:48 -03:00
Gabriel Luiz Freitas Almeida
e9fc9f631b Add storage service and factory classes 2024-01-26 19:01:17 -03:00
Gabriel Luiz Freitas Almeida
1a4362fe50 Refactor create_upload_file function signature 2024-01-26 19:00:50 -03:00
Gabriel Luiz Freitas Almeida
aa30bc97d7 Remove unused imports and variables in ChatVertex class 2024-01-26 17:19:49 -03:00
Gabriel Luiz Freitas Almeida
174cd37a2b Refactor chatInput component to use Popover for repetitions input 2024-01-26 17:08:44 -03:00
Gabriel Luiz Freitas Almeida
7eac47f4c8 Add support for message conversion in ChatOutputResponse class 2024-01-26 17:08:10 -03:00
Gabriel Luiz Freitas Almeida
5277798cca Refactor Vertex class to make _run method asynchronous 2024-01-26 17:07:07 -03:00
Gabriel Luiz Freitas Almeida
20d9e51208 Change honor method to be asynchronous in ContractEdge 2024-01-26 17:06:16 -03:00
anovazzi1
b9b3ef88fe Refactor buildVertices function 2024-01-26 16:07:30 -03:00
Lucas Oliveira
e606762e7f UI design of button and repeat function 2024-01-26 19:51:41 +01:00
anovazzi1
69b1c3714b Update IOInputField and IOFileInput components 2024-01-26 15:46:09 -03:00
anovazzi1
07cbd593eb Add IOFileInput component to IOInputField 2024-01-26 15:31:21 -03:00
anovazzi1
870204eb40 Refactor IOInputField and IOView components 2024-01-26 15:12:02 -03:00
cristhianzl
6c36fcec18 fix(newChatView): remove unnecessary dependencies in useEffect hooks to improve performance and prevent unnecessary re-renders 2024-01-26 15:06:01 -03:00
anovazzi1
ff112cfd34 Add file input component to IOInputField and update IOView to use new input structure 2024-01-26 14:52:00 -03:00
anovazzi1
fbcd2ea4a4 Refactor IOInputField component to handle different input types 2024-01-26 14:32:48 -03:00
anovazzi1
4af5aa56c2 chore(IOInputField): rename onChange prop to updateValue for better semantics
chore(IOInputField): remove styleClasses and placeholder props as they are not used
chore(IOView): remove TODO comment for extending and improving view mode and adding other types of views
chore(IOView): remove unused onChange prop from IOInputProps type
2024-01-26 14:23:39 -03:00
igorrCarvalho
fc1614c7c1 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-26 10:56:04 -03:00