Gabriel Luiz Freitas Almeida
c590098dad
Add error handling for API endpoints
2024-01-31 15:20:36 -03:00
Gabriel Luiz Freitas Almeida
92ba9562b3
Refactor MonitorService class and add delete_vertex_builds method
2024-01-31 15:20:10 -03:00
Gabriel Luiz Freitas Almeida
8064f88cc6
Add order_by parameter to get_vertex_builds, get_messages, and get_transactions
2024-01-31 14:58:58 -03:00
Gabriel Luiz Freitas Almeida
cb74e02032
Refactor MonitorService queries and add order_by parameter
2024-01-31 14:58:36 -03:00
Gabriel Luiz Freitas Almeida
221e68dc9b
Fix import order in utils.py
2024-01-31 14:56:57 -03:00
Gabriel Luiz Freitas Almeida
47ce676ce2
Add timestamp field to VertexBuildModel
2024-01-31 14:55:53 -03:00
Gabriel Luiz Freitas Almeida
b9f15ad473
Add monitor router to API
2024-01-30 23:08:19 -03:00
Gabriel Luiz Freitas Almeida
ba86bd0b2a
Add monitor router and log vertex build
2024-01-30 23:07:55 -03:00
Gabriel Luiz Freitas Almeida
bdc4a02b8a
Update VertexBuildResponse in schemas.py
2024-01-30 23:07:31 -03:00
Gabriel Luiz Freitas Almeida
71fdb54170
Add monitor service factory
2024-01-30 23:07:01 -03:00
Gabriel Luiz Freitas Almeida
21dfd013bf
Refactor MonitorService and add VertexBuildModel
2024-01-30 23:06:31 -03:00
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
866e820ecb
Import Document from langchain_core instead of langchain
2024-01-30 16:16:17 -03:00
Gabriel Luiz Freitas Almeida
43e3baaa84
Update import statements for langchain_community packages
2024-01-30 14:46:28 -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
4b697fc0df
Remove vectorstore_creator import and test_vectorstore_template.py
2024-01-30 14:03:33 -03:00
Gabriel Luiz Freitas Almeida
09354748cd
Update Pinecone.py to remove default value for "embedding" configuration
2024-01-30 09:16:38 -03:00
Gabriel Luiz Freitas Almeida
05588767e8
Refactor PineconeComponent in Pinecone.py
2024-01-30 09:16:04 -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