Gabriel Luiz Freitas Almeida
015083aa14
Refactor state management to use Zustand, migrate components to CustomComponent and other fixes ( #1403 )
...
This release:
- Adds Components from the Community
- Changes the state management to Zustand which simplifies many parts of
Langflow's frontend
- Migrates many components to CustomComponent to eventually put all
components in the same framework
- Fixes migration problems
2024-02-05 19:22:10 -03:00
Gabriel Luiz Freitas Almeida
e93c512f37
Merge branch 'main' into dev
2024-02-05 19:12:20 -03:00
Gabriel Luiz Freitas Almeida
c370dc87ca
Update dependencies in pyproject.toml
2024-02-05 19:06:20 -03:00
dependabot[bot]
e617d36387
Bump vite from 4.5.1 to 4.5.2 in /src/frontend
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 22:03:43 +00:00
Gabriel Luiz Freitas Almeida
392b81b519
Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
...
This reverts commit f3b3d2cf68 .
2024-02-05 19:02:34 -03:00
anovazzi1
476a670eb9
Add global variables support to InputComponent
2024-02-05 18:58:37 -03:00
anovazzi1
d0dcb32a7e
Refactor global variables page and add delete functionality
2024-02-05 18:50:58 -03:00
Gabriel Luiz Freitas Almeida
d2bfd300a6
Release 0.6.5 ( #1400 )
...
This release:
- Adds Components from the Community
- Changes the state management to Zustand which simplifies many parts of
Langflow's frontend
- Migrates many components to CustomComponent to eventually put all
components in the same framework
- Fixes migration problems
2024-02-05 18:34:57 -03:00
Gabriel Luiz Freitas Almeida
7b5225f857
Merge branch 'main' into dev
2024-02-05 18:34:19 -03:00
anovazzi1
ee22000c52
Fix output type separator in GenericNode component
2024-02-05 18:33:11 -03:00
anovazzi1
4a1c9f8dae
Add global variable functionality and display on Global Variables page
2024-02-05 18:30:41 -03:00
Gabriel Luiz Freitas Almeida
93e012e21a
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" ( #1398 )
...
Reverts logspace-ai/langflow#1397
2024-02-05 18:29:48 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
2024-02-05 18:29:03 -03:00
Gabriel Luiz Freitas Almeida
37a968efb0
Update version number in pyproject.toml
2024-02-05 18:27:34 -03:00
Gabriel Luiz Freitas Almeida
642e57d21e
Refactor state management to use Zustand, migrate components to CustomComponent and other fixes ( #1397 )
...
This release:
- Adds Components from the Community
- Changes the state management to Zustand which simplifies many parts of
Langflow's frontend
- Migrates many components to CustomComponent to eventually put all
components in the same framework
- Fixes migration problems
2024-02-05 18:22:19 -03:00
Gabriel Luiz Freitas Almeida
e5b4da8431
Merge branch 'main' into dev
2024-02-05 18:18:04 -03:00
Gabriel Luiz Freitas Almeida
1b867586c2
Update OpenAI models and options
2024-02-05 18:17:23 -03:00
anovazzi1
911d681320
feat(addNewVariableButton.tsx): implement form logic to handle saving new global variables
...
feat(globalVariables.ts): add functions to add and remove global variables in the store
feat(globalVariables/index.ts): add types for the new functions in the global variables store
2024-02-05 18:07:05 -03:00
Gabriel Luiz Freitas Almeida
bbf8b2ab0b
Remove unnecessary "required" attribute from field_config in VectaraComponent
2024-02-05 17:53:15 -03:00
anovazzi1
6fcc754704
Update Playwright configuration and fix Select component
2024-02-05 17:32:43 -03:00
Gabriel Luiz Freitas Almeida
c2563f6832
Add RecursiveCharacterTextSplitter import and documentation link ( #1396 )
...
This pull request adds the import statement for
RecursiveCharacterTextSplitter and includes a documentation link for it
in the text_splitter module.
2024-02-05 17:02:20 -03:00
Gabriel Luiz Freitas Almeida
54190f09ba
Add RecursiveCharacterTextSplitter documentation link
2024-02-05 16:28:50 -03:00
Gabriel Luiz Freitas Almeida
eb3a0d4bc4
Add RecursiveCharacterTextSplitter import
2024-02-05 16:28:13 -03:00
anovazzi1
e4e5b06185
fix(App.tsx): import getGlobalVariables function from API controller to fix missing import error
...
feat(App.tsx): add support for fetching global variables and setting them in the global variables store
feat(App.tsx): add useGlobalVariablesStore hook to access and set global variables in the component
feat(addNewVariableButton.tsx): create a new component for adding a new variable
feat(GlobalVariablesPage.tsx): create GlobalVariablesPage component to display and manage global variables
feat(routes.tsx): add route for GlobalVariablesPage component
feat(globalVariables.ts): update globalVariables store to include globalVariablesEntries array and modify setGlobalVariables function to set both globalVariables and globalVariablesEntries
feat(index.ts): add types for globalVariables store
2024-02-05 15:47:31 -03:00
igorrCarvalho
f30c1df9bf
Feat: make input dropdown filter with text
2024-02-05 14:53:47 -03:00
anovazzi1
c1d9e12956
Add global variables store using Zustand
2024-02-05 14:45:47 -03:00
anovazzi1
0a0f35cdac
Add global variable API functions
2024-02-05 14:16:40 -03:00
igorrCarvalho
1be52e253a
Fix: arrow icon dont appear in dropdown
2024-02-05 14:09:33 -03:00
igorrCarvalho
5eef2774a2
Remove blank space
2024-02-05 11:45:35 -03:00
igorrCarvalho
ccb7947b40
Merge branch 'dropdownInput' into globalVariables
2024-02-05 11:43:19 -03:00
igorrCarvalho
86ccae87fb
Feat: make text input capable of support dropdown inputs also
2024-02-05 11:42:08 -03:00
anovazzi1
8023332260
add vectara icon ( #1389 )
...
* adding vectara icon
* Add field_typing imports and source parameter to VectaraComponent
* Refactor Vectara imports and update dependencies
* Refactor VectaraSelfQueryRetriverComponent class and update field_config
* Remove None values and update template strings
* Add get_output_types_from_code method to DirectoryReader
* Refactor directory_reader.py and handle exception when getting output types from code
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2024-02-02 18:01:29 -03:00
igorrCarvalho
f5cf73947c
Remove console.log
2024-02-02 01:20:59 -03:00
igorrCarvalho
c33eec9c88
Feat: Make edges change color when hover it
2024-02-02 01:19:43 -03:00
anovazzi1
e195cb5eec
fix(App.tsx): refactor the usage of useAlertStore to use the new removeFromTempNotificationList and tempNotificationList variables
...
fix(newChatView/index.tsx): remove console.log statement
fix(alertStore.ts): remove unused imports and refactor the usage of setErrorData, setNoticeData, and setSuccessData to update both notificationList and tempNotificationList
fix(types/zustand/alert/index.ts): add tempNotificationList variable and corresponding functions to clear and remove items from it
2024-02-01 21:02:39 -03:00
Gabriel Luiz Freitas Almeida
cd03b14743
Refactor error handling and remove duplicate code
2024-02-01 14:12:06 -03:00
Gabriel Luiz Freitas Almeida
4b9d402b71
Refactor async execution and add error handling
2024-02-01 14:11:34 -03:00
Gabriel Luiz Freitas Almeida
1934a77ffa
Refactor power component to interface component
2024-02-01 14:01:41 -03:00
Gabriel Luiz Freitas Almeida
652de333db
Add session_id parameter to vertex.build()
2024-02-01 14:01:20 -03:00
Gabriel Luiz Freitas Almeida
afe73558ac
Update socketio mount path
2024-02-01 13:52:34 -03:00
Gabriel Luiz Freitas Almeida
4c2126f46f
Update invoke_lc_runnable to use ainvoke instead of invoke
2024-02-01 13:12:15 -03:00
Gabriel Luiz Freitas Almeida
1efa367bf9
Remove duplicate code in generate_result function
2024-02-01 12:14:41 -03:00
Gabriel Luiz Freitas Almeida
2e752f563c
Add support for external input and output in Vertex class
2024-02-01 12:13:51 -03:00
Gabriel Luiz Freitas Almeida
cd43aa729a
Map ChatVertex connections and update external vertex attributes
2024-02-01 12:13:05 -03:00
Gabriel Luiz Freitas Almeida
c0c64c99c9
Update imports to use langchain_core.documents
2024-02-01 09:37:37 -03:00
Gabriel Luiz Freitas Almeida
7efa79af69
Fix formatting issues and update code style
2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
42ce5b7112
Refactor RedisComponent to handle existing index in Redis
2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
f670ba50ac
Fix vectorstores/PGVector missing output issue. ( #1296 )
...
In previous version, the output disappeared. I've fixed it and made it
support the output component "Chains" as well.
Before:

After:

2024-02-01 09:34:59 -03:00
Gabriel Luiz Freitas Almeida
54df76096f
Merge branch 'dev' into fix/vectorstores/pgvector
2024-02-01 09:34:50 -03:00
Gabriel Luiz Freitas Almeida
a6877033f8
Fix vectorstores/Redis to support output component "Chains" ( #1292 )
...
The previous version was missing output component "Chains".
Before:

After:

2024-02-01 09:20:19 -03:00