Commit graph

8,701 commits

Author SHA1 Message Date
anovazzi1
c7b3078557 Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-29 15:58:03 -03:00
anovazzi1
979dae8c49 Add extractFieldsFromComponenents function to reactflowUtils.ts 2024-04-29 15:57:46 -03:00
Lucas Oliveira
793a025163 Fixed title of global pages 2024-04-29 19:23:07 +02:00
anovazzi1
1e7438115c Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-29 14:22:07 -03:00
anovazzi1
8dac69708f Add avaliableFields functionality to GlobalVariablesStore 2024-04-29 14:22:04 -03:00
Lucas Oliveira
f14b8831bf Modified title to be on pair with modals 2024-04-29 19:18:03 +02:00
Lucas Oliveira
51a3d65114 Fixed editability of variable name 2024-04-29 19:08:14 +02:00
Lucas Oliveira
01ebe97f3a Fixed footer height 2024-04-29 19:05:18 +02:00
Gabriel Luiz Freitas Almeida
c6b4101d69
Update Docker image references to langflowai in GitHub workflows and Docker Compose files (#1793)
* Update Docker image references to langflowai in GitHub workflows and Docker Compose files
2024-04-29 13:38:18 -03:00
Gabriel Luiz Freitas Almeida
350a62d032 Update package versions in pyproject.toml and poetry.lock 2024-04-29 11:28:47 -03:00
Gabriel Luiz Freitas Almeida
3f07a39f5b
Fix created_at field type in Variable and ApiKey models (#1792)
* Fix created_at field type in Variable model

* Fix created_at field type in ApiKey model

* Fix error handling in add_row_to_table function

#1790

* Apply type hinting to nest_asyncio import in load.py
2024-04-29 11:26:45 -03:00
anovazzi1
736ce22546
Add ExportModal component to ShareModal (#1789)
* Add ExportModal component to ShareModal

* Refactor ShareModal component to conditionally render ExportModal and Export button based on is_component flag
2024-04-29 11:22:57 -03:00
Gabriel Luiz Freitas Almeida
366ce591cb Add default_fields column to the variable table 2024-04-29 09:53:56 -03:00
Lucas Oliveira
7b79bfeeaf Fixed sizing and colors to fit blocks table 2024-04-28 23:33:35 +02:00
Lucas Oliveira
3696aef557 Fixed colors with the variables 2024-04-28 23:11:57 +02:00
Lucas Oliveira
358f53d837 Added pagination 2024-04-28 23:00:21 +02:00
Lucas Oliveira
be0bb51254 Updated colors on dark mode 2024-04-28 22:50:09 +02:00
Lucas Oliveira
04d723d405 Fixed colors of AG Grid 2024-04-28 19:42:41 +02:00
anovazzi1
dfc62752f3 Add uniqueId function from lodash to cloneFLowWithParent in storeUtils.ts 2024-04-27 20:53:29 -03:00
Gabriel Luiz Freitas Almeida
8f46ea04ef Update package versions in pyproject.toml and poetry.lock 2024-04-27 18:24:25 -03:00
Rodrigo Nader
02b68daea1
Apply nest_asyncio to enable asyncio event loop nesting in process.py (#1784)
* Apply nest_asyncio to enable asyncio event loop nesting in process.py

* Apply nest_asyncio to enable asyncio event loop nesting in load.py

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-04-27 18:22:16 -03:00
Rodrigo Nader
082c02ff18 Add CombineTextsUnsortedComponent to langflow components 2024-04-27 16:39:08 -03:00
anovazzi1
32bfca24d0 Fix useEffect dependency in PlaygroundPage component 2024-04-26 17:59:05 -03:00
anovazzi1
171ebb2321 fix api call 2024-04-26 17:57:29 -03:00
anovazzi1
48ec18b6e5 Refactor API index.ts to pass data object as a parameter in getVerticesOrder function 2024-04-26 17:43:43 -03:00
anovazzi1
84dc98db4b Fix useEffect dependency in PlaygroundPage component 2024-04-26 17:35:19 -03:00
anovazzi1
c5b9419e52 Fix useEffect dependency in PlaygroundPage component 2024-04-26 17:33:56 -03:00
anovazzi1
4a6b13a7c7 first attempt playground page 2024-04-26 17:23:40 -03:00
Gabriel Luiz Freitas Almeida
c77d458b25 Refactor retrieve_vertices_order function in chat.py to use Annotated type hinting for data parameter 2024-04-26 16:41:22 -03:00
anovazzi1
2474cd348e Refactor CollectionCardComponent to improve code readability and fix loadingPlayground state handling 2024-04-26 13:40:54 -03:00
Gabriel Luiz Freitas Almeida
45552803d1
Update type annotations in TweaksRequest and Tweaks classes (#1779)
* Update type annotations in TweaksRequest and Tweaks classes

* Merge remote-tracking branch 'origin/dev' into 1776_fix_tweaks
2024-04-26 10:47:30 -03:00
anovazzi1
2dd0b2bf16 add type import 2024-04-25 21:38:53 -03:00
Lucas Oliveira
8536ad8204 Added more settings options 2024-04-26 01:37:51 +02:00
Lucas Oliveira
16bd9f1ee1 Added settings page 2024-04-26 01:32:03 +02:00
anovazzi1
b8a62a3c7b running flows from store, still need fixes 2024-04-25 18:37:23 -03:00
anovazzi1
089446b1b7 initial implementation of playground on store, not working yet 2024-04-25 16:28:03 -03:00
Gabriel Luiz Freitas Almeida
4317ab35b7 Refactor build_and_cache_graph_from_data function in chat.py to use model_dump() method for graph data 2024-04-25 16:06:14 -03:00
anovazzi1
dc71ad261b Fix cleanFlowPool function not being called in CollectionCardComponent 2024-04-25 15:33:34 -03:00
Gabriel Luiz Freitas Almeida
e22a3300cb Refactor get_vertices function to retrieve_vertices_order in chat.py 2024-04-25 13:03:53 -03:00
Lucas Oliveira
e799f53116 Added grid on table component as a mock 2024-04-25 16:23:09 +02:00
anovazzi1
66c0de5283 Merge branch 'playground' of personal:logspace-ai/langflow into playground 2024-04-25 00:10:24 -03:00
anovazzi1
257e18cf5e almost perfect not sending edges and node because of http web method 2024-04-25 00:10:21 -03:00
igorrCarvalho
6d6d1d73db Feat: add File input component 2024-04-24 22:37:20 -03:00
anovazzi1
bafda23b6c fix sorting glitch 2024-04-24 18:01:20 -03:00
anovazzi1
ed10322af2 Update setNodes and setEdges functions in flowStore.ts to skip saving changes when skipSave parameter is true 2024-04-24 17:50:02 -03:00
anovazzi1
55e56e19f5 merge from origin/dev 2024-04-24 11:12:54 -03:00
anovazzi1
0054077251 Merge remote-tracking branch 'origin/dev' into playground 2024-04-24 11:11:17 -03:00
Gabriel Luiz Freitas Almeida
fe67f84d56 Update package versions in pyproject.toml files 2024-04-23 23:19:26 -03:00
Gabriel Luiz Freitas Almeida
82926cda65 Update kwargs parameter name in MemoryComponent.py to 'limit' instead of 'n_messages' 2024-04-23 23:13:19 -03:00
Gabriel Luiz Freitas Almeida
19e46de04c
Refactor MemoryComponent class and add ZepMessageReaderComponent (#1771)
* Add BaseMemoryComponent class to langflow.base.memory.memory.py (#1750)

* Add BaseMemoryComponent class to langflow.base.memory.memory.py

* Update MemoryComponent class in langflow.components.helpers.MemoryComponent.py to inherit from BaseMemoryComponent

*  (ZepMessageReader.py): Add ZepMessageReaderComponent to retrieve chat messages from Zep
📝 (ZepMessageWriter.py): Add ZepMessageWriterComponent to add messages to ZepChatMessageHistory

📝 (Langflow Memory Conversation.json): Refactor MemoryComponent class to inherit from BaseMemoryComponent for better code organization and reusability. Move get_messages method to the class level and validate kwargs for correct keys before processing.

* Update WeaviateSearch.py to include index_name parameter in build method

Update ZepMessageWriter.py to include metadata parameter in __init__ method

Update ZepMessageReader.py to include cast function for memory parameter

Update schema.py to include cast function for metadata parameter

Update process.py to include tweaks_dict variable and use it in apply_tweaks method

Update Weaviate.py to include index_name parameter in build method and raise ValueError if index_name is not provided

* Update process.py to include tweaks_dict variable and use it in apply_tweaks method

*  (ZepMessageReader.py): Update ZepMessageReaderComponent build method to handle optional url and api_key parameters and improve error handling for zep-python package import
📝 (ZepMessageWriter.py): Refactor ZepMessageWriterComponent to use 'text' instead of 'message' for consistency and update add_message method to reflect this change. Add 'input_value' configuration option for specifying the record to write to Zep. Update build_config method to reflect changes in input parameters. Update add_message method to use 'text' parameter instead of 'message'. Update build method to handle optional url and api_key parameters and improve error handling for zep-python package import.

* Update zep-python package to version 2.0.0rc5

* 📝 (memory.py): update parameter name from 'message' to 'text' for better clarity and consistency
2024-04-23 23:06:54 -03:00