Commit graph

2,815 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
8da39fbf39 Add SocketIOFactory and SocketIOService classes 2024-01-31 23:47:07 -03:00
Gabriel Luiz Freitas Almeida
be494a6624 Refactor chat.py and schemas.py 2024-01-31 18:18:32 -03:00
Gabriel Luiz Freitas Almeida
c08b277f15 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-31 17:54:51 -03:00
Gabriel Luiz Freitas Almeida
339029cd5b Update import statement for retrievers module 2024-01-31 17:33:32 -03:00
Gabriel Luiz Freitas Almeida
29bcf3e43f Add duration tracking to build_vertex function 2024-01-31 17:22:04 -03:00
Gabriel Luiz Freitas Almeida
d9abe93c42 Refactor format_elapsed_time function to improve readability and add comments 2024-01-31 17:21:44 -03:00
Gabriel Luiz Freitas Almeida
57c09c3409 Add unique constraints and foreign key for user_id in flow table 2024-01-31 17:09:16 -03:00
Gabriel Luiz Freitas Almeida
2076f32704 Merge branch 'dev' into update_lc 2024-01-31 15:57:16 -03:00
Gabriel Luiz Freitas Almeida
cbf80c9fcd Delete document loader components 2024-01-31 15:50:24 -03:00
Gabriel Luiz Freitas Almeida
c54c7246b6 Update document loader imports 2024-01-31 15:50:04 -03:00
Gabriel Luiz Freitas Almeida
3a7e46b776 Refactor SQL query in MonitorService to use 'id' instead of 'vertex_id' 2024-01-31 15:40:13 -03:00
Gabriel Luiz Freitas Almeida
ba8b608784 Refactor get_vertex_builds API response model 2024-01-31 15:40:13 -03:00
Gabriel Luiz Freitas Almeida
d1bd00cbf9 Exclude index field in VertexBuildModel and add VertexBuildMapModel 2024-01-31 15:40:13 -03:00
Gabriel Luiz Freitas Almeida
559a7e5015 Refactor delete_vertex_builds function in monitor.py 2024-01-31 15:22:44 -03:00
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