Commit graph

11,619 commits

Author SHA1 Message Date
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
Mendon Kissling
226e3a131e Merge branch 'dev' into introduction-quickstart-install 2024-04-26 09:45:42 -04:00
Mendon Kissling
3c8dc0388a Merge branch 'dev' into introduction-quickstart-install 2024-04-26 09:43:17 -04:00
Mendon Kissling
6219426a43
[Docs] - Blog Writer (#1763)
* Docs for Blog writer starter flow
* Run in HF Spaces v1.0.0a17
2024-04-26 09:41:58 -04:00
Mendon Kissling
96a96d9701
[Docs] - Document QA (#1759)
* Docs for Document QA starter flow
* Run in HF Spaces v1.0.0a17
2024-04-26 09:39:59 -04:00
Mendon Kissling
fa44e09d60 add-pre 2024-04-26 09:32:08 -04:00
Mendon Kissling
7b6e34e0fd
[Docs] - Memory Chatbot (#1757)
* Docs for memory chatbot starter flow
* Run in HF Spaces v1.0.0a17
2024-04-26 09:30:42 -04:00
Mendon Kissling
d05c75a3c7
[Docs] - Basic prompting (#1712)
* Add basic 4-component prompting flow
2024-04-26 09:26:48 -04:00
Mendon Kissling
93869c5c8f paste 2024-04-26 09:13:20 -04:00
Mendon Kissling
841df3a4b7 duplicate 2024-04-26 09:11:00 -04:00
Mendon Kissling
1ff677d866 add-pre 2024-04-26 09:06:29 -04:00
Mendon Kissling
2a7cfe5dab add-pre 2024-04-26 09:05:59 -04:00
Mendon Kissling
8b7bcbba5c add-pre 2024-04-26 09:05:19 -04: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
a388e6dd42 Update version in pyproject.toml to 1.0.0a26 2024-04-24 09:18:31 -03:00
Gabriel Luiz Freitas Almeida
5ee638f984 🔧 (.github/workflows/pre-release-langflow.yml): add actions/checkout step to checkout the code before running the job 2024-04-24 09:11:52 -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
cristhianzl
9055eb0bc9 Merge branch 'dev' into playground 2024-04-23 21:55:54 -03:00
Cristhian Zanforlin Lousa
ce322f1ba1
Merge pdfView Branch Features (#1772)
* starting commit from pdfView branch

* 📝 (csvOutputComponent/index.tsx): update useEffect dependency array to include 'separator' variable to re-render component when separator changes

* 🐛 (csvOutputComponent/index.tsx): handle error when parsing JSON string in file variable assignment to prevent app crash
 (csvOutputComponent/index.tsx): add error message and UI when file variable is null to inform user about the error

* 📝 (KeyPairInput.py): Add KeyPairInput component to handle dictionary input and return the input value as is
📝 (CSVOutput.py): Add CSVOutput component to handle CSV output with configurable separator
📝 (ImageOutput.py): Add ImageOutput component to handle image output
📝 (PDFOutput.py): Add PDFOutput component to handle PDF output
📝 (constants.ts): Add KeyPairInput to the list of supported input types
📝 (IOModal/index.tsx): Remove console.log statement

* 🔧 (KeyPairInput.py): Remove unused KeyPairInput component
🔧 (CSVOutput.py): Remove unused CSVOutput component
🔧 (ImageOutput.py): Remove unused ImageOutput component
🔧 (PDFOutput.py): Remove unused PDFOutput component

These components were deleted as they were no longer being used in the project and were causing unnecessary clutter in the codebase. Removing them improves code maintainability and reduces potential confusion for developers working on the project.

* 🔧 (IOModal/index.tsx): remove console.log statement for selectedViewField variable to clean up code and improve performance
2024-04-23 21:54:01 -03:00
Gabriel Luiz Freitas Almeida
b07b937b20 Update build_and_cache_graph function to handle graph data from database and from input data (#1750)
* Update build_and_cache_graph function to handle graph data from database and from input data

* Update get_vertices endpoint to handle graph data from input

* Update build_vertex function to handle graph data from database

* Update build_vertex function to handle graph data from input

* Update FlowDataRequest schema to include optional viewport field
2024-04-23 20:38:04 -03:00
Lucas Oliveira
1b0eb4f7f3 Global Variables Page created 2024-04-24 00:51:12 +02:00
Lucas Oliveira
ec94bed45e Added user icon even if the autologin is off 2024-04-24 00:27:38 +02:00
anovazzi1
34ac7f359a removed console.log 2024-04-23 16:53:38 -03:00
anovazzi1
bb6ad3939b first implementation, working but not stable 2024-04-23 16:48:00 -03:00
Cristhian Zanforlin Lousa
7311bd3224
Add new tests on global variables and fix old ones (#1756)
🔧 (Makefile): remove unnecessary kill command for frontend server in
run_frontend target
📝 (frontend/.gitignore): add test-results/ directory to .gitignore
⬆️ (frontend/package.json): upgrade @playwright/test dependency to
version 1.43.1
💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected
tooltip test ID from "tooltip-Models" to "tooltip-Model Specs"
💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected test
ID from "disclosure-models" to "disclosure-model specs"
💡 (frontend/tests/end-to-end/globalVariables.spec.ts): add hover and
delete functionality to test for global variables
💡 (frontend/tests/end-to-end/saveComponents.spec.ts): add additional
wait times to ensure modal is loaded before interacting with it
2024-04-23 16:11:24 -03:00
Kayce Elgin
3f74accbbb
Update deploy_langflow_gcp.sh (#1752)
Sytnax error on line 38 ':tcp:3389', removed leading colon -> 'tcp:3389'
2024-04-23 15:04:41 -03:00
Mendon Kissling
4baad51242 add-astra-and-cli 2024-04-23 09:42:20 -04:00
anovazzi1
ec0af06573 Add playground button to flow cards in MainPage (#1752)
* Add playground button to flow cards in MainPage

* Add IOModal component for playground functionality

* Update playground button styling

not working yet
2024-04-23 09:26:15 -03:00
Mendon Kissling
34e7353095 hide-cli 2024-04-22 21:41:26 -04:00
Mendon Kissling
54fb579d64 link-check 2024-04-22 21:41:08 -04:00
Mendon Kissling
170d9dff58 try-config 2024-04-22 21:38:14 -04:00
igorrCarvalho
113b47804f Feat: Add validation to avoid error when user doesnt have access to the store 2024-04-22 22:23:47 -03:00
Mendon Kissling
d5c43a0bf2 initial-content 2024-04-22 21:22:43 -04:00