Commit graph

10,159 commits

Author SHA1 Message Date
Mendon Kissling
0b05c8df00 starter-flows-in-sidebar 2024-04-26 10:12:51 -04:00
Mendon Kissling
9370972e4e Merge branch 'dev' into introduction-quickstart-install 2024-04-26 10:05:37 -04:00
Mendon Kissling
ffde79fd5f qa-and-memory-content 2024-04-26 10:05:30 -04: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
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
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
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
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
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
Mendon Kissling
d5c43a0bf2 initial-content 2024-04-22 21:22:43 -04:00
Mendon Kissling
070215fbf2 add-content 2024-04-22 20:25:56 -04:00
Mendon Kissling
10ad5282a3 cleanup-sidebars 2024-04-22 20:25:37 -04:00
Mendon Kissling
8746b643ca cleanup-extra-files 2024-04-22 20:25:21 -04:00
Mendon Kissling
4a7c1bdc8d update-image 2024-04-22 16:19:38 -04:00
Mendon Kissling
879449c564 img-settings 2024-04-22 16:07:34 -04:00
Mendon Kissling
606e7a8ee9 initial-content 2024-04-22 15:45:17 -04:00
Mendon Kissling
01c5ac6e32 Merge branch 'dev' into docs-document-qa 2024-04-19 17:32:40 -04:00
Mendon Kissling
f7ae63e1ca cleanup 2024-04-19 17:30:06 -04:00
Mendon Kissling
e4cfcbc201 initial-content 2024-04-19 17:29:49 -04:00
Gabriel Luiz Freitas Almeida
09fd88a0d0
Update Uvicorn command in Dockerfiles and shell script to use langflow.main:create_app instead of src.backend.langflow.main:create_app (#1751)
* Update Uvicorn command in Dockerfiles and shell script to use langflow.main:create_app instead of src.backend.langflow.main:create_app

* Update Uvicorn command in Dockerfiles and shell script to use asyncio event loop
2024-04-19 18:22:27 -03:00
Mendon Kissling
1a9bc87cff Merge branch 'dev' into docs-memory-chatbot 2024-04-19 15:10:53 -04:00
Mendon Kissling
faad3ffb36 anchor 2024-04-19 15:10:41 -04:00
Mendon Kissling
bec8243834 initial-content 2024-04-19 15:09:47 -04:00
cristhianzl
00b7bbae3c (codeAreaModalComponent.spec.ts): comment out unused code and remove unused import to improve code readability and maintainability
 (store.spec.ts): add a delay before selecting the "Alphabetical" option to ensure the dropdown is fully loaded before interacting with it
2024-04-19 15:51:19 -03:00
cristhianzl
3727c98937 📝 (codeAreaModalComponent.spec.ts): remove unnecessary code that checks for invalid syntax in the test case
♻️ (codeAreaModalComponent.spec.ts): refactor test case to remove redundant code and improve readability
2024-04-19 14:58:57 -03:00
Mendon Kissling
013cb561cc restore-deleted-page-to-fix-build 2024-04-19 13:47:20 -04:00
cristhianzl
d87456f29c (textInputOutput.spec.ts): remove redundant expectations for contentOutput variable to improve test readability 2024-04-19 14:15:48 -03:00
Mendon Kissling
79cf9b10de clarify-component 2024-04-19 12:02:21 -04:00
cristhianzl
61371152fe 🔧 (Makefile): add command to kill any process running on port 3000 before starting the frontend server to avoid conflicts 2024-04-19 12:39:44 -03:00
cristhianzl
4965dca588 🔧 (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-19 12:38:57 -03:00
Mendon Kissling
3c5f9a3a83 remove-duplicate-doc 2024-04-19 11:17:58 -04:00