Commit graph

3,077 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
756a2ea81b Add ShouldRunNext component to langflow routing 2024-02-23 10:09:52 -03:00
Gabriel Luiz Freitas Almeida
3778301762 Refactor graph constants and update vertex types 2024-02-23 10:09:18 -03:00
Gabriel Luiz Freitas Almeida
ca749746ad Refactor vertex type lookup logic in Graph class 2024-02-23 10:08:34 -03:00
Gabriel Luiz Freitas Almeida
50917619f5 Move set cache to the end 2024-02-23 10:03:42 -03:00
Gabriel Luiz Freitas Almeida
afca7dc954 Refactor GoogleSerperAPIWrapperComponent class in GoogleSerperAPIWrapper.py 2024-02-22 23:51:38 -03:00
Gabriel Luiz Freitas Almeida
baf5ffb13c Add inactive_vertices attribute and related methods to Graph class 2024-02-22 23:38:19 -03:00
Gabriel Luiz Freitas Almeida
958dad8c8f Add support for inactive vertices in VertexBuildResponse 2024-02-22 23:37:56 -03:00
Gabriel Luiz Freitas Almeida
96f1cc1e59 Set result to None if condition fails 2024-02-22 23:37:19 -03:00
Gabriel Luiz Freitas Almeida
75ee16acb0 Refactor RoutingVertex to handle missing condition and result values 2024-02-22 23:36:02 -03:00
Gabriel Luiz Freitas Almeida
dcf71b7bdf Add VertexStates enum and set_state method 2024-02-22 23:35:34 -03:00
Gabriel Luiz Freitas Almeida
b26797c0fd Conditionally return inactive_vertices 2024-02-22 23:34:45 -03:00
igorrCarvalho
e662932156 Refactor: Remove persist from Chroma docstring 2024-02-22 22:17:47 -03:00
Gabriel Luiz Freitas Almeida
ac9849013d Add RunnableExecutor component 2024-02-22 18:04:55 -03:00
Gabriel Luiz Freitas Almeida
71de618519 Remove base class limitations 2024-02-22 17:24:59 -03:00
Gabriel Luiz Freitas Almeida
bb732f5264 Fix validation logic for emoji in attributes.py 2024-02-22 17:12:36 -03:00
Gabriel Luiz Freitas Almeida
9cfb03fbc9 Fix styleUtils import and remove unnecessary lines 2024-02-22 17:07:36 -03:00
Gabriel Luiz Freitas Almeida
3a07ad38b0 Add imports and fix duplicate key in dictionary 2024-02-22 17:06:06 -03:00
Gabriel Luiz Freitas Almeida
63c709ee1d Add PythonFunctionComponent to langflow utilities 2024-02-22 16:38:01 -03:00
Gabriel Luiz Freitas Almeida
e104d0381e Fix vertex reset issue when pinned 2024-02-22 16:17:24 -03:00
Gabriel Luiz Freitas Almeida
c72ee729bf Add Code class to field_typing module 2024-02-22 15:44:26 -03:00
Gabriel Luiz Freitas Almeida
0d55e42ceb Remove Prompt class from types.py 2024-02-22 15:20:36 -03:00
Gabriel Luiz Freitas Almeida
7e6c77ee4f Refactor process_type function to handle lowercase field types 2024-02-22 15:20:27 -03:00
Gabriel Luiz Freitas Almeida
c335bf681a Fix import error in ChatVertexAIComponent 2024-02-22 14:57:03 -03:00
Gabriel Luiz Freitas Almeida
203d4f5616 Refactor component menu building logic 2024-02-22 14:56:33 -03:00
Gabriel Luiz Freitas Almeida
1ae08e286d Add support for storing messages using texts 2024-02-22 14:09:14 -03:00
igorrCarvalho
f57af2da52 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-02-22 12:57:37 -03:00
igorrCarvalho
4c3b54f5ef Refactor: Change chat input sender name default value and remove persist from Chroma 2024-02-22 12:57:06 -03:00
Gabriel Luiz Freitas Almeida
ef357198b9 Refactor import statements and update field info in MemoryFrontendNode class 2024-02-22 12:36:49 -03:00
Gabriel Luiz Freitas Almeida
16018c1d6f Add pinned state to CustomComponent and FrontendNode 2024-02-22 11:57:15 -03:00
Gabriel Luiz Freitas Almeida
cb4fe92e9b Add attribute validation functions and mapping 2024-02-22 11:57:03 -03:00
Gabriel Luiz Freitas Almeida
c70a227ee4 Refactor ConversationChainComponent build method 2024-02-22 10:40:46 -03:00
Gabriel Luiz Freitas Almeida
71c5d83647 Fix exception handling in build_vertex function 2024-02-22 10:40:39 -03:00
Gabriel Luiz Freitas Almeida
73b23a2501 Add provider option for API key 2024-02-21 21:38:55 -03:00
Gabriel Luiz Freitas Almeida
0199767938 Refactor add_messages function to handle different types of records 2024-02-21 19:00:12 -03:00
Gabriel Luiz Freitas Almeida
de15017469 Refactor get_table_schema_as_dict function to remove index key 2024-02-21 18:57:51 -03:00
Gabriel Luiz Freitas Almeida
ff70ec0ff2 Add model validation for message in ChatOutputResponse to fix markdown 2024-02-21 18:57:39 -03:00
Gabriel Luiz Freitas Almeida
da6070ec9d Fix data assignment in Graph class 2024-02-21 17:40:26 -03:00
Gabriel Luiz Freitas Almeida
645792ab81 Remove duplicate return statement in MonitorService 2024-02-21 17:40:15 -03:00
Gabriel Luiz Freitas Almeida
aca19ef54f Refactor Vertex class to handle code parsing and string unescaping 2024-02-21 17:39:54 -03:00
Gabriel Luiz Freitas Almeida
0820a46c54 Refactor PromptComponent to extract attributes from kwargs 2024-02-21 16:03:45 -03:00
Gabriel Luiz Freitas Almeida
7fcf3a4cc2 Refactor RecordsAsTextComponent to improve formatting and update status 2024-02-21 16:02:06 -03:00
Gabriel Luiz Freitas Almeida
05f1535668 Refactor edge class and add missing type annotations 2024-02-21 16:01:58 -03:00
Gabriel Luiz Freitas Almeida
ebe3068e2f add PROMPT_INPUT_TYPES 2024-02-21 16:01:43 -03:00
Gabriel Luiz Freitas Almeida
17ab6f4b31 Refactor MessageModel to include a classmethod for creating instances from a Record 2024-02-21 16:01:29 -03:00
Gabriel Luiz Freitas Almeida
09061a41b9 Refactor MonitorService class and add new method for adding messages 2024-02-21 16:01:23 -03:00
Gabriel Luiz Freitas Almeida
8bee638af2 Add Union type for monitor_data parameter in add_row_to_table function 2024-02-21 16:01:12 -03:00
Gabriel Luiz Freitas Almeida
4a15e07526 Add memory module for retrieving and adding messages to the monitor service 2024-02-21 16:01:03 -03:00
Gabriel Luiz Freitas Almeida
2033fd65ef Add StoreMessages component to store messages 2024-02-21 16:00:46 -03:00
Gabriel Luiz Freitas Almeida
65a88cbcbd Refactor MessageHistoryComponent to use get_messages function 2024-02-21 16:00:40 -03:00
Gabriel Luiz Freitas Almeida
e0e35b3245 Add session_id parameter to ChatInput class 2024-02-21 16:00:31 -03:00