Commit graph

5,710 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
aabaf513e4 Refactor custom component field ordering 2024-02-11 13:04:13 -03:00
Gabriel Luiz Freitas Almeida
4f7833d2d4 Update field_order to be an optional list 2024-02-11 13:04:08 -03:00
Gabriel Luiz Freitas Almeida
7953950f14 Refactor Template class in base.py 2024-02-11 13:04:01 -03:00
Gabriel Luiz Freitas Almeida
42dd851ab6 Add field_order property to CustomComponent 2024-02-11 12:31:39 -03:00
Gabriel Luiz Freitas Almeida
d76753cca7 makes function args not to be sorted by name 2024-02-11 11:30:21 -03:00
Gabriel Luiz Freitas Almeida
2b646429c0 Refactor langflow processing and langfuse callback initialization 2024-02-09 12:00:24 -03:00
cristhianzl
33d05a23f3 Merge branch 'add_emoji_icon' into dev 2024-02-08 18:08:24 -03:00
cristhianzl
b9570b9c32 add emoji icon 2024-02-08 18:06:59 -03:00
Gabriel Luiz Freitas Almeida
d8522f8236 Add emoji validation to icon field in custom components 2024-02-08 10:12:31 -03:00
Gabriel Luiz Freitas Almeida
f48b4468f6 Add icon property to APIClassType 2024-02-08 10:02:33 -03:00
Gabriel Luiz Freitas Almeida
585ae464a1 Add icon support to CustomComponent 2024-02-08 10:01:29 -03:00
Cristhian Zanforlin Lousa
034312d2a2
Refactor: make new flow create as "Untitled document" instead of random name (#1408) 2024-02-07 20:00:21 -03:00
Gabriel Luiz Freitas Almeida
829c810562 Update ChromaComponent configuration 2024-02-07 18:57:24 -03:00
Gabriel Luiz Freitas Almeida
a76b356526 Refactor CharacterTextSplitterComponent to use typing and update return value 2024-02-07 18:57:19 -03:00
Gabriel Luiz Freitas Almeida
778ed3a8e7 Fix disallowed_special parameter in OpenAIEmbeddingsComponent 2024-02-07 18:50:04 -03:00
igorrCarvalho
d0865a2580 Refactor: remove flow if there is no changes 2024-02-06 14:27:23 -03: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
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
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
57c09c3409 Add unique constraints and foreign key for user_id in flow table 2024-01-31 17:09:16 -03:00
Gabriel Luiz Freitas Almeida
2076f32704 Merge branch 'dev' into update_lc 2024-01-31 15:57:16 -03:00
Gabriel Luiz Freitas Almeida
cbf80c9fcd Delete document loader components 2024-01-31 15:50:24 -03:00
Gabriel Luiz Freitas Almeida
c54c7246b6 Update document loader imports 2024-01-31 15:50:04 -03:00
Lucas Oliveira
b49e0578d7 fix cursor position on safari 2024-01-31 11:54:08 +01:00
Lucas Oliveira
5984a45178 removed unused utils function 2024-01-31 11:37:11 +01:00
Lucas Oliveira
911257c92f Fix console error on code component 2024-01-31 11:31:24 +01:00
Lucas Oliveira
abe597823b Fixed undoing not fixing group edges 2024-01-31 11:23:16 +01:00
Lucas Oliveira
f93724eb44 Fixed takeSnapshot deleting history if snapshot was equal to the previous 2024-01-31 11:18:33 +01:00
Lucas Oliveira
7ba2610184 refactored number of handles 2024-01-31 11:10:42 +01:00
Lucas Oliveira
cc548ba604 removed unused createFlowComponent 2024-01-31 10:56:55 +01:00
Lucas Oliveira
30709221ef removed direct attribution of official attribute 2024-01-31 10:54:47 +01:00
Lucas Oliveira
b3f5b25eba Removed direct attribution on data on updateFlowPosition 2024-01-31 10:52:36 +01:00
Gabriel Luiz Freitas Almeida
866e820ecb Import Document from langchain_core instead of langchain 2024-01-30 16:16:17 -03:00
Gabriel Luiz Freitas Almeida
43e3baaa84 Update import statements for langchain_community packages 2024-01-30 14:46:28 -03:00