Commit graph

2,659 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
84f810f28a Refactor model_to_sql_column_definitions function and add log_vertex_build function 2024-01-30 23:06:02 -03:00
Gabriel Luiz Freitas Almeida
af092b41dc Add monitor API endpoint for getting vertex builds 2024-01-30 23:05:21 -03:00
Gabriel Luiz Freitas Almeida
577ede2386 Refactor code in utils.py 2024-01-30 20:20:11 -03:00
Gabriel Luiz Freitas Almeida
8973022070 Add log_message function to monitor utils.py 2024-01-30 20:17:58 -03:00
Gabriel Luiz Freitas Almeida
3f999091fa Add build_clean_params function to utils.py 2024-01-30 20:17:30 -03:00
Gabriel Luiz Freitas Almeida
0107eecae0 Add get_full_path method to CustomComponent class 2024-01-30 17:17:58 -03:00
Gabriel Luiz Freitas Almeida
42356fc379 Add build_full_path method to LocalStorageService and stub method to StorageService 2024-01-30 17:17:36 -03:00
Gabriel Luiz Freitas Almeida
d59a8836b6 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-30 14:13:17 -03:00
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
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
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
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
e6876e2ab0 Update save_file and get_file methods to handle binary data 2024-01-26 22:50:03 -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
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
Gabriel Luiz Freitas Almeida
a5f91da7d4 Update cookie settings in login.py 2024-01-26 15:17:30 -03:00
Gabriel Luiz Freitas Almeida
e011d1f6dc Refactor import order and remove unnecessary samesite attribute in set_cookie() calls 2024-01-26 14:08:38 -03:00
Gabriel Luiz Freitas Almeida
01fef3733b Add unique constraints and new fixes 2024-01-26 13:37:00 -03:00
Gabriel Luiz Freitas Almeida
537747951a Fix return value for power components in Vertex class 2024-01-26 09:56:36 -03:00
Gabriel Luiz Freitas Almeida
dbf0a2a920 Refactor code and fix minor issues 2024-01-26 09:45:33 -03:00
Gabriel Luiz Freitas Almeida
ea47b44ac7 Refactor model_dump method in ChatVertex 2024-01-26 09:44:40 -03:00
Gabriel Luiz Freitas Almeida
fccf3eeb25 Fix session loading issues in test cases 2024-01-25 19:44:33 -03:00
Gabriel Luiz Freitas Almeida
e8fded882e Add custom component and output parser creators to graph constants 2024-01-25 17:15:12 -03:00
Gabriel Luiz Freitas Almeida
8a3aaa2c98 Refactor Vertex class initialization 2024-01-25 16:15:44 -03:00
Gabriel Luiz Freitas Almeida
4e5181307f Add logger import and update edge type in Graph class 2024-01-25 16:15:34 -03:00
Gabriel Luiz Freitas Almeida
952f8d39e5 Add extra base class and modify field formatting in ChainFrontendNode 2024-01-25 15:14:46 -03:00
Gabriel Luiz Freitas Almeida
dc56daebc8 Delete Flow model and related classes 2024-01-25 13:05:48 -03:00