Commit graph

  • a9c7fc0a69 🔧 chore(config): add VectorStoreToolkit to toolkits list 🐛 fix(base.py): remove deepcopy for VectorStore and VectorStoreRouter agents 🐛 fix(nodes.py): remove deepcopy for VectorStore and VectorStoreRouter agents 🔧 chore(loading.py): comment out unused code for loading toolkits 🐛 fix(toolkits/base.py): add Tool to base_classes in get_signature method The changes to the config file add the VectorStoreToolkit to the list of toolkits. The deepcopy for VectorStore and VectorStoreRouter agents was causing issues, so it was removed from the base.py and nodes.py files. The loading.py file had some unused code for loading toolkits, so it was commented out. Finally, the base.py file had a bug where the Tool class was not being added to the base_classes list in the get_signature method, so it was added. Gabriel Almeida 2023-05-30 00:38:14 -03:00
  • 8a2cf0f721 format anovazzi1 2023-05-30 00:16:30 -03:00
  • ca151c6661 fix refresh error anovazzi1 2023-05-30 00:16:19 -03:00
  • c9403b6433 Adding the trash icon and height icons Cristhian Zanforlin Lousa 2023-05-30 00:03:27 -03:00
  • 44faf64e09 🔨 refactor(utils.ts): rename nodeIcons keys to improve semantics The keys of the nodeIcons object have been renamed to improve semantics and readability. The new names are more descriptive of the functionality of the corresponding icons. Gabriel Almeida 2023-05-29 23:45:13 -03:00
  • 9f27a3e1cc Changing edge colors dark mode Cristhian Zanforlin Lousa 2023-05-29 23:45:02 -03:00
  • 95eab00a5e Removing trash icon Cristhian Zanforlin Lousa 2023-05-29 22:56:26 -03:00
  • 8b5a443880 added custom icons for companies, first version anovazzi1 2023-05-29 22:54:30 -03:00
  • 46ffbb5d9d added custom icons for companies, first version anovazzi1 2023-05-29 22:54:22 -03:00
  • 09cb59d9d6
    Added format_instructions to ZeroShotPrompt (#402) Gabriel Luiz Freitas Almeida 2023-05-29 22:45:55 -03:00
  • 7a6c15fc3d merge fix Cristhian Zanforlin Lousa 2023-05-29 22:19:34 -03:00
  • 92668daf19 UI Improvements: tooltip, classes icons e icons Cristhian Zanforlin Lousa 2023-05-29 22:11:03 -03:00
  • 9f1d64b93f Dropdown and input width set to full Lucas Oliveira 2023-05-29 19:59:03 -03:00
  • 6f984ca77f Fixed node dragging image Lucas Oliveira 2023-05-29 19:52:49 -03:00
  • 3e9c44a10d Merge branch 'dev' of personal:logspace-ai/langflow into dev anovazzi1 2023-05-29 19:28:42 -03:00
  • 254ed68eaa edges with the right color anovazzi1 2023-05-29 19:28:32 -03:00
  • b1ad21626a edges with the right color anovazzi1 2023-05-29 19:28:26 -03:00
  • f9cee99652 Fixed dark mode on input components Lucas Oliveira 2023-05-29 19:26:21 -03:00
  • 53fa5cb2e5 Merge branch 'dev' of personal:logspace-ai/langflow into dev anovazzi1 2023-05-29 19:23:35 -03:00
  • 2ba5678a1c remove classname from edges on import anovazzi1 2023-05-29 19:23:24 -03:00
  • 19d5445813 remove classname from edges on import anovazzi1 2023-05-29 19:22:59 -03:00
  • 12ebe5fa17 Merge branch 'dev' of github.com:logspace-ai/langflow into dev Lucas Oliveira 2023-05-29 19:20:49 -03:00
  • cc21fb66a7 Import flows nodes id fixed Lucas Oliveira 2023-05-29 19:20:47 -03:00
  • 1cdc0b5161
    Add Icons module (#368) anovazzi1 2023-05-29 19:10:59 -03:00
  • 3e3fff7dd1
    Merge branch 'dev' into new_icons anovazzi1 2023-05-29 19:10:50 -03:00
  • c05b94e4e9 🚀 feat(test_prompts_template.py): change type of "suffix" and "prefix" fields to "prompt" and update "format_instructions" field The "suffix" and "prefix" fields have been changed from type "str" to "prompt" to allow for more flexibility in the input. The "format_instructions" field has been updated to be required and multiline, and to show the instructions by default. This change will make it easier for users to understand the expected input format. Gabriel Almeida 2023-05-29 18:57:56 -03:00
  • 46959acaa9 🔨 refactor(prompts.py): swap suffix and format_instructions fields 🔨 refactor(util.py): add format_instructions to the list of fields to format in format_dict function The suffix and format_instructions fields in the ZeroShotPromptNode class were swapped to improve the readability of the code. The format_instructions field is now above the suffix field, which makes more sense as it is a required field. In the util.py file, the format_instructions field was added to the list of fields to format in the format_dict function. This ensures that the format_instructions field is properly formatted when the function is called. Gabriel Almeida 2023-05-29 18:52:47 -03:00
  • a0da588537
    feat: SlackDirectoryLoader (#383) Gabriel Luiz Freitas Almeida 2023-05-29 18:36:40 -03:00
  • 8db30348d8
    Merge branch 'dev' into feat/slack-directory-loader Gabriel Luiz Freitas Almeida 2023-05-29 18:36:32 -03:00
  • 77c00c7894
    Adding scrollbar on overflow itens modal (#400) anovazzi1 2023-05-29 18:34:03 -03:00
  • a33a4f418c Adding scrollbar on overflow itens modal Cristhian Zanforlin Lousa 2023-05-29 18:25:10 -03:00
  • 3a34412585 update utils with updateIds function anovazzi1 2023-05-29 18:24:54 -03:00
  • c05056c34d added code deleted by mistake that update base classes anovazzi1 2023-05-29 18:21:54 -03:00
  • 35fd7dabbb Copy Paste bug fixed Lucas Oliveira 2023-05-29 17:14:08 -03:00
  • 10cbed6eef
    Add Cohere LLM (#397) Gustavo Schaedler 2023-05-29 20:57:43 +01:00
  • 44d6832163 Poetry.lock dependencies version fixed GMS 2023-05-29 20:46:47 +01:00
  • 2a07f6368f Add Cohere LLM GMS 2023-05-29 20:40:17 +01:00
  • 8039a58af0
    🚀 feat(langflow): add support for extra fields in VectorStoreFrontendNode (#396) Alexandre Henrique Pereira Tavares 2023-05-29 16:15:25 -03:00
  • 3614296fd8 🚀 feat(langflow): add support for extra fields in VectorStoreFrontendNode ✨ feat(template): add method to add fields to a template The VectorStoreFrontendNode now supports adding extra fields to its template. The add_extra_fields method is called after the node is loaded and adds the weaviate_url field to the template if the node is of type Weaviate. The Template class now has a method to add fields to a template. This method is used by the VectorStoreFrontendNode to add the weaviate_url field to its template. Gabriel Almeida 2023-05-29 15:49:01 -03:00
  • 20a438428f 🔧 chore(frontend): format code with prettier The changes in this commit are purely cosmetic, as the code has been formatted with prettier to improve its readability and consistency. No functional changes have been made. Gabriel Almeida 2023-05-29 14:35:41 -03:00
  • 38cc3af18d 🔺 chore(pyproject.toml): update langchain and langchain-serve dependencies The langchain and langchain-serve dependencies have been updated to versions 0.0.184 and 0.0.38 respectively. This update may include bug fixes, performance improvements, or new features. Gabriel Almeida 2023-05-29 14:35:18 -03:00
  • 44ebfa450c
    Adding support for Ctransformers (#387) Gustavo Schaedler 2023-05-29 17:27:40 +01:00
  • b9773668b4
    Merge branch 'dev' into ctransformers Gustavo Schaedler 2023-05-29 17:16:24 +01:00
  • 2f3f4193cc
    Merge branch 'dev' into new_icons Gustavo Schaedler 2023-05-29 15:20:20 +01:00
  • 4e474eaaae
    Revert "Add Cohere LLM" (#394) Gustavo Schaedler 2023-05-29 15:12:45 +01:00
  • b33a9d2b62
    Revert "Add Cohere LLM" Gustavo Schaedler 2023-05-29 15:11:09 +01:00
  • 8e81a21722
    Pull Request: UI Feature Enhancements (#393) anovazzi1 2023-05-29 11:10:01 -03:00
  • a859481513
    Add Cohere LLM (#388) Gustavo Schaedler 2023-05-29 15:09:30 +01:00
  • acec690457 Title case on names/title, fixing/changing icons, cursor on chat Cristhian Zanforlin Lousa 2023-05-29 08:45:42 -03:00
  • 921fac3c95 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev Gabriel Almeida 2023-05-29 07:31:51 -03:00
  • 9bac61b563 🚀 feat(config.yaml): add new text splitters and toolkits Added new text splitters to the configuration file: RecursiveCharacterTextSplitter, LatexTextSplitter, and PythonCodeTextSplitter. These text splitters will be used to split text into smaller chunks for processing. Also, added new toolkits to the configuration file: OpenAPIToolkit and JsonToolkit. These toolkits will be used to process the text chunks generated by the text splitters. Gabriel Almeida 2023-05-29 07:30:58 -03:00
  • 1e0e5545ae
    Error Handling for Modal Calls in Different Flows Prompt/Text (#390) Rodrigo Nader 2023-05-29 00:26:39 -03:00
  • 46813e5c3f Fixing modal trattative error when is Prompt/Text Cristhian Zanforlin Lousa 2023-05-28 20:37:07 -03:00
  • 4c71b1d17f 🔇 chore(tabsContext.tsx): comment out code that was causing issues with file upload The code that was causing issues with file upload has been commented out for now. The code was resetting the content of a file, which was causing issues with the file upload. Gabriel Almeida 2023-05-28 20:34:01 -03:00
  • bb8d0d90d4
    feat: notion directory loader (#382) Gabriel Luiz Freitas Almeida 2023-05-28 20:04:04 -03:00
  • ece9530973 🎨 style(inputComponent): change input placeholder text to be more descriptive 🎨 style(inputListComponent): change input placeholder text to be more descriptive The placeholder text for both input components has been changed to "Type something..." to be more descriptive and provide better guidance to the user. Gabriel Almeida 2023-05-28 17:57:33 -03:00
  • edfc103999 🚀 feat(config.yaml): add CohereEmbeddings to the list of supported embeddings The CohereEmbeddings is added to the list of supported embeddings in the config.yaml file. This allows the application to use the CohereEmbeddings for language processing tasks. Gabriel Almeida 2023-05-28 17:53:49 -03:00
  • f9bc83c7aa Merge remote-tracking branch 'origin/dev' into cohere Gabriel Almeida 2023-05-28 17:49:05 -03:00
  • fa8cd1e31c 🔒 chore(pyproject.toml): update dependencies to latest versions FastAPI and Langchain dependencies have been updated to their latest versions to ensure that the application is using the latest features and security patches. The Llama-cpp-python dependency has also been updated to a more recent version. Gabriel Almeida 2023-05-28 17:36:37 -03:00
  • 4409066e81 🔼 chore(pyproject.toml): update langchain dependency from 0.0.176 to 0.0.183 ✨ feat(pyproject.toml): add cohere dependency to enable new features 🔧 chore(config.yaml): add Cohere to the list of supported LLMS The langchain dependency was updated to version 0.0.183 to take advantage of the latest features and bug fixes. The cohere dependency was added to enable new features. Cohere is now added to the list of supported LLMS in the config.yaml file. Gabriel Almeida 2023-05-28 17:28:42 -03:00
  • 5f25bb0d58 🐛 fix(utils.py): fix try_setting_streaming_options function to correctly set streaming attribute The try_setting_streaming_options function now correctly sets the streaming attribute of the llm object to True if it is an instance of BaseLanguageModel and has the streaming attribute. This fixes a bug where the streaming attribute was not being set correctly. Gabriel Almeida 2023-05-28 17:25:27 -03:00
  • f315d78f14 🔺 chore(pyproject.toml): update langchain dependency from 0.0.176 to 0.0.183 ✨ feat(pyproject.toml): add ctransformers dependency to support text classification tasks The langchain dependency has been updated to version 0.0.183 to ensure that the latest features and bug fixes are available. The ctransformers dependency has been added to support text classification tasks. Gabriel Almeida 2023-05-28 17:15:10 -03:00
  • c2027898de 🐛 fix(config.yaml): add CTransformers to the list of supported llms 🐛 fix(utils.py): fix setting of streaming option for llm 🎨 style(llms.py): add model_file and model_type fields to the list of non-advanced fields The first change adds CTransformers to the list of supported llms in the config.yaml file. The second change fixes a bug in the try_setting_streaming_options function in utils.py where the streaming option was not being set correctly. The third change is a style change that adds the model_file and model_type fields to the list of non-advanced fields in the LLMFrontendNode class in llms.py. Gabriel Almeida 2023-05-28 17:14:49 -03:00
  • 4848759aeb 🚀 chore(Makefile): add make targets to install backend and frontend dependencies The Makefile now has two new targets, install_backend and install_frontend, which install the dependencies for the backend and frontend respectively. This makes it easier for developers to set up the project as they can now run make init to install the pre-commit hooks and all dependencies. Gabriel Almeida 2023-05-28 16:36:57 -03:00
  • 023df99ecc 🔨 refactor(embeddings.py): move openai fields formatting to a separate method ✅ test(embeddings_template.py): add tests for openai fields formatting The openai fields formatting is now done in a separate method, which improves the readability and maintainability of the code. Tests were added to ensure that the formatting is done correctly. Gabriel Almeida 2023-05-28 16:18:33 -03:00
  • 4ef3e1a0aa
    Hotfix: fix bug on refresh and and for sending files to backend (#384) Gabriel Luiz Freitas Almeida 2023-05-28 12:01:10 -03:00
  • c4159f3af4 🐛 fix(utilities.py): use ast.literal_eval instead of eval to improve security 🐛 fix(GenericNode): add semicolon to console.log statement The use of eval in the code can be a security risk as it can execute arbitrary code. Using ast.literal_eval instead of eval is a safer alternative as it only evaluates a subset of Python expressions. The semicolon was added to the console.log statement to improve code consistency. Gabriel Almeida 2023-05-28 11:55:00 -03:00
  • e2345dbe1d Merge remote-tracking branch 'origin/dev' into FileSizeFix Gabriel Almeida 2023-05-28 11:16:47 -03:00
  • 129088d61e hotfix for file nodes and save on localStorage anovazzi1 2023-05-28 10:49:23 -03:00
  • af2a8b743e added clone deep to saveFlow anovazzi1 2023-05-28 10:34:39 -03:00
  • 36910ff187 chore: removed not needed inputDirectoryComponent Gabriel Ferreira Rosalino 2023-05-28 02:13:24 -03:00
  • b16b9d687b feat: SlackDirectoryLoader Gabriel Ferreira Rosalino 2023-05-28 02:10:31 -03:00
  • 209e31da26 feat: adds NotionDirectoryLoader Gabriel Ferreira Rosalino 2023-05-28 02:05:32 -03:00
  • fa9a3a210b 🐛 fix(base.py): change condition to check if content is empty instead of None The previous condition was checking if the content was None, but it should check if it is empty. This change fixes the error message to be more accurate. Gabriel Almeida 2023-05-27 23:39:05 -03:00
  • a758f48b88 🐛 fix(chains.py): set prompt field as required when value is None The prompt field was previously set as not required when no value was provided, but this is not the intended behavior. The prompt field should always be required, even if the default prompt is used. This commit fixes the issue by setting the required attribute to True when the value is None. Gabriel Almeida 2023-05-27 18:16:36 -03:00
  • f0503d2eb0
    Activating HuggingFaceEmbeddings, adding Jina deps (#378) Rodrigo Nader 2023-05-27 18:09:48 -03:00
  • 6f8b434f68 🔧 chore(llms.py): add format_openai_field method to format OpenAI field display names The format_openai_field method formats the display name of fields that contain the string "openai" in their name. It capitalizes the first letter of "OpenAI", replaces underscores with spaces, and replaces "Api" with "API". This improves the readability and consistency of the display names of OpenAI fields. Gabriel Almeida 2023-05-27 17:58:00 -03:00
  • 3436a713c2 🚀 feat(pyproject.toml): add jina and sentence-transformers dependencies 🚀 feat(config.yaml): add HuggingFaceEmbeddings to embeddings The Jina and sentence-transformers dependencies were added to the project to improve the functionality of the application. The HuggingFaceEmbeddings was added to the embeddings in the config.yaml file to improve the quality of the embeddings used in the application. Gabriel Almeida 2023-05-27 17:19:09 -03:00
  • bf0ab14f67 🎨 style(promptComponent, textAreaComponent): fix indentation and whitespace The changes in these files are purely cosmetic, fixing indentation and whitespace to improve code readability. Gabriel Almeida 2023-05-27 17:04:12 -03:00
  • f774cc6361 🐛 fix(Makefile): update ruff command to fix all files in the directory The ruff command was updated to fix all files in the directory instead of just the ones that have the I issue. This ensures that all files are properly formatted. Gabriel Almeida 2023-05-27 17:00:44 -03:00
  • 2a0b530d36 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev Gabriel Almeida 2023-05-27 16:58:28 -03:00
  • 41670bc43f 🐛 fix(chat_manager.py): change filter parameter name to filter_messages for clarity The filter parameter name was ambiguous and could be interpreted in different ways. Renaming it to filter_messages makes it clear that it is used to filter chat messages. Gabriel Almeida 2023-05-27 16:58:11 -03:00
  • c0493959af
    Add First Version of Generic Modal Input Model (#369) Gabriel Luiz Freitas Almeida 2023-05-27 16:54:26 -03:00
  • e0364833a9 🔥 refactor(chat_manager.py): rename filter parameter to filter_messages for clarity 🔥 refactor(custom.py): remove unused import of SQL_FORMAT_INSTRUCTIONS 🔥 refactor(custom_lists.py): remove unused import of SQLDatabase and utility_type_to_cls_dict 🔥 refactor(utilities/base.py): remove unused import of utility_type_to_cls_dict 🔥 refactor(utils/util.py): remove unused function build_template_from_parameters The changes made are mostly removing unused imports and renaming a parameter for clarity. The import of SQL_FORMAT_INSTRUCTIONS was removed as it was not being used. The function build_template_from_parameters was removed as it was not being used. Gabriel Almeida 2023-05-27 16:53:57 -03:00
  • a5b966f42e Formatting Gabriel Almeida 2023-05-27 16:33:49 -03:00
  • cc785af652 🐛 fix(base.py): import UtilitiesFrontendNode from the correct module ✨ feat(base.py): add support for SQLDatabase utility and filter utilities according to settings.utilities 🎨 style(frontend_node/base.py): add display_name to fields 🎨 style(frontend_node/utilities.py): format field values and types The import statement for UtilitiesFrontendNode was incorrect, causing an import error. The import statement was corrected to import from the correct module. Gabriel Almeida 2023-05-27 16:32:56 -03:00
  • 7da8c0ef92 chore: refactor of template, frontend_node and field This will improve the readability of the code and maintainability. Gabriel Almeida 2023-05-27 15:56:46 -03:00
  • 35dce224d7 📝 docs(nodes.py): update SQLAgentNode description to reflect its new implementation The description of the SQLAgentNode has been updated to reflect its new implementation, which now constructs a SQL agent from an LLM and tools instead of a Vector Store Router. This change was made to improve the accuracy of the description and to better reflect the functionality of the node. Gabriel Almeida 2023-05-27 14:24:19 -03:00
  • 8c14b01d0c
    fix: SQLAgent (#370) Gabriel Luiz Freitas Almeida 2023-05-27 14:22:07 -03:00
  • aac6e3f2e9
    Merge branch 'logspace-ai:dev' into gabfr-patch-1 Gabriel Ferreira Rosalino 2023-05-27 14:15:16 -03:00
  • 1d441474fd
    Merge branch 'dev' into new_icons Gabriel Luiz Freitas Almeida 2023-05-27 14:14:07 -03:00
  • f44e2f97f7
    fix: SQLAgent Gabriel Ferreira Rosalino 2023-05-27 14:12:18 -03:00
  • 09aa796af0
    Changes to accomodate new vector stores (#366) Gabriel Luiz Freitas Almeida 2023-05-27 14:10:54 -03:00
  • c224608601
    🔨 refactor(base.py): refactor FrontendNode.format_field() method to improve readability and maintainability (#363) Gabriel Luiz Freitas Almeida 2023-05-27 14:10:38 -03:00
  • 12ca5c9b88 first version of generic modal Cristhian Zanforlin Lousa 2023-05-27 13:37:22 -03:00
  • 9e6c4f8d57 🔧 chore(CONTRIBUTING.md): reorganize and clarify instructions for local development The commit reorganizes the instructions for local development in CONTRIBUTING.md to make them clearer and more concise. It also adds a section on setting up pre-commit hooks to ensure consistent code formatting. Additionally, it updates the instructions for running the backend and frontend to use the make command for consistency and ease of use. Gabriel Almeida 2023-05-27 13:09:17 -03:00
  • a7749323e4 🔧 chore(frontend): add prettier formatting script to package.json The format script has been added to the package.json file in the frontend directory. This script uses prettier to format all files with the extensions .js, .jsx, .ts, .tsx, .json, and .md in the src directory. This ensures that the codebase is consistent and follows a standard formatting style. Gabriel Almeida 2023-05-27 13:03:25 -03:00
  • 47f440066f 🔥 chore(Makefile): remove pre-push hook installation The pre-push hook installation command was removed from the Makefile. This was done to avoid conflicts with other hooks that may be installed in the future. Gabriel Almeida 2023-05-27 13:01:58 -03:00
  • 276a06976d Formatting Gabriel Almeida 2023-05-27 13:01:20 -03:00
  • a096e83474 🚀 chore(lint.yml): rename job from 'build' to 'lint' for clarity The job was renamed from 'build' to 'lint' to better reflect its purpose of running linters and code quality checks. Gabriel Almeida 2023-05-27 13:00:28 -03:00