Commit graph

6,409 commits

Author SHA1 Message Date
anovazzi1
f591c480ce update group node function to reconnect edges when create groupNode 2024-02-06 16:57:52 -03:00
anovazzi1
d0a61fb084 Fix bug in login functionality***
***Update README with new instructions***

***Refactor code for better performance***

***Add new feature for user authentication***

***Fix formatting issues in code***

***Update dependencies to latest versions***

***Remove unused variables***

***Fix broken links in documentation***

***Add error handling for edge cases***

***Optimize database queries
2024-02-06 14:39:11 -03:00
igorrCarvalho
d0865a2580 Refactor: remove flow if there is no changes 2024-02-06 14:27:23 -03:00
anovazzi1
cdbc516b85 removed animated dash edge for text 2024-02-06 14:26:16 -03:00
Gabriel Luiz Freitas Almeida
6854c25dae Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-06 14:21:50 -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
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
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
1b867586c2 Update OpenAI models and options 2024-02-05 18:17:23 -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
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
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
54df76096f
Merge branch 'dev' into fix/vectorstores/pgvector 2024-02-01 09:34:50 -03:00
Gabriel Luiz Freitas Almeida
1d46ba5d74
Merge branch 'dev' into fix/vectorstores/redis 2024-02-01 09:20:13 -03:00
Gabriel Luiz Freitas Almeida
8f9d3ce155
Fix AgentInitializer to has last statement of returning base class (#1301)
From the last update, AgentInitializer lost ability to chain another
AgentInitializer via tool.
Fix issue: https://github.com/logspace-ai/langflow/issues/1255
2024-02-01 09:18:04 -03:00
Gabriel Luiz Freitas Almeida
3a5e3f24af
chat websocket api support param token and x-api-key (#1339)
Currently, chat interfaces do not support x-api-key authentication. In
this modification, token or x-api-key authentication is supported
2024-02-01 09:16:16 -03:00
Gabriel Luiz Freitas Almeida
edb9ba5a80 Refactor callback handler to use SocketIOService 2024-01-31 23:51:04 -03:00
Gabriel Luiz Freitas Almeida
4c5c95af48 Refactor main.py to include socketio server 2024-01-31 23:50:38 -03:00
Gabriel Luiz Freitas Almeida
54c5053454 Add SocketIO service and initialize it 2024-01-31 23:50:13 -03:00
Gabriel Luiz Freitas Almeida
60919ce0a9 Refactor socket service and add utility functions 2024-01-31 23:49:26 -03:00
Gabriel Luiz Freitas Almeida
8da39fbf39 Add SocketIOFactory and SocketIOService classes 2024-01-31 23:47:07 -03:00
Gabriel Luiz Freitas Almeida
be494a6624 Refactor chat.py and schemas.py 2024-01-31 18:18:32 -03:00
Gabriel Luiz Freitas Almeida
b05ac9e84d Merge branch 'zustand/io/migration' of https://github.com/logspace-ai/langflow into zustand/io/migration 2024-01-31 17:56:10 -03:00
cristhianzl
e855f24448 fixing arrow direction 2024-01-31 17:54:54 -03:00
Gabriel Luiz Freitas Almeida
c08b277f15 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-31 17:54:51 -03:00
cristhianzl
b42c34cdb1 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-31 17:44:57 -03:00
cristhianzl
f8dd179d97 fix arrow connection 2024-01-31 17:44:36 -03:00
Gabriel Luiz Freitas Almeida
e61e4ac51b
Update Langchain to 0.1 and migrate most components to CustomComponent (#1382)
This PR updates Langchain to 0.1.* and move components previously
created automatically to start using the CustomComponent framework.

This will improve maintainability and move Langflow to be closer to the
framework.
2024-01-31 17:43:18 -03:00
Gabriel Luiz Freitas Almeida
339029cd5b Update import statement for retrievers module 2024-01-31 17:33:32 -03:00
Gabriel Luiz Freitas Almeida
29bcf3e43f Add duration tracking to build_vertex function 2024-01-31 17:22:04 -03:00
Gabriel Luiz Freitas Almeida
d9abe93c42 Refactor format_elapsed_time function to improve readability and add comments 2024-01-31 17:21:44 -03:00