Commit graph

8,363 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
85a67488cc Remove google-cloud-aiplatform dependency 2024-02-22 14:59:56 -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
Cristhian Zanforlin Lousa
e2a79a57e1
Bugfix: saving all the time, scroll on chat IO / Feat: Changing building status on navigation bar (#1460)
* 🐛 fix(menuBar/index.tsx): add isBuilding state to handle display of build status
 feat(menuBar/index.tsx): add printByBuildStatus function to display appropriate build status based on isBuilding and saveLoading states
🐛 fix(api.tsx): set isBuilding state to false when encountering a 500 error response
🐛 fix(buildUtils.ts): set isBuilding state to true before building vertices and set it to false after build completion

* 🐛 fix(chatMessage): scroll to last chat message when rendering a new message to improve user experience
🔥 refactor(chatMessage): remove unused state and variables to improve code readability and maintainability
🔥 refactor(flowsManagerStore): remove redundant code and improve code readability

* Add logger and session imports, and update build_vertex function

* Fix conditional rendering bug in IOView component

* Remove unused imports from chat.py

* add last message to end

* 🔧 fix(chatMessage): add useEffect hook to scroll to last chat message after rendering
🔧 fix(chatMessage): add dependency array to useEffect hook to prevent unnecessary re-renders

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-02-22 14:44:35 -03:00
Gabriel Luiz Freitas Almeida
4c498a98aa Add Unique ID Generator component 2024-02-22 14:37:48 -03:00
Gabriel Luiz Freitas Almeida
468dec34f5 Update component parameter names and add missing descriptions 2024-02-22 14:37:43 -03:00
Gabriel Luiz Freitas Almeida
1ae08e286d Add support for storing messages using texts 2024-02-22 14:09:14 -03:00
Gabriel Luiz Freitas Almeida
6b286b02e5 Add I/O components documentation 2024-02-22 14:09:03 -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
4d07537031 Fix conditional rendering in IOView component 2024-02-22 11:56:02 -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
Lucas Oliveira
138aa1c5fe Removed prompt template from outputs 2024-02-22 13:08:52 +01:00
Lucas Oliveira
b0a2d625af Made chat button 2024-02-22 13:08:28 +01:00
Lucas Oliveira
cce060968f Fixed input and output view 2024-02-22 13:03:11 +01:00
Lucas Oliveira
a94b5b9657 Fixed chat button 2024-02-22 12:57:07 +01:00
Lucas Oliveira
1e3cdd3f32 Made categories 2024-02-22 12:53:15 +01: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
Lucas Oliveira
0ae6596dbd Fixed bug at frontend 2024-02-21 21:50:53 +01:00
Lucas Oliveira
4feec62cb5 fixed constants made just for testing 2024-02-21 21:45:57 +01: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
Lucas Oliveira
33a82cad06 Changed open input link 2024-02-21 21:13:44 +01:00
Lucas Oliveira
f39cd72cc8 Changed icon to play 2024-02-21 21:12:28 +01:00
Lucas Oliveira
5b5813932d Removed repetition 2024-02-21 21:11:56 +01:00
Lucas Oliveira
5b000e6078 Changed view to not show chat 2024-02-21 21:10:00 +01:00
anovazzi1
c319e18e15 Refactor Page component 2024-02-21 16:57:40 -03:00
anovazzi1
9ffea8f988 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-21 16:55:55 -03:00
anovazzi1
00ca2023a1 Update chat trigger icon and add Sliders icon 2024-02-21 16:55:50 -03:00
Lucas Oliveira
f446ce5a0b Changed tabs layout to existing tabs 2024-02-21 20:49:22 +01:00
anovazzi1
4e8de33f75 Add stopBuild functionality to buildVertices function 2024-02-21 16:43:28 -03:00
anovazzi1
f58c2d4964 Refactor flowStore.ts: Comment out unused code and remove unnecessary variables 2024-02-21 16:28:30 -03:00
anovazzi1
6b1ab43de6 Update pin tooltip text 2024-02-21 16:07:52 -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