Commit graph

13,633 commits

Author SHA1 Message Date
Cristhian Zanforlin Lousa
595746e797
fix: Fix api_key missing error when adding a flow in ComposIO + tests (#3432)
* 🐛 (ComposioAPI.py): Fix issue where build_config was not being updated correctly when api_key is not empty

* 🐛 (GenericNode/index.tsx): Fix potential null pointer exception by adding non-null assertion operator to info property access
 (generalBugs-shard-11.spec.ts): Add end-to-end tests to ensure users can use ComposIO without api_key error and connect tools successfully
2024-08-19 19:45:09 +00:00
Cristhian Zanforlin Lousa
886a8c6bed
fix: Remove unnecessary error return when all components are erased from a flow (#3433)
🔧 (use-save-flow.ts): remove unnecessary error data setting when saving an empty flow to improve code readability and maintainability
2024-08-19 19:39:48 +00:00
Cristhian Zanforlin Lousa
66110f24e2
tests: Add Tests for New Auto-Saving Feature (#3428)
*  (index.tsx): Add data-testid attribute to the save button for testing purposes
 (auto-save-off.spec.ts): Add end-to-end test for manually saving a flow when auto_save is off

* ⬆️ (auto-save-off.spec.ts): decrease wait time from 5000ms to 3000ms for improved test efficiency

* moving auto-save-off test to scheduled folder
2024-08-19 16:17:03 -03:00
Gabriel Luiz Freitas Almeida
75dbb68dfc
feat: add ComponentTool to support converting Component to Tool (#3412)
* feat: Add ComponentTool to convert a Component to a Tool

* test(component): add unit test for ComponentTool with ChatInput input.

* feat: Add method to convert Component to ComponentTool.

* feat: Add unit test for ChatInput to Tool conversion.

* chore: add comment

* test: fix assertion

---------

Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2024-08-19 10:05:59 -07:00
Gabriel Luiz Freitas Almeida
149c96d26c
feat: add function to create input schema from component inputs (#3411)
* feat: Add function to create input schema from list of input types.

* feat: Add unit tests for creating input schemas.

* refactor(io): Improve input schema creation logic.

* refactor(schema): Simplify eval call in create_input_schema function.

* fix: Change ValueError to TypeError in create_input_schema to reflect correct exception.

* refactor: refactor create_input_schema to accept a list of input instances.
2024-08-19 09:36:05 -07:00
Cristhian Zanforlin Lousa
08d2d89e4f
tests: add freeze component feature test (#3365)
 (freeze.spec.ts): Add end-to-end test for freezing a component to ensure the functionality works as expected.
2024-08-19 14:15:06 +00:00
anovazzi1
0f2729da8d
refactor: add use-download-files hook for downloading files on chat (#3399)
* feat: add useGetDownloadFileMutation hook for downloading files

This commit adds a new hook called useGetDownloadFileMutation to handle the downloading of files in the frontend. The hook takes in the path and filename as parameters and uses the fetch API to download the file. It then creates a URL object for the downloaded file and sets it as the href of a dynamically created anchor element. Finally, it triggers a click event on the anchor element to initiate the file download. The URL object is revoked after the download is complete.

* feat: add use-download-files hook for downloading files on chat

This commit adds a new hook called use-download-files to handle the downloading of files in the frontend. The hook takes in the path and filename as parameters and uses the fetch API to download the file. It then creates a URL object for the downloaded file and sets it as the href of a dynamically created anchor element. Finally, it triggers a click event on the anchor element to initiate the file download. The URL object is revoked after the download is complete.

* [autofix.ci] apply automated fixes

* feat: refactor file download handling in chat view

Refactor the file download handling in the chat view by introducing a new hook called `use-download-files`. This hook takes in the path and filename as parameters and uses the fetch API to download the file. It creates a URL object for the downloaded file and sets it as the href of a dynamically created anchor element. Finally, it triggers a click event on the anchor element to initiate the file download. The URL object is revoked after the download is complete.

* remove console.log

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cristhian Zanforlin Lousa <72977554+Cristhianzl@users.noreply.github.com>
2024-08-19 13:06:40 +00:00
anovazzi1
2a27b083f6
refactor: Update lazy loading imports in routes.tsx (#3353)
* refactor: Update lazy loading imports in routes.tsx

The code changes in `routes.tsx` refactor the lazy loading imports by removing unnecessary code duplication and reorganizing the import statements. This improves the readability and maintainability of the code.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-19 10:00:58 -03:00
Cristhian Zanforlin Lousa
c03677c4fb
tests: add test to stop building feature (#3364)
*  (use-icons-status.tsx): Add data-testid attribute to Loading component for testing purposes
 (index.tsx): Add data-testid attribute to stop building button for testing purposes
 (stop-building.spec.ts): Add end-to-end test to ensure user can stop a building process

*  (stop-building.spec.ts): Add additional tests to ensure the user can stop a building process successfully and verify the button functionality.

* test(stop-building.spec.ts): Comment out wait timeouts

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-08-19 09:22:32 -03:00
Cristhian Zanforlin Lousa
a5cdab68bb
tests: Categorize Tests into CI and Scheduled Groups (#3391)
* categoring tests

*  (actionsMainPage-shard-1.spec.ts): Add end-to-end tests for selecting and deleting items, searching flows, and searching components on the main page to ensure proper functionality and user experience.

* 📝 (frontend/tsconfig.json): update file paths in include section to match the correct directory structure for scheduled-end-to-end tests.

* 🔧 (typescript_test.yml): update path in the command to change directory to run end-to-end tests in the frontend folder
📝 (typescript_test.yml): improve comments for better readability and understanding of the workflow logic

* add yml configuration to choose folder to run CI

* 🔧 (ci.yml): Fix formatting issues and add support for running tests in a specific folder
📝 (ci.yml): Update job dependencies to improve readability and maintainability of the workflow configuration

* ♻️ (typescript_test.yml): refactor matrix values for shardIndex and shardTotal to reduce redundancy and improve readability

* categoring tests

*  (actionsMainPage-shard-1.spec.ts): Add end-to-end tests for selecting and deleting items, searching flows, and searching components on the main page to ensure proper functionality and user experience.

* 📝 (frontend/tsconfig.json): update file paths in include section to match the correct directory structure for scheduled-end-to-end tests.

* 🔧 (typescript_test.yml): update path in the command to change directory to run end-to-end tests in the frontend folder
📝 (typescript_test.yml): improve comments for better readability and understanding of the workflow logic

* add yml configuration to choose folder to run CI

* 🔧 (ci.yml): Fix formatting issues and add support for running tests in a specific folder
📝 (ci.yml): Update job dependencies to improve readability and maintainability of the workflow configuration

* ♻️ (typescript_test.yml): refactor matrix values for shardIndex and shardTotal to reduce redundancy and improve readability

* 🐛 (fileUploadComponent.spec.ts): fix file path for file upload to correctly locate the test file in the assets folder

* changing test_folder

*  (fileUploadComponent.spec.ts): update file path for file upload test to match new file location in the project structure

* fix input on playwright command
2024-08-16 18:13:47 -03:00
Lucas Oliveira
0d60fbf3e7
fix: auto saving config (#3395)
* remove env definition from vite

* add get config query

* add save config hook to add info to autosaving and axios

* Use save config hook to get info

* Create autoSaving variable on flowsManagerStore

* Adds autoSaving from store into every place that used the env variables

* fix wrong url

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-08-16 17:23:11 -03:00
David Oplatka
b0619f59ff
fix: adds credentials fields in Vectara RAG component (#3396)
* Fix Component

* Final Edits

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-16 20:06:16 +00:00
Gabriel Luiz Freitas Almeida
d313137f8c
feat: add starter project graphs (#3369)
* feat: Add basic prompting graph function.

* feat: Add blog writer starter project function.

* feat(langflow): Add document QA starter project.

* feat: Add memory chatbot graph function to create chatbot with memory component.

* feat: Add hierarchical tasks agent graph to handle sequential tasks.

* feat: Add a function to create a sequential tasks agent with specific tasks.

* feat: Add vector_store_rag module with ingestion and RAG graphs.

* Refactor: Update the hierarchical task agent to use builder methods for agents and models.

* feat: Refactor sequential tasks agent to utilize build_model and build_output methods.

* refactor: Rename functions in blog_writer, document_qa, and vector_store_rag to end with "_graph".

* feat: Add new graphs to starter projects __init__.py.

* feat: Add complex agent graph setup with prompts, tools, and agents.

* refactor: Add complex agent graph to starter projects.

* feat: Add starter project graphs and dump retrieval functions.

* test: Refactor test_directory_without_mocks method with temporary directory for testing purposes.
2024-08-16 12:47:19 -07:00
Gabriel Luiz Freitas Almeida
212a566dfc
fix: Handle KeyError in template parameter mapping and suggest closest match if not found (#3366) 2024-08-16 12:42:36 -07:00
Gabriel Luiz Freitas Almeida
16afd44295
fix: makes outputs be correctly retrieved from edge (#3392)
* feat: Add optional target handle name in get_result method.

* fix: Improve logic to consider target handle name in ComponentVertex.

Fixes #3380
2024-08-16 19:11:59 +00:00
Gabriel Luiz Freitas Almeida
c00e687ec1
feat: add auto_save option to Settings and CLI (#3386)
* feat: Add auto save feature in Langflow run function.

* feat: Add auto_save field to ConfigResponse model.

* refactor: Move logger import to the top in __main__.py and update auto save option help message.

* refactor: Update variable names for auto save to auto saving.
2024-08-16 18:39:19 +00:00
Gabriel Luiz Freitas Almeida
93e0ffb05e
ci: allow specifying python versions and limit ci to 3.10 only (#3388)
* ci(python-test): Add ability to specify Python versions to test.

* ci: Specify Python version 3.10 for backend tests.

* build: Require python-versions input in workflow file.
2024-08-16 11:28:35 -07:00
Lucas Oliveira
00d2cffe46
fix: auto save ui and env var (#3384)
* Added new confirmation modal for saving

* Fixed save button

* fixed header classes

* updated docs link

* Added different message to auto saving

* Changed tooltip to appear in saved text, not in button

* Changed tooltip back to previous when auto saving is enabled

* changed auto_save to auto_saving

* Fixed build not appearing and icons

* Changed modal when autosave is enabled

* 🐛 (menuBar/index.tsx): fix condition for disabling save button to include isBuilding flag to prevent saving during build process

* fix current flow not being updated on set nodes and edges and fix modal not letting user leave when flow is empty

* Removed console log

* Fix add flow not adding the flow that comes from the backend

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Cristhian Zanforlin Lousa <72977554+Cristhianzl@users.noreply.github.com>
2024-08-16 18:17:42 +00:00
Gabriel Luiz Freitas Almeida
14ca9c9f9d
fix: Sort first layer in graph initialization. (#3383) 2024-08-16 18:11:39 +00:00
Gabriel Luiz Freitas Almeida
e4e1a747f8
test: Fix assertion in test_get_vertices function. (#3387)
* test: Fix assertion in test_get_vertices function.

* test: fix set

---------

Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2024-08-16 10:49:02 -07:00
Lucas Oliveira
dc10cdd1d5
docs: auto saving (#3389)
* Added auto saving page

* Added more auto saving documentation

* Update docs/docs/Configuration/configuration-auto-saving.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Configuration/configuration-auto-saving.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Configuration/configuration-auto-saving.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Configuration/configuration-auto-saving.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Configuration/configuration-auto-saving.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Configuration/configuration-auto-saving.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2024-08-16 17:20:12 +00:00
Gabriel Luiz Freitas Almeida
c4d2dc56c7
fix(edge): Handle invalid input types when creating TargetHandle (#3368)
* fix(edge): Handle invalid input types when creating TargetHandle

* test(edge): add test for raising error on invalid target handle

* fix: mypy error union-attr

---------

Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2024-08-16 07:52:43 -07:00
Gabriel Luiz Freitas Almeida
8de100eae3
feat: add description on graph (#3371)
* feat: Add optional description attribute to Graph class and handle description in serialization.

* refactor: Remove 'type' field from NodeData class.

* refactor: Set default graph name if not provided.

* fix: mypy error typeddict-item

---------

Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2024-08-16 14:50:58 +00:00
anovazzi1
26bc6bc645
fix: Add TableNodeComponent and set default formatter type (#3382)
* feat: Add TableNodeComponent for rendering table data in ParameterRenderComponent

* refactor: Set default formatter type for columns in FormatColumns function

* [autofix.ci] apply automated fixes

* refactor: Improve object rendering in ObjectRender component

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-16 14:47:44 +00:00
Gabriel Luiz Freitas Almeida
640f1becf3
build(langchain-core): Update langchain-core to version 0.2.32. (#3372) 2024-08-16 06:46:21 -07:00
Anand Dev Singh
6f001c64be
fix: Corrected Changed the data type of number field from string to number (#3363)
* Changed the data type of number field from string to number

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-15 21:15:12 +00:00
Gabriel Luiz Freitas Almeida
fc95e2ec58
feat: add condition to create cycle edge (#3341)
* feat: Implement edge type based on cycles in the graph.

* refactor: Change next_runnable_vertices to a set to avoid duplicates.

* feat: Add property for cycles in Graph class.

* feat(graph): Add is_cyclic property to Graph class.

* refactor: Update test_memory_chatbot.py with new assertions and modifications.

* refactor: Update set_output_value to set_on_output in starter projects test vector store rag.

* feat: Add test for cyclic behavior in graph with max iterations.

* merge main
2024-08-15 17:03:31 +00:00
Gabriel Luiz Freitas Almeida
2baee5fef1
feat: get result from output if possible (#3338)
* refactor: Extract method to set params from normal edge in Vertex class.

* feat: Add method to retrieve value from template dict in Vertex class.

* feat: Add handling for cycle and contract edge targets in ComponentVertex build method.

* refactor: Update result retrieval logic in ComponentVertex class.

* refactor: Add condition to check flow_id before creating log transactions.

* refactor: Add missing `Edge` import and cast `cast` in types.py for better typing.
2024-08-15 16:44:06 +00:00
Gabriel Luiz Freitas Almeida
450ebb723a
ci: Refactor report merge step to only run if necessary. (#3361) 2024-08-15 08:54:32 -07:00
Gabriel Luiz Freitas Almeida
cdab352bc8
feat: Add timeout parameter to HTTP request in StoreService. (#3362) 2024-08-15 06:50:11 -07:00
Gabriel Luiz Freitas Almeida
bb923cf9e1
feat: update output attribute handling (#3329)
* refactor: improve function structure in _build_results

* fix: remove function call that overrides Component.outputs

* refactor: Add handling for outputs in __getattr__ method.
2024-08-15 13:00:09 +00:00
Ítalo Johnny
93537933c3
fix: handle case where tweak values are nested dicts (#3349) 2024-08-15 11:36:30 +00:00
Gabriel Luiz Freitas Almeida
db72268a04
chore: remove unused script and log (#3343)
* refactor: Removed the unnecessary update_poetry script.

* fix: Handle existing .env file without logging unnecessary message.
2024-08-15 04:36:06 -07:00
anovazzi1
981f314a73
refactor: improve store and collection card components (#3350)
* refactor: add card store component

* refactor: use StoreCardComponent for displaying store cards

* refactor: Remove unused code

* refactor: Update Collection card to fit only to the my collection case

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-14 19:02:46 -03:00
anovazzi1
642df45bf6
enhancement: update widget code to use latest version of langflow-embedded-chat (#3347)
refactor: Update widget code to use latest version of langflow-embedded-chat
2024-08-14 21:26:32 +00:00
Gabriel Luiz Freitas Almeida
664da106d0
build: lock langchain-core to version 0.2.30. (#3348) 2024-08-14 13:17:31 -07:00
Gabriel Luiz Freitas Almeida
a90cb1249b
fix: do not mark self.stop caller (#3335)
* refactor: Refactor mark_branch method in Graph class.

* fix: do not mark caller vertex
2024-08-14 18:45:40 +00:00
anovazzi1
e5ee0ba946
refactor: Add ComponentTextModal and Prompt modal for displaying and editing text areas and components (#3346)
* add separated component for prompt modal

* refactor: rename promptAreaModal to promptModal and update type import

* refactor: update promptComponent to use PromptModal instead of GenericModal

* refactor: update textarea-primary class in applies.css

* refactor: add ComponentTextModal for displaying and editing text areas

Add a new component, ComponentTextModal, for displaying and editing text areas. This component includes a textarea input, a title, and an icon. It also supports password visibility toggling. The ComponentTextModal is used within a BaseModal component and includes a save button for finishing the editing process. This commit refactors the code to add the ComponentTextModal and its related functionality.

* refactor: Add ComponentTextModal for displaying and editing text areas

* delete genericModal component and their references

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-14 15:08:59 -03:00
Gabriel Luiz Freitas Almeida
7ce6a9ee03
feat: Add maximum iterations limit in Graph start method. (#3336)
* feat: Add maximum iterations limit in Graph start method.

* feat: Add OutputConfigDict and StartConfigDict to schema.py.

* feat: Add ability to apply configuration before starting graph.

* feat: Add max_iterations parameter to async_start method and update schema imports.
2024-08-14 11:06:25 -07:00
Lucas Oliveira
765895432e
refactor: folder fetching, folder sidebar and fix various issues (#3344)
* Removed unused code

* Separated folder sidebar from common sidebar

* Removed useOnFileDrop from common sidebar

* Added folderSidebarComponent that fetches the folders

* Added useOnFileDrop and SIdebarFoldersButton

* Make auth context not get folders

* Make delete folder refetch get folders

* Make folder mutations refetch the getFolder

* Create getFolder query

* Removed unused functions from useFolderStore

* Make isLoading from application depend only on flows

* Make main page not refetch folders

* Change types of folders store

* removed getFolders refetch on duplicateFolders

* Added loading from query into ComponentsComponent

* Made the flow page get the flows and types if they're not available

* Made the loading be the isLoading only

* Removed unused function

* Make cards appear even if it didnt load

* Removed setLoading of various pages

* Fixed loading happening every time the flow changes

* Added skeleton instead of loading on folders

* Added routing to contain folderId on both flows and initial page

* remove redirect of useFileDrop

* remove folderid getting from state

* removed setAllFlows

* chore: Remove unused variables and functions in useDuplicateFlows hook

* Added refetch of folders when the flow is deleted or added

* Changed redirectToLastLocation to redirect to last folder also

* Added upload flow to folder tanstack and refetched folders on upload

* Added loading of current folder on display of empty component

* Removed refetching folder on file drop

* Removed unused code

* Fixed add new flow from header not redirecting correctly

* Fixed unused code

* Added undefined on setting current flow as empty

* Added disable top bar and make it be displayed on the top of an empty folder

* Fixed select all checked when deleting all flows
2024-08-14 14:40:18 -03:00
Gabriel Luiz Freitas Almeida
1d8a24eb86
refactor: rename ContractEdge to CycleEdge (#3334)
* refactor: Add CycleEdge class and make necessary adjustments in base.py files.

* refactor: Change ContractEdge to CycleEdge for consistency in vertex class properties.

* [autofix.ci] apply automated fixes

* refactor: Update type hints in types.py and base.py.

* [autofix.ci] apply automated fixes

* refactor(base.py): Update imports in base.py.

* [autofix.ci] apply automated fixes

* refactor: Changed ContractEdge to CycleEdge for building and getting edges.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-14 17:39:16 +00:00
Gabriel Luiz Freitas Almeida
8d83c3a8bf
feat: Add method to set specific parameters on output object. (#3328) 2024-08-14 17:29:11 +00:00
Gabriel Luiz Freitas Almeida
33e72f162f
refactor: Prevent infinite loop in get_successors function. (#3332)
* refactor: Prevent infinite loop in get_successors function.

* feat(base): improve get_all_successors method to handle cyclic graphs and flat parameter efficiently
2024-08-14 10:04:51 -07:00
Gabriel Luiz Freitas Almeida
15dc4347e0
refactor: Simplify __repr__ method in Edge and ContractEdge classes. (#3333) 2024-08-14 16:54:10 +00:00
Gabriel Luiz Freitas Almeida
77b071155c
feat: add functions to detect cycles in Graph (#3327)
* feat: Add functions to detect cycles in directed graphs.

* test: Add new test cases for cycle detection in graph utils.

* test: temporarily disable test

---------

Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2024-08-14 16:14:56 +00:00
anovazzi1
0e2f27736c
refactor: update keyboard shortcuts display (#3316)
* remove repeated code

* refactor: remove useless code

* feat: sort input parameters in GenericNode renderInputParameter

* refactor: remove unused code in GenericNode component

* refactor: add NodeName component for displaying and editing node names

* refactor: add NodeDescription component for displaying and editing node descriptions

* fix import and add autofocus on nodeName

* feat: add NodeStatus component for displaying and managing node status

* [autofix.ci] apply automated fixes

* refactor: remove unused code in GenericNode component

* fix bugs on minimize

* [autofix.ci] apply automated fixes

* refactor: remove unused code and handle count in GenericNodeToolbar component

* refactor: Add useShortcuts hook for handling keyboard shortcuts in nodeToolbarComponent

* refactor: Add keyboard shortcuts handling to nodeToolbarComponent need to test

* refactor: Update FreezeAllVertices function in NodeToolbarComponent

* feat: Add getNodeLength function to calculate the length of a node's template fields

* refactor: Update RenderIcons component to use navigator.platform for detecting macOS

* refactor: Add ShortcutDisplay component to nodeToolbarComponent

* refactor: Update nodeToolbarComponent to remove RenderIcons and add ShortcutDisplay

* refactor: Improve keyboard shortcuts handling in nodeToolbarComponent

* [autofix.ci] apply automated fixes

* refactor: Add OptionIcon to nodeIconsLucide

* feat: Add SHORTCUT_KEYS constant

* feat: Add SHORTCUT_KEYS constant

* refactor: Add RenderKey component for rendering keyboard shortcuts

* refactor: Update RenderIcons component to use RenderKey for rendering keyboard shortcuts

* update shortcut page to use shortcut icons

* [autofix.ci] apply automated fixes

* Update Astra link in README.md (#3314)

* Update link in README.md

* Update README.md

* Update getting-started-installation.md

* Update README.KR.md

* Update README.ja.md

* refactor: Simplify NodeToolbarComponent's save flow logic

* [autofix.ci] apply automated fixes

* feat: Google Drive Search Component (#3319)

* feat: Google Drive Search Component

feat: Google Drive Search Component
Ability to search Google Drive and get back the relevant Doc id or Doc urls

* Updated Google Drive Search.py

* feat: Add support for metadata filtering and namespaces for the Upstash Vector component (#3254)

* feat: add metadata filtering and namespace support for the upstash vector component

* docs: add upstash vector to the vectorstores doc

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* ci: Update pytest configuration and add pytest-flakefinder. (#3330)

* chore: Refactor NodeToolbarComponent to simplify code structure

* [autofix.ci] apply automated fixes

* refactor: Simplify NodeToolbarComponent's save flow logic

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Leventer <3254549+alexleventer@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: ytkimirti <yusuftaha9@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-08-14 12:28:46 -03:00
anovazzi1
7fe6c53b37
refactor: improve node toolbar code (#3311)
* remove repeated code

* refactor: remove useless code

* feat: sort input parameters in GenericNode renderInputParameter

* refactor: remove unused code in GenericNode component

* refactor: add NodeName component for displaying and editing node names

* refactor: add NodeDescription component for displaying and editing node descriptions

* fix import and add autofocus on nodeName

* feat: add NodeStatus component for displaying and managing node status

* [autofix.ci] apply automated fixes

* refactor: remove unused code in GenericNode component

* fix bugs on minimize

* [autofix.ci] apply automated fixes

* refactor: remove unused code and handle count in GenericNodeToolbar component

* refactor: Add useShortcuts hook for handling keyboard shortcuts in nodeToolbarComponent

* refactor: Add keyboard shortcuts handling to nodeToolbarComponent need to test

* refactor: Update FreezeAllVertices function in NodeToolbarComponent

* feat: Add getNodeLength function to calculate the length of a node's template fields

* refactor: Update RenderIcons component to use navigator.platform for detecting macOS

* refactor: Add ShortcutDisplay component to nodeToolbarComponent

* refactor: Update nodeToolbarComponent to remove RenderIcons and add ShortcutDisplay

* refactor: Improve keyboard shortcuts handling in nodeToolbarComponent

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-14 15:04:25 +00:00
Ítalo Johnny
493b73f9d8
fix: add double quotes to curl command generation (#3337) 2024-08-14 14:36:00 +00:00
Gabriel Luiz Freitas Almeida
9035f1194f
ci: Update pytest configuration and add pytest-flakefinder. (#3330) 2024-08-14 14:29:03 +00:00
ytkimirti
ce17bd4e71
feat: Add support for metadata filtering and namespaces for the Upstash Vector component (#3254)
* feat: add metadata filtering and namespace support for the upstash vector component

* docs: add upstash vector to the vectorstores doc

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-14 07:18:45 -07:00