Commit graph

3,714 commits

Author SHA1 Message Date
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
Rodrigo Nader
7d1fde6e7f Update component descriptions 2024-03-29 21:42:59 -03:00
Gabriel Luiz Freitas Almeida
0e351231b6 Update input_types in DefaultPromptField class 2024-03-29 19:15:03 -03:00
Gabriel Luiz Freitas Almeida
f170712864 Refactor exception handling and error messaging in chat module 2024-03-29 18:00:31 -03:00
Gabriel Luiz Freitas Almeida
7ebbc9abac Update build_config method in TextComponent subclasses 2024-03-29 16:27:33 -03:00
Gabriel Luiz Freitas Almeida
0cf2229ff1 Update TextInput and ChatOutput build methods 2024-03-29 16:19:41 -03:00
Gabriel Luiz Freitas Almeida
4ad0385768 Refactor TextComponent build method to accept Record input and generate text output 2024-03-29 16:16:42 -03:00
Gabriel Luiz Freitas Almeida
d71ebc7ea1 Add record_template parameter to ChatComponent 2024-03-29 16:16:32 -03:00
Gabriel Luiz Freitas Almeida
84fb678b2f Refactor AstraDBSearchComponent parameters and add informative descriptions 2024-03-29 15:11:42 -03:00
Gabriel Luiz Freitas Almeida
5c43bd3a5f Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-03-29 14:54:48 -03:00
Gabriel Luiz Freitas Almeida
feb29ddbb9
Fix unique constraints for id column (#1583)
* Fix unique constraints for id column

* Update version in pyproject.toml
2024-03-29 14:18:01 -03:00
Rodrigo Nader
8e3ce9050e Add CreateRecordComponent, update IDGeneratorComponent and input components' descriptions 2024-03-29 00:07:19 -03:00
anovazzi1
cf7225ce7a Update default value for sender in MessageHistoryComponent 2024-03-28 23:52:54 -03:00
Gabriel Luiz Freitas Almeida
742ec9f0d5 Update import statements in __init__.py files 2024-03-28 20:16:35 -03:00
Gabriel Luiz Freitas Almeida
a3924d657c Add vector search components and vector store search components 2024-03-28 20:16:00 -03:00
Gabriel Luiz Freitas Almeida
53a959d8e5 Update AnthropicModel with new model options and API URL 2024-03-28 19:51:28 -03:00
Gabriel Luiz Freitas Almeida
1c55b8159b Update AmazonBedrockModel.py with new model options and remove unused code 2024-03-28 19:51:27 -03:00
Rodrigo Nader
754e74ec37 Update component descriptions and messages 2024-03-28 19:33:55 -03:00
Rodrigo Nader
d7fdd2fe9d Update component descriptions 2024-03-28 18:49:25 -03:00
Rodrigo Nader
57802f9632 Update display names of models 2024-03-28 18:19:25 -03:00
Gabriel Luiz Freitas Almeida
5bc787fef4 Update file path in build_config method 2024-03-28 17:56:12 -03:00
Gabriel Luiz Freitas Almeida
d6f1a9f1f6 Refactor FileComponent build method to accept a single path 2024-03-28 17:53:59 -03:00
Rodrigo Nader
91b8f12a54 Add advanced options to sender and return_record in ChatComponent 2024-03-28 17:34:17 -03:00
Gabriel Luiz Freitas Almeida
f7e8526a06 Fix getting extension in files 2024-03-28 17:03:56 -03:00
Gabriel Luiz Freitas Almeida
37ede63d2d Add import statement for get_settings_service() in base.py 2024-03-28 17:01:13 -03:00
Gabriel Luiz Freitas Almeida
cdf1963138 Update version.py to retrieve package version using package name 2024-03-28 16:58:02 -03:00
Gabriel Luiz Freitas Almeida
b54e8352fa Update StateServiceFactory to use InMemoryStateService 2024-03-28 09:57:52 -03:00
Gabriel Luiz Freitas Almeida
3dbd459f2c Refactor error handling in initialize_services function 2024-03-28 09:56:51 -03:00
Gabriel Luiz Freitas Almeida
d413bf167f Refactor imports in state factory module 2024-03-28 09:56:46 -03:00
Gabriel Luiz Freitas Almeida
6737c845eb Refactor code and fix formatting issues 2024-03-27 23:46:11 -03:00
Gabriel Luiz Freitas Almeida
291d655919 Add StateService and StateServiceFactory 2024-03-27 22:10:04 -03:00