Commit graph

126 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
81069dce39 Update setup.py to include latest component versions 2024-04-01 12:19:08 -03:00
Gabriel Luiz Freitas Almeida
7415def0a9 Add constants for Langflow base module 2024-04-01 12:18:55 -03:00
Gabriel Luiz Freitas Almeida
4b052776ed update starter projects 2024-04-01 12:02:36 -03:00
Gabriel Luiz Freitas Almeida
dd6ece6700 Add field_typing import to OpenAIModel.py 2024-04-01 11:51:40 -03:00
Gabriel Luiz Freitas Almeida
00ea6d73fe Add session_id to simplified_run_flow_with_caching endpoint 2024-04-01 11:19:19 -03:00
Gabriel Luiz Freitas Almeida
1f28774be3 Add STREAM_INFO_TEXT constant to model components 2024-04-01 11:19:11 -03:00
Gabriel Luiz Freitas Almeida
fcece1b29b Add new schema for simplified API request 2024-04-01 10:38:01 -03:00
Gabriel Luiz Freitas Almeida
c63f603b57 Update input type in Graph class 2024-04-01 10:37:51 -03:00
Gabriel Luiz Freitas Almeida
0aa9894435 Add InputType and OutputType literals to schema.py 2024-04-01 10:37:41 -03:00
Gabriel Luiz Freitas Almeida
0966a30043 Refactor load_session method to handle coroutine result 2024-04-01 09:17:20 -03:00
Gabriel Luiz Freitas Almeida
ac38b1d3b5 Add asyncio loop to uvicorn command 2024-04-01 09:17:01 -03:00
Gabriel Luiz Freitas Almeida
be9a8c20fc Add nest_asyncio to fix event loop issue 2024-04-01 00:13:38 -03:00
Gabriel Luiz Freitas Almeida
a8779b1205 Add PythonFunctionComponent and test case for it 2024-04-01 00:13:33 -03:00
Gabriel Luiz Freitas Almeida
f43c558f7a Refactor run_flow_with_caching endpoint to include simplified and experimental versions 2024-03-31 23:12:24 -03:00
Gabriel Luiz Freitas Almeida
888a6904d5 Update input type options in schemas and graph base classes 2024-03-31 23:12:18 -03:00
Gabriel Luiz Freitas Almeida
6af34864ad Update RangeSpec step_type default value to "float" 2024-03-31 22:06:31 -03:00
Gabriel Luiz Freitas Almeida
666248ee40 Fix range_spec step type validation 2024-03-31 22:05:00 -03:00
Gabriel Luiz Freitas Almeida
ff3bf645fd Update BaiduQianfanChatModel and OpenAIModel configurations 2024-03-31 21:48:33 -03:00
Gabriel Luiz Freitas Almeida
45b9141adb Refactor AzureOpenAIModel.py: Removed unnecessary "required" attribute from input parameters 2024-03-31 21:42:16 -03:00
Gabriel Luiz Freitas Almeida
bd96a863a7 Update OpenAI API Key handling in OpenAIEmbeddingsComponent 2024-03-31 21:30:49 -03:00
Gabriel Luiz Freitas Almeida
32b92c5e1c make Message field have no handles 2024-03-31 21:29:39 -03:00
Rodrigo Nader
e0a0220917 Update model kwargs and temperature values 2024-03-31 18:17:29 -03:00
Rodrigo Nader
3540302c3a Update OpenAI API Key field in OpenAIEmbeddingsComponent 2024-03-31 18:03:35 -03:00
Gabriel Luiz Freitas Almeida
9cfbe0f216 Fix rangeSpec bug and handle response error in ParameterComponent 2024-03-31 10:38:35 -03:00
Rodrigo Nader
c71c8f4fee Refactor APIRequest class to use Record type for headers and body 2024-03-31 00:47:56 -03:00
Rodrigo Nader
a247a07c17 Add advanced options for various model components 2024-03-31 00:29:49 -03:00
Gabriel Luiz Freitas Almeida
f789591c4e Fix range_spec typo in ConversationalAgent and CreateRecord components 2024-03-31 00:04:07 -03:00
Gabriel Luiz Freitas Almeida
958243d17a Add range specification for number of fields 2024-03-31 00:03:44 -03:00
Gabriel Luiz Freitas Almeida
8537ebb1b5 Update conversation example 2024-03-30 23:25:54 -03:00
Gabriel Luiz Freitas Almeida
7cf7ddb9f2 Fix message storing condition in ChatComponent 2024-03-30 23:18:55 -03:00
Gabriel Luiz Freitas Almeida
a8e5ebe998 Update example 2024-03-30 23:16:27 -03:00
Gabriel Luiz Freitas Almeida
9e3c3c7ef8 Refactor file path configuration in FileComponent 2024-03-30 20:21:56 -03:00
Gabriel Luiz Freitas Almeida
07ddd6c43b Add Memory Conversation example 2024-03-30 20:19:51 -03:00
Gabriel Luiz Freitas Almeida
b2962ca1da Swap input_types order in TextInput and TextOutput 2024-03-30 20:12:38 -03:00
Gabriel Luiz Freitas Almeida
67441d4e39 Add MemoryComponent and update MessageHistoryComponent 2024-03-30 20:08:15 -03:00
Gabriel Luiz Freitas Almeida
d457e474df Refactor CreateRecordComponent to dynamically create a Record with a specified number of fields 2024-03-30 19:55:31 -03:00
Rodrigo Nader
3c7311dd0b Update sender_name display_name in MessageHistoryComponent 2024-03-30 19:31:16 -03:00
Gabriel Luiz Freitas Almeida
edd44ffa5c Reverse order of messages_df if order is DESC 2024-03-30 19:20:43 -03:00
Rodrigo Nader
5e2d56a6de Delete JSONInput component 2024-03-30 19:08:00 -03:00
Rodrigo Nader
7eda0fff74 Update SplitTextComponent in langflow/helpers*** 2024-03-30 19:06:23 -03:00
Gabriel Luiz Freitas Almeida
3f70560caf Update input types and record template in TextComponent and its subclasses 2024-03-30 18:46:47 -03:00
Gabriel Luiz Freitas Almeida
87710df466 Add input validation for empty messages 2024-03-30 18:46:47 -03:00
Gabriel Luiz Freitas Almeida
3c9f8e078f Remove unused import and whitespace in SplitTextComponent 2024-03-30 18:46:46 -03:00
Gabriel Luiz Freitas Almeida
daccda76fa Remove unused method _validate_vertices() in Graph class 2024-03-30 18:46:45 -03:00
Gabriel Luiz Freitas Almeida
a53c812716 Add order parameter to MessageHistoryComponent and MonitorService 2024-03-30 18:13:01 -03:00
Rodrigo Nader
1672339992 Add SplitTextComponent to split text into chunks 2024-03-30 18:06:32 -03:00
Gabriel Luiz Freitas Almeida
8651850803 Refactor data and helper components 2024-03-30 17:43:22 -03:00
Gabriel Luiz Freitas Almeida
4428c36bfa Refactor SubFlowComponent display name 2024-03-30 17:33:07 -03:00
Gabriel Luiz Freitas Almeida
39e7a92f45 Refactor RetrievalQAComponent and RetrievalQAWithSourcesChainComponent 2024-03-30 17:33:06 -03:00
anovazzi1
e61896bc1f
remove dead code and unused dependencies (#1488)
* added esLint to frontend project

* Remove formModalPropsType from index.ts

* Remove chat input component

* Delete codeBlock and fileComponent components

* Remove unused code for BuildTrigger component

* Refactor Chat component and remove unused code

* Delete chatTrigger component

* Delete unused SVG and PNG files

* Remove LightTooltipComponent

* Remove LoadingSpinner component

* Delete RadialProgressComponent

* Delete ReactTooltipComponent

* Remove TooltipComponent

* Delete ElementStack component

* Remove ToggleComponent

* Remove unused dependencies from package.json

* Update package json

* add accordion

* change accordion sidebar to shadcn

* added million lint

* Remove MillionCompiler plugin from Vite config

* Refactor authContext autoLogin dependency

* Add console.log statements for debugging

* Refactored position of elements in IO branch

* fix assets imports

* fix re-render on pageComponent

* Add StrictMode to root render and update key in ExtraSidebarComponent

* Add showCanvas state and useEffect to update it to improve performance

* Refactor FlowPage component and remove ExtraSidebar from main area

* Refactor FlowToolbar to prevent Unnecessary re-render

* get node position with zustand in NodeToolbarComponent

* Fix ShareModal rendering issue

* Remove ExtraSidebar component and fix CodeAreaComponent bug

* Refactor: Use useMemo to avoid unnecessary render

* merge zustandIo

* Remove console.log statements

* Update package-lock.json and refactor extraSidebarComponent

* update package json

* Remove unused msgpack wheel file and add new nvidia_nvjitlink_cu12 wheel file

* Fix import formatting in loading.py

* Imported missing module and removed unused import

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: igorrCarvalho <igorsilvabhz6@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-30 17:09:51 -03:00