Commit graph

109 commits

Author SHA1 Message Date
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
Rodrigo Nader
e564991040 Update CombineTextComponent to concatenate two text sources 2024-03-30 16:53:58 -03:00
Gabriel Luiz Freitas Almeida
87adaa4255 Refactor edge equality check and optimize edge creation in Graph class 2024-03-30 16:49:50 -03:00
Gabriel Luiz Freitas Almeida
4aa726706f Refactor records_to_text function to handle non-Record items 2024-03-30 16:46:59 -03:00
Gabriel Luiz Freitas Almeida
c5fb239852 Add validation for list items in records_to_text function 2024-03-30 16:42:12 -03:00
Gabriel Luiz Freitas Almeida
ac45c278c4 Refactor error handling in build_vertex function 2024-03-30 16:17:39 -03:00
Rodrigo Nader
dc0feddb54 Add support for combining a list of texts in CombineTextComponent 2024-03-30 16:00:02 -03:00
Rodrigo Nader
acb1fa9997 Add CombineTextComponent to concatenate multiple text sources 2024-03-30 15:56:21 -03:00
Rodrigo Nader
775fa87f92 Update AstraDB component descriptions 2024-03-30 14:51:06 -03:00
Lucas Oliveira
b3ad7fa49f Fix icon glitch on Prompt Component. Using pre-imported icon. 2024-03-30 17:49:15 +02:00
cristhianzl
9db5638e8d 📝 (APIRequest.py): add icon "Globe" to APIRequest component for better visual representation
📝 (Directory.py): add icon "folder" to DirectoryComponent for better visual representation
📝 (File.py): add icon "file-text" to FileComponent for better visual representation
📝 (URL.py): add icon "layout-template" to URLComponent for better visual representation
📝 (TextInput.py): add icon "type" to TextInput component for better visual representation
📝 (TextOutput.py): add icon "type" to TextOutput component for better visual representation
📝 (styleUtils.ts): replace "Search" icon with "TextSearch" icon in nodeIconsLucide for better visual representation
2024-03-30 08:43:27 -03:00
Gabriel Luiz Freitas Almeida
a200f58251 Update field order in model components 2024-03-29 22:39:30 -03:00
Gabriel Luiz Freitas Almeida
617be2809f Refactor code to use get_text() method instead of accessing the 'text' attribute directly. 2024-03-29 22:29:47 -03:00
Gabriel Luiz Freitas Almeida
0788951ba4 Refactor extract_union_types_from_generic_alias function to exclude specific types 2024-03-29 22:20:47 -03:00
Gabriel Luiz Freitas Almeida
1cd651e300 Refactor code_parser/utils.py and custom_component/component.py 2024-03-29 22:20:46 -03:00
Gabriel Luiz Freitas Almeida
8a19c6b960 Add unit tests for the Record class 2024-03-29 22:20:44 -03:00
Gabriel Luiz Freitas Almeida
476438c2e4 Add CreateRecordComponent and remove TextToRecordComponent 2024-03-29 22:20:42 -03:00
Rodrigo Nader
30145a0067 Update component display names and descriptions 2024-03-29 22:10:45 -03:00