Commit graph

  • 8db39dbb30 fix: 🐛 fixes condition in release workflow Gabriel Luiz Freitas Almeida 2023-08-03 12:49:49 -03:00
  • 9d3ea4f779 🔖 chore(pyproject.toml): bump version from 0.4.0 to 0.4.1 for langflow package Gabriel Luiz Freitas Almeida 2023-08-03 11:47:40 -03:00
  • d90b6c2691 🐛 fix(types.py): change update_display_name_and_description function name to update_attributes to reflect its purpose more accurately 🐛 fix(component.py): change field_config key to beta in template_config dictionary to match the expected key Gabriel Luiz Freitas Almeida 2023-08-03 11:43:18 -03:00
  • 2fa7810ff8 Merge branch 'dev' into authentication gustavoschaedler 2023-08-03 15:31:24 +01:00
  • 2cc74f2360 refactor(ModalField): remove unused 'id' prop to improve code readability and maintainability anovazzi1 2023-08-02 22:45:26 -03:00
  • c1fc501e62 refactor(NodeModal): remove unnecessary id attribute from input element anovazzi1 2023-08-02 22:44:41 -03:00
  • 5afc10f721 update validateNode function to use handle id as JSON anovazzi1 2023-08-02 22:39:42 -03:00
  • 3a185d915d fix(reactflowUtils.ts): import Edge from reactflow to fix type error refactor(reactflowUtils.ts): update updateIds function to handle changes in edge sourceHandle and targetHandle properties anovazzi1 2023-08-02 22:31:47 -03:00
  • db473f6f0d migrate isValidConnection to handle in JSON format anovazzi1 2023-08-02 22:23:16 -03:00
  • f4829bf21d 🔀 chore(base.py): import SQLDatabaseChain from langchain_experimental.sql with type ignore to suppress type checking error Gabriel Luiz Freitas Almeida 2023-08-02 22:12:45 -03:00
  • d397f4457f 🔀 merge(base.py): add SQLDatabaseChain to the ChainCreator's type_dict to enable support for SQL database chains 📦 chore(pyproject.toml): add langchain-experimental package as a dependency Gabriel Luiz Freitas Almeida 2023-08-02 22:05:52 -03:00
  • 32bcb08bdb fix(reactflowUtils.ts): refactor cleanEdges function to use JSON.parse and JSON.stringify for targetHandle and sourceHandle variables to improve readability and maintainability anovazzi1 2023-08-02 21:41:30 -03:00
  • 19b5a05af0 fix(reactflowUtils.ts): import Edge from reactflow to fix type error and improve code semantics feat(reactflowUtils.ts): add getConnectedNodes function to retrieve connected nodes based on an edge fix(styleUtils.ts): remove unused getConnectedNodes function anovazzi1 2023-08-02 21:26:18 -03:00
  • 565a62d87c remove console.log Igor Carvalho 2023-08-02 19:09:14 -03:00
  • 5e65397773 refactor: Reduce errors on types Igor Carvalho 2023-08-02 19:08:39 -03:00
  • 84c2d5d3c8
    Adds Custom Components and documentation (#704) Gabriel Luiz Freitas Almeida 2023-08-02 16:09:15 -03:00
  • 81f195e8da 🔧 chore(constants.py): remove unused classes "Runnable" and "Generic" from CLASSES_TO_REMOVE list 🔇 chore(test_chains_template.py): comment out unused test_chains_settings test function Gabriel Luiz Freitas Almeida 2023-08-02 15:57:45 -03:00
  • 22f75bf804 🔺 chore(pyproject.toml): update langchain dependency version to ^0.0.250 for compatibility and bug fixes Gabriel Luiz Freitas Almeida 2023-08-02 15:55:26 -03:00
  • 5d75d46aef 🐛 fix(loading.py): handle invalid JSON strings in kwargs by removing the key from params Gabriel Luiz Freitas Almeida 2023-08-02 15:54:57 -03:00
  • a4319eaa43 Merge dev into types_refactor Igor Carvalho 2023-08-02 14:30:10 -03:00
  • 214aef76bf Fixed formModal Lucas Oliveira 2023-08-02 12:07:45 -03:00
  • 3733743da3 Revert "Fixed bug of fastavro version and form modal memory keys" Lucas Oliveira 2023-08-02 12:07:21 -03:00
  • 4254d5d751 Revert "poetry lock fixed" Lucas Oliveira 2023-08-02 12:07:16 -03:00
  • dbcd613251 Revert "Removed unused console log" Lucas Oliveira 2023-08-02 12:07:08 -03:00
  • 4f2fc11045 🔥 refactor(App.tsx): remove unused code related to preventing control+backspace event Cristhian Zanforlin Lousa 2023-08-02 11:52:33 -03:00
  • da7391e783 Removed unused console log Lucas Oliveira 2023-08-02 11:44:35 -03:00
  • 23a26319e3 Merge branch 'dev' into python_custom_node_component gustavoschaedler 2023-08-02 15:42:08 +01:00
  • aa33cbd6cf poetry lock fixed Lucas Oliveira 2023-08-02 11:40:35 -03:00
  • f5cb771018 Fixed bug of fastavro version and form modal memory keys Lucas Oliveira 2023-08-02 11:37:11 -03:00
  • 968fef6dfa ⬆️ chore(pyproject.toml): add fastavro as a dependency in the project Gabriel Luiz Freitas Almeida 2023-08-02 10:58:07 -03:00
  • 89671a8859 🐛 fix(App.tsx): add support for preventing control+backspace event on the application to improve user experience Cristhian Zanforlin Lousa 2023-08-01 23:21:58 -03:00
  • 44686dda06 fix(GenericNode/index.tsx): fix indentation of Tooltip component to improve code readability anovazzi1 2023-08-01 22:19:47 -03:00
  • fbca8497d6 refactor(reactflowUtils.ts): improve variable names and add type checking for source and target nodes in updateEdgesHandleIds function fix(reactflowUtils.ts): fix assignment of newTarget in updateEdgesHandleIds function to correctly set type, fieldName, id, and inputTypes properties fix(reactflowUtils.ts): fix assignment of newSource in updateEdgesHandleIds function to correctly set dataType, id, and baseClasses properties fix(reactflowUtils.ts): fix assignment of sourceHandle and targetHandle in updateEdgesHandleIds function to correctly stringify newSource and newTarget objects anovazzi1 2023-07-26 18:28:27 -03:00
  • 75c4d3e85c refactor(reactflowUtils.ts): add type definitions for updateEdgesHandleIdsType to improve code readability and maintainability feat(reactflowUtils.ts): implement updateEdgesHandleIds function to update handle ids in edges based on node changes anovazzi1 2023-07-19 17:37:54 -03:00
  • 1e3c918880 update old handle as string to json format and types to easily use the new id as json anovazzi1 2023-07-19 14:48:09 -03:00
  • 6604ef5351 created type for HandleIds anovazzi1 2023-07-12 17:49:15 -03:00
  • 8c2ce3f209 🔀 merge(frontend): resolve merge conflict in reactflowUtils.ts file 🐛 fix(frontend): remove unnecessary merge conflict markers in reactflowUtils.ts file Cristhian Zanforlin Lousa 2023-08-01 20:21:06 -03:00
  • 2f1f3ee9d8 🐛 fix(App.tsx): prevent default behavior of Ctrl+Backspace key combination to improve user experience Cristhian Zanforlin Lousa 2023-08-01 20:15:54 -03:00
  • 3a76d2de59 🐛 fix(parameterComponent): change default value for unknown node family to "Other" for better clarity Gabriel Luiz Freitas Almeida 2023-08-01 19:27:08 -03:00
  • 5b9bed07b5 🔥 chore(custom.py): remove custom component file gustavoschaedler 2023-08-01 23:17:23 +01:00
  • ba1fe2c815 Merge branch 'dev' of personal:logspace-ai/langflow into dev anovazzi1 2023-08-01 18:55:30 -03:00
  • 1d20a91b6e fix csv file upload bug anovazzi1 2023-08-01 18:53:47 -03:00
  • a09e57b9ef 🔧 chore(__main__.py): update components_path default value to include "components" directory for better organization 🔧 chore(custom.py): update description of YourComponent to be more descriptive and accurate Gabriel Luiz Freitas Almeida 2023-08-01 18:24:19 -03:00
  • 0fa15d2d91 ✨ feat(custom.py): add new custom component 'YourComponent' to the project gustavoschaedler 2023-08-01 22:18:54 +01:00
  • 9f97ecba25 🐛 fix(__main__.py): fix default value of components_path option to point to the correct directory ✨ feat(__main__.py): add support for LANGFLOW_COMPONENTS_PATH environment variable to specify the directory containing custom components Gabriel Luiz Freitas Almeida 2023-08-01 18:12:02 -03:00
  • f4271ba4d9 🔧 chore(settings.py): add debug logs to track the behavior of components_path configuration ✨ feat(settings.py): add support for LANGFLOW_COMPONENTS_PATH environment variable to add custom components path to components_path Gabriel Luiz Freitas Almeida 2023-08-01 18:09:01 -03:00
  • 3e465f6df3 📝 docs(flow-runner.mdx): update example code formatting and fix indentation for better readability 🖼️ chore(flow_runner_code.png): update flow_runner_code.png image Gabriel Luiz Freitas Almeida 2023-08-01 17:49:58 -03:00
  • 11854ccdb3 🔧 chore(constants.py): update default custom component code to improve readability and remove unnecessary imports ✨ feat(constants.py): update display name and description of the custom component to improve clarity and user experience 🔧 chore(custom_components.py): update display name of the custom component to improve clarity and user experience Gabriel Luiz Freitas Almeida 2023-08-01 17:44:02 -03:00
  • 6450ec0e7b Changed Display Name from custom_components Lucas Oliveira 2023-08-01 16:41:16 -03:00
  • c112a42292 Merge branch 'main' into dev Gabriel Luiz Freitas Almeida 2023-08-01 16:02:03 -03:00
  • 7e8495efc2 formatting Gabriel Luiz Freitas Almeida 2023-08-01 15:45:06 -03:00
  • 6c872bf4ac 🐛 fix(custom_component.py): remove unnecessary return type annotation from _class_template_validation method 🐛 fix(custom_component.py): handle case when code is empty in is_check_valid method to avoid potential error 🐛 fix(types.py): change field_value parameter type from str to Any in add_new_custom_field function to allow any value type Gabriel Luiz Freitas Almeida 2023-08-01 15:44:23 -03:00
  • 535e13ca8a 🔖 chore(pyproject.toml): update package version from 0.3.3 to 0.4.0 ⬆️ chore(pyproject.toml): update langchain dependency from version 0.0.240 to 0.0.249 Gabriel Luiz Freitas Almeida 2023-08-01 15:38:30 -03:00
  • 7853749884
    Python custom node component (#610) Gustavo Schaedler 2023-08-01 19:32:49 +01:00
  • d7a13755b3
    Merge branch 'dev' into python_custom_node_component Gabriel Luiz Freitas Almeida 2023-08-01 15:31:44 -03:00
  • 70f8199287 🐛 fix(types.py): set default value of boolean custom field to False if value is None to prevent potential errors Gabriel Luiz Freitas Almeida 2023-08-01 11:09:04 -03:00
  • baf86152db Minor bug fixes Lucas Oliveira 2023-08-01 10:55:20 -03:00
  • 2f9ffd1d48 🐛 fix(flow-runner.mdx): handle case where document is a list and extract the first element to ensure compatibility with the flow 🔨 refactor(flow-runner.mdx): remove unnecessary comment and unused variable to improve code readability and maintainability Gabriel Luiz Freitas Almeida 2023-07-31 21:42:08 -03:00
  • 8a6a953179 📝 docs(custom.mdx): add description of the 'repr_value' attribute in the CustomComponent class 📝 docs(custom-component.mdx): update example code and description of the 'repr_value' attribute in the DocumentProcessor class Gabriel Luiz Freitas Almeida 2023-07-31 21:23:15 -03:00
  • 99ed85c03c 🐛 fix(directory_reader.py): handle SyntaxError when checking if type hint is used but not imported 🔍 refactor(directory_reader.py): improve error handling when checking if type hint is used but not imported Gabriel Luiz Freitas Almeida 2023-07-31 21:11:41 -03:00
  • 267d543420 🐛 fix(custom_component.py): update error message to include the specific type hint that is used but not imported in the code 🐛 fix(directory_reader.py): update error message to include the specific type hint that is used but not imported in the code gustavoschaedler 2023-07-31 23:22:12 +01:00
  • 082a61eadd 🐛 fix(custom_component.py): fix error message typo in CustomComponent class 🐛 fix(directory_reader.py): fix error message typo in DirectoryReader class gustavoschaedler 2023-07-31 23:07:02 +01:00
  • 15643263a8 🔧 chore(docusaurus.config.js): update remarkCodeHike configuration to use the "github-light" theme for better code highlighting aesthetics Gabriel Luiz Freitas Almeida 2023-07-31 18:58:51 -03:00
  • f1f1759f02 📝 docs(multiple-vectorstores.mdx): fix code block language from 'txt' to 'text' for clarity and consistency Gabriel Luiz Freitas Almeida 2023-07-31 18:54:46 -03:00
  • 0907e477fd 📝 docs(custom-component.mdx): improve clarity by emphasizing the --components-path argument using italics Gabriel Luiz Freitas Almeida 2023-07-31 18:46:31 -03:00
  • 68bd9ce4da 🐛 fix(styleUtils.ts): update the label for the 'unknown' node to 'Other' for better clarity and consistency Gabriel Luiz Freitas Almeida 2023-07-31 18:32:24 -03:00
  • 1fa00fcf8f 📝 docs(custom-component.mdx): add note about custom components appearing in 'Other' category if using a subdirectory not listed in config.yaml Gabriel Luiz Freitas Almeida 2023-07-31 18:31:52 -03:00
  • a5cb741fc5 📝 docs(custom-component.mdx): add instructions for loading custom components outside of the standard interface Gabriel Luiz Freitas Almeida 2023-07-31 18:15:56 -03:00
  • 868ecd86ab 📝 docs(README.md): remove unnecessary empty line 📝 docs(README.md): update Table of Contents formatting 📝 docs(README.md): update Installation section formatting 📝 docs(README.md): update Command Line Interface (CLI) section formatting 📝 docs(README.md): update Deployment section formatting 📝 docs(README.md): update API Usage section formatting Gabriel Luiz Freitas Almeida 2023-07-31 17:46:38 -03:00
  • a2ce598e08 🐛 fix(__main__.py): rename component_path to components_path for consistency and clarity ✨ feat(__main__.py): add support for components_path command line option to specify the directory containing custom components 🐛 fix(endpoints.py): rename settings.component_path to settings.components_path to match the updated attribute name in Settings class 🐛 fix(settings.py): rename component_path attribute to components_path for consistency and clarity Gabriel Luiz Freitas Almeida 2023-07-31 17:42:26 -03:00
  • af083f24d3 Fixed modal saving changes when not supposed to Lucas Oliveira 2023-07-31 17:44:55 -03:00
  • ddafdf31b5 🔧 fix(conftest.py): remove unused imports and commented out code ✨ feat(conftest.py): add session_getter fixture to create a blank session for testing 🔧 fix(test_custom_component.py): pass session_getter fixture to list_flows function for testing Gabriel Luiz Freitas Almeida 2023-07-31 17:31:40 -03:00
  • 2e7b35ddd5 🔧 fix(custom_component.py): change list_flows and get_flow methods to accept an optional get_session parameter for better flexibility and testability Gabriel Luiz Freitas Almeida 2023-07-31 17:28:29 -03:00
  • 6d6cc4609d
    Adds motorhead memory (#685) Gabriel Luiz Freitas Almeida 2023-07-31 16:11:36 -03:00
  • b2979bce17 🐛 fix(flow-runner.mdx): remove unnecessary load_flow calls and update get_flow method signature to include tweaks parameter 🚚 chore(flow-runner.mdx): update load_flow references to get_flow 🚚 chore(flow-runner.mdx): remove commented out code 🚚 chore(flow-runner.mdx): update load_flow references to get_flow Gabriel Luiz Freitas Almeida 2023-07-31 16:03:51 -03:00
  • c5585565c2
    Optional_deps (#589) Gabriel Luiz Freitas Almeida 2023-07-31 15:41:51 -03:00
  • 95bf9ba233 🔧 refactor(custom_component.py): refactor get_flow method signature to use Optional type hint for flow_name and flow_id parameters for better clarity and maintainability Gabriel Luiz Freitas Almeida 2023-07-31 15:02:13 -03:00
  • 10ca88f709 📝 docs(CONTRIBUTING.md): update contributing guidelines and local development instructions Gabriel Luiz Freitas Almeida 2023-07-31 14:58:05 -03:00
  • 92b99f82d9 📝 docs(how-contribute.md): update contribution guide with instructions for running documentation locally using Docusaurus 🐛 fix(how-contribute.md): fix formatting and add missing newline at end of file Gabriel Luiz Freitas Almeida 2023-07-31 14:56:10 -03:00
  • ec17b4e9d3 📝 docs(flow-runner.mdx): update explanation of using Document input in FlowRunner class Gabriel Luiz Freitas Almeida 2023-07-31 14:51:09 -03:00
  • 9cc0ae0242 📝 docs(flow-runner.mdx): add explanation about using Document as input in FlowRunner class Gabriel Luiz Freitas Almeida 2023-07-31 14:37:18 -03:00
  • ce0a67553a Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component Lucas Oliveira 2023-07-31 14:05:41 -03:00
  • 1687824453 Optimized code Lucas Oliveira 2023-07-31 14:01:54 -03:00
  • 1eda86658d 📝 docs(custom.mdx): fix formatting and typos in the CustomComponent class documentation 🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation 📝 docs(custom.mdx): improve readability and formatting in the CustomComponent class documentation 🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation 📝 docs(custom.mdx): update CustomComponent class documentation with additional methods and descriptions 🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation 📝 docs(custom.mdx): update CustomComponent class documentation with corrected method names and descriptions 🔀 docs(custom.mdx): merge changes from the CustomComponent class documentation Gabriel Luiz Freitas Almeida 2023-07-31 11:48:17 -03:00
  • e03e306292 📝 docs(flow-runner.mdx): fix typo in line 141, "looks" instead of "look like" 📝 docs(flow-runner.mdx): remove extra blank lines in code examples for better readability Gabriel Luiz Freitas Almeida 2023-07-31 11:46:23 -03:00
  • 5c42683b40 📝 docs(flow-runner.mdx): add example code for a Flow Runner custom component Gabriel Luiz Freitas Almeida 2023-07-31 10:58:02 -03:00
  • 16935ec198 🐛 fix(flow-runner.mdx): fix broken link to langchain.schema module in import statement 🐛 fix(flow-runner.mdx): remove unnecessary focus annotations in code snippets ✨ feat(flow-runner.mdx): add support for getting flow by name instead of id in build method ✨ feat(flow-runner.mdx): add caution about unique flow names in version 0.4.0 ✨ feat(flow-runner.mdx): add support for passing document parameter in build method 🐛 fix(flow-runner.mdx): remove redundant Optional type hint for document parameter in build method 🐛 fix(flow-runner.mdx): remove empty line at the end of the file Gabriel Luiz Freitas Almeida 2023-07-31 10:50:49 -03:00
  • ac46fff761 Formattef code Lucas Oliveira 2023-07-31 10:53:42 -03:00
  • 2720d27e30 Fixed error showing when not supposed to Lucas Oliveira 2023-07-31 10:53:03 -03:00
  • ce2f750626 Optimized code Lucas Oliveira 2023-07-31 10:50:32 -03:00
  • 566c48166e 🔀 refactor(custom_component.py): modify get_flow method to accept keyword arguments for flow_name and flow_id to improve flexibility and readability Gabriel Luiz Freitas Almeida 2023-07-31 10:35:48 -03:00
  • 5de0b2d5ad Fixed input types logic on tooltip Lucas Oliveira 2023-07-31 10:27:37 -03:00
  • 9acb6fef36 🚀 feat(custom_component.py): add methods to retrieve flow by name and flow by id for CustomComponent 🐛 fix(custom_component.py): fix indentation issue in CustomComponent class Gabriel Luiz Freitas Almeida 2023-07-31 10:26:27 -03:00
  • 2ec4cf1a55 Fixed logic of getting tooltips, added description when tooltip is empty Lucas Oliveira 2023-07-31 09:57:06 -03:00
  • 3683c01102 Added scroll on tooltip, added logic to check base_classes in flow nodes before the /all list Lucas Oliveira 2023-07-31 08:41:52 -03:00
  • 7b12bb5e5b review flow-runner example Rodrigo Nader 2023-07-31 02:22:23 -03:00
  • 060fa07398 change announcement color Rodrigo Nader 2023-07-30 18:05:16 -03:00
  • 1cba53fcc9 minor Rodrigo Nader 2023-07-30 17:59:12 -03:00
  • 5a12848e49 minor Rodrigo Nader 2023-07-30 17:53:33 -03:00
  • 1590aa491a Optimized groupByFamily and implemented output tooltip showing the nodes that receive its output Lucas Oliveira 2023-07-28 21:26:08 -03:00