Commit graph

  • 10fce79bc3 🐛 fix(App.tsx): replace fetch call with getVersion function call to retrieve app version ✨ feat(App.tsx): add getVersion function to retrieve app version from API The fetch call to retrieve the app version has been replaced with a call to the getVersion function. This function retrieves the app version from the API. This change improves the code's readability and reduces the amount of code needed to retrieve the app version. Gabriel Luiz Freitas Almeida 2023-06-11 12:17:16 -03:00
  • 21440578a7 🔧 chore(API): add /api/v1/ prefix to API routes ✨ feat(API): add getVersion function to retrieve the version of the API The API routes have been updated to include the /api/v1/ prefix to improve semantics and avoid conflicts with other routes. The getVersion function has been added to retrieve the version of the API. Gabriel Luiz Freitas Almeida 2023-06-11 12:17:00 -03:00
  • 0eaa86c5ca 🔧 chore(__main__.py): add support for loading environment variables from a .env file The load_dotenv function from the dotenv package is now used to load environment variables from a .env file. This allows for a more flexible configuration of the application as environment variables can be loaded from a file instead of being hardcoded in the code. The .env file path can be specified via the env_file parameter. Gabriel Luiz Freitas Almeida 2023-06-11 11:14:43 -03:00
  • 09bd1093dd 🎨 style(constants.tsx): refactor getPythonApiCode, getCurlCode, and getPythonCode to separate functions ✨ feat(ApiModal): use getPythonApiCode and getCurlCode functions to generate python and curl code ✨ feat(cardComponent): add RenameLabel component to allow renaming of flow name and description 🐛 fix(cardComponent): fix CardDescription height to prevent overflow The getPythonApiCode, getCurlCode, and getPythonCode functions were refactored into separate functions to improve code readability and maintainability. The ApiModal component now uses the getPythonApiCode and getCurlCode functions to generate the python and curl code. The CardComponent now has a RenameLabel component that allows renaming of the flow name and description. The CardDescription height was also fixed to prevent overflow. Gabriel Luiz Freitas Almeida 2023-06-11 10:58:10 -03:00
  • 74b8cbb224 dropdown float, placeholders and inputlist bug fix Cristhian Zanforlin Lousa 2023-06-11 10:48:42 -03:00
  • 14c4022c15 Update label to indicate a local directory is required. Snow 2023-06-11 15:18:22 +10:00
  • b6bd5544c9 Correct loader order. Snow 2023-06-11 13:57:05 +10:00
  • 1427599b8a Fix: Restore Notion and Slack directory loaders. Snow 2023-06-11 13:48:02 +10:00
  • 445f4013c1 🎨 style(MainPage): add whitespace to button className The whitespace was added to the button className to improve readability and consistency with the rest of the code. Gabriel Luiz Freitas Almeida 2023-06-10 16:52:55 -03:00
  • a95d7d7f6a 🎨 style(cardComponent): update color of card background and icons 💄 style(cardComponent): update layout of card footer and remove unused code The background color of the card component has been updated to a lighter shade of blue. The icons used for editing and deleting a flow have been updated to use the Lucide icon library. The layout of the card footer has been updated to align the content to the right and remove unused code. Gabriel Luiz Freitas Almeida 2023-06-10 16:52:30 -03:00
  • 181df91500 🎨 style(menuBar): replace heroicons with lucide-react icons and refactor code to improve readability ✨ feat(menuBar): add support for custom emoji and color for each flow This commit replaces the heroicons with lucide-react icons to improve the consistency of the icon set used in the application. The code has also been refactored to improve readability. Additionally, support for custom emoji and color for each flow has been added to improve the user experience. Gabriel Luiz Freitas Almeida 2023-06-10 16:52:09 -03:00
  • 99be4b5470 💄 style(ApiModal): add cURL code snippet to API modal The flowName prop has been changed to a flow object to improve semantics and make the code more readable. The cURL code snippet has been added to the API modal to provide an alternative way to interact with the API. 🔨 refactor(ApiModal): change flowName prop to flow object to improve semantics Gabriel Luiz Freitas Almeida 2023-06-10 16:50:23 -03:00
  • 2f73fd9ca5 ✨ feat(tabsContext.tsx): add try-catch blocks to handle errors when processing flow data and add saveFlowToDatabase function to save new flows to the database The tabs trigger border radius has been changed from rounded-sm to rounded-lg to improve the appearance of the tabs. Try-catch blocks have been added to handle errors when processing flow data to prevent the application from breaking. A new function, saveFlowToDatabase, has been added to save new flows to the database. This function is called when a new flow is created, and the ID counter is incremented after the flow is saved. The new flow is then added to the list of flows, and the tab index is set to the new flow. 🎨 style(ui/tabs.tsx): change tabs trigger border radius from rounded-sm to rounded-lg Gabriel Luiz Freitas Almeida 2023-06-10 16:49:43 -03:00
  • cdbe2b0401 🐛 fix(endpoints.py): change graph_data variable to use flow_obj.data instead of flow_obj.flow The graph_data variable was previously assigned to flow_obj.flow, which is incorrect as the flow_obj object does not have a flow attribute. Instead, the correct attribute to use is flow_obj.data. Gabriel Luiz Freitas Almeida 2023-06-10 16:17:56 -03:00
  • c76ee24a78 🔨 refactor(API): replace axios with fetch for getVersion and getHealth functions 🔨 refactor(MainPage): remove handleSaveFlow prop from MenuBar component 🔨 refactor(MainPage): export MenuBar component as named export The axios library is replaced with the fetch API for the getVersion and getHealth functions to reduce the bundle size and improve performance. The handleSaveFlow prop is removed from the MenuBar component as it is not used. The MenuBar component is now exported as a named export to improve code readability and maintainability. Gabriel Luiz Freitas Almeida 2023-06-09 17:59:29 -03:00
  • 61207db4da 🐛 fix(App.tsx): change fetch URL to relative path to fix incorrect API call The fetch URL was incorrect and was calling the API with an absolute path instead of a relative path. This caused the API call to fail. The URL has been changed to a relative path to fix the issue. Gabriel Luiz Freitas Almeida 2023-06-09 17:17:55 -03:00
  • bc07766575 🔊 chore(base.py): add logger to Graph class 🐛 fix(base.py): improve error message when invalid payload is received The logger is added to the Graph class to improve debugging capabilities. The error message when an invalid payload is received is improved to include the keys that were found in the payload. This makes it easier to identify the issue and fix it. Gabriel Luiz Freitas Almeida 2023-06-09 17:08:11 -03:00
  • bfb4a8e609 🔖 chore(base.py): add display_name field to FrontendNode The display_name field is added to the FrontendNode class to allow for a more user-friendly name to be displayed in the UI. If display_name is not set, the name field will be used instead. Gabriel Luiz Freitas Almeida 2023-06-09 17:08:01 -03:00
  • ef1b19a6d3 Removing unnecessary prop Cristhian Zanforlin Lousa 2023-06-09 16:43:10 -03:00
  • 244fe5c123 Adjusted state of toggle buttons and inputComp Cristhian Zanforlin Lousa 2023-06-09 16:41:34 -03:00
  • c216c78b1b
    🚀 feat(langflow): add new Retrieval chains (#456) Gabriel Luiz Freitas Almeida 2023-06-09 16:25:43 -03:00
  • fdf24f269b
    Merge branch 'dev' into agent_and_qa_chain Gabriel Luiz Freitas Almeida 2023-06-09 16:25:29 -03:00
  • 547e10b374 Remove condition for the execution of make publish, the execution is done by GitHub actions Gustavo Schaedler 2023-06-09 20:15:00 +01:00
  • 8a08ebdbe7 Remove some commented out code + add condition for the execution of make publish Gustavo Schaedler 2023-06-09 20:09:25 +01:00
  • c30bc4f2e0 🔥 chore(frontend): remove @radix-ui/react-slot dependency The @radix-ui/react-slot dependency was removed from the package.json file. Gabriel Luiz Freitas Almeida 2023-06-09 15:52:48 -03:00
  • 5c6c39eb49 🚀 feat(menuBar): create a new component to handle the menu bar in the MainPage The new component MenuBar was created to handle the menu bar in the MainPage. It contains all the logic and UI elements related to the menu bar. The component receives props such as activeTab, setRename, rename, flows, tabIndex, and handleSaveFlow. The handleSaveFlow function was moved from the MainPage component to the MenuBar component. The code related to the menu bar was removed from the MainPage component and replaced by the MenuBar component. Gabriel Luiz Freitas Almeida 2023-06-09 15:45:08 -03:00
  • 80de5b19ea 🚀 feat(App.tsx): add getVersion function to fetch API version 🚀 feat(API/index.ts): add getVersion function to fetch API version 🚀 feat(cardComponent/index.tsx): add CardComponent to display flow data 🚀 feat(types/flow/index.ts): add FlowStyleType to represent flow styles The getVersion function was added to fetch the version of the API. The CardComponent was added to display flow data. The FlowStyleType was added to represent flow styles. Gabriel Luiz Freitas Almeida 2023-06-09 15:44:49 -03:00
  • b02ed92b84
    Implemented add_extra_fields method for the documentloaders (#408) Alexandre Henrique Pereira Tavares 2023-06-09 15:24:56 -03:00
  • f7bdb711f1 Merged frontend_node/llm from origin/dev into add_extra_fields_documentloaders Alexandre Henrique 2023-06-09 15:05:56 -03:00
  • 79d258d7fa Merge remote-tracking branch 'origin/dev' into db Gabriel Luiz Freitas Almeida 2023-06-09 14:51:18 -03:00
  • 51ecc05563 🐛 fix(vite.config.ts): remove /api/v1 prefix from proxy target URL ✨ feat(vite.config.ts): add rewrite function to proxy configuration to add /api/v1 prefix to requests The /api/v1 prefix was removed from the proxy target URL as it was already being added by the rewrite function. The rewrite function was added to the proxy configuration to add the /api/v1 prefix to requests, which is required by the backend API. Gabriel Luiz Freitas Almeida 2023-06-09 14:31:09 -03:00
  • eac5057d4f 🚀 feat(launch.json): add configuration for debugging frontend in Chrome The new configuration allows for debugging the frontend in Chrome by launching the application on http://localhost:3000/* and setting the webRoot to the frontend directory. This will enable developers to debug the frontend code more efficiently. The existing configuration for debugging the backend has been renamed to "Debug Backend" for better clarity. The "justMyCode" property has been set to true to exclude external libraries from debugging. Gabriel Luiz Freitas Almeida 2023-06-09 14:19:04 -03:00
  • b53b349c6b 🎨 style(cardComponent): add support for styling the flow card with an emoji and a color ✨ feat(MainPage): add error handling for adding and updating flows 🔨 refactor(MainPage): extract handleAddFlow and handleSave functions to improve readability The FlowType now has an optional style property that can be used to style the flow card with an emoji and a color. The CardComponent now supports this feature. The MainPage now has error handling for adding and updating flows. The handleAddFlow and handleSave functions were extracted to improve readability. Gabriel Luiz Freitas Almeida 2023-06-09 14:00:52 -03:00
  • 9c71d99852 🚀 chore(vite.config.ts): add new routes to apiRoutes array The new routes added to the apiRoutes array are "/flows_styles", "/flows_styles/" and "/flows_styles/*". These routes were added to allow the frontend to fetch the styles for the flows. Gabriel Luiz Freitas Almeida 2023-06-09 13:59:02 -03:00
  • 61d84d7031 🚀 feat(frontend): add @radix-ui/react-tooltip package to improve user experience The @radix-ui/react-tooltip package has been added to the frontend dependencies to improve the user experience by providing tooltips. Gabriel Luiz Freitas Almeida 2023-06-09 12:41:15 -03:00
  • 99cbd27623 🎉 feat(cardComponent): add CardComponent to display flow information The CardComponent is a new component that displays information about a flow. It includes a header with the flow name and a delete button, a description, and a footer with badges and an edit button. The component is designed to be reusable and can display different types of flows. Gabriel Luiz Freitas Almeida 2023-06-09 12:40:51 -03:00
  • 07d9d1163a 🔧 chore(tabsContext.tsx): refactor code to improve readability and maintainability ✨ feat(tabsContext.tsx): add support for reading and writing flows to the database The code has been refactored to improve readability and maintainability. The addFlow function has been refactored to extract data from the flow and create a new flow with a default name if no flow is provided. The processFlowEdges, processFlowNodes, updateNodeBaseClasses, updateNodeEdges, updateNodeDescription, updateNodeTemplate, updateStateWithTabsData, and updateStateWithDbData functions have been added to improve code organization. Support for reading and writing flows to the database has been added to improve data persistence and allow for multiple users to access the same flows. Gabriel Luiz Freitas Almeida 2023-06-09 12:39:39 -03:00
  • 73014b63f2 🚀 feat(main.py): add create_db_and_tables function to be called on app startup The create_db_and_tables function is now called on app startup using the FastAPI on_event decorator. This ensures that the database and tables are created before the app starts listening for requests. Gabriel Luiz Freitas Almeida 2023-06-09 12:37:39 -03:00
  • 95588c7dc9 🔥 refactor(vite.config.ts): remove unused /flows route from apiRoutes array The /flows route was removed from the apiRoutes array as it was not being used. Gabriel Luiz Freitas Almeida 2023-06-09 12:37:14 -03:00
  • 111252fbb2
    NodeToolbar Feature Implementation and Dialog UI Migration (#462) Cristhian Zanforlin Lousa 2023-06-09 10:22:36 -03:00
  • f18f2f9851 adjust space codacy Cristhian Zanforlin Lousa 2023-06-09 10:10:08 -03:00
  • f6b892e32c fix: correct endpoint Gabriel Luiz Freitas Almeida 2023-06-09 09:23:11 -03:00
  • 9e933c61c4 feat: added flows endpoints to vite Gabriel Luiz Freitas Almeida 2023-06-09 09:22:44 -03:00
  • ab1f9ed371 refactor: change colum flow to data and create description column Gabriel Luiz Freitas Almeida 2023-06-09 09:22:10 -03:00
  • 51e4f9d109 Merge remote-tracking branch 'origin/dev' into db Gabriel Luiz Freitas Almeida 2023-06-09 06:59:21 -03:00
  • 2fc7897787 Merge remote-tracking branch 'origin/mainPage' into db Gabriel Luiz Freitas Almeida 2023-06-09 06:57:20 -03:00
  • f9528591d9
    Better serrver start (#461) Gabriel Luiz Freitas Almeida 2023-06-09 06:47:15 -03:00
  • eb3421711f
    Add advanced parameters to llamacpp node (#465) Gabriel Luiz Freitas Almeida 2023-06-08 18:40:41 -03:00
  • 2b8333ee95
    Merge branch 'dev' into fix_llama Gabriel Luiz Freitas Almeida 2023-06-08 18:31:39 -03:00
  • 5484a08230 🔖 chore(pyproject.toml): bump up version to 0.0.88 The version number in the pyproject.toml file has been updated from 0.0.87 to 0.0.88. This is a chore commit as it does not introduce any new features or fix any bugs, but it is necessary to keep track of the package version. Gabriel Luiz Freitas Almeida 2023-06-08 18:15:26 -03:00
  • a443d0aa83 🔨 refactor(llms.py): extract formatting methods for Azure and Llama fields This commit extracts the formatting methods for Azure and Llama fields from the format_field method to improve readability and maintainability of the code. The format_azure_field method formats the fields for Azure, while the format_llama_field method formats the fields for Llama. These methods are called conditionally based on the name of the field. Gabriel Luiz Freitas Almeida 2023-06-08 18:14:03 -03:00
  • 7ed19c739b 🐛 fix(tabsContext.tsx): add try-catch block to handle JSON parsing errors 🐛 fix(API/index.ts): remove duplicate forward slash in API routes The try-catch block was added to handle JSON parsing errors that may occur when parsing the cookieObject. This ensures that the application does not crash when such errors occur. Gabriel Luiz Freitas Almeida 2023-06-08 17:51:06 -03:00
  • 868158b11b Merge branch 'dev' into better_server Gabriel Luiz Freitas Almeida 2023-06-08 17:31:45 -03:00
  • de6bfbab69 Merge remote-tracking branch 'origin/main' into dev Gabriel Luiz Freitas Almeida 2023-06-08 17:29:25 -03:00
  • 58fa3b8dc0 🐛 fix(__main__.py): ignore type error for multiprocess import 🐛 fix(__main__.py): rename path variable to frontend_path for clarity The first change fixes a type error for the multiprocess import. The second change renames the path variable to frontend_path to improve clarity and readability of the code. Gabriel Luiz Freitas Almeida 2023-06-08 17:17:27 -03:00
  • 5e99ba0e99
    fix: loads the page even if flows.data is null (#464) anovazzi1 2023-06-08 17:12:28 -03:00
  • 12fa7f4e14 removing the type any from filter Cristhian Zanforlin Lousa 2023-06-08 17:01:54 -03:00
  • db5eb1da10 Merge branch 'feat/shadUI' of https://github.com/logspace-ai/langflow into feat/shadUI Cristhian Zanforlin Lousa 2023-06-08 16:58:08 -03:00
  • 10b3ad711e Adding constants pattern, textfile edit node fix Cristhian Zanforlin Lousa 2023-06-08 16:58:05 -03:00
  • 901a7c0696 🔖 chore(pyproject.toml): bump up version to 0.0.87 The version number in the pyproject.toml file has been updated from 0.0.86 to 0.0.87. This is a chore commit as it does not introduce any new features or bug fixes, but only updates the version number. Gabriel Luiz Freitas Almeida 2023-06-08 16:56:35 -03:00
  • 3785c7e610 🐛 fix(tabsContext.tsx): add null check for flow.data to prevent TypeError The fix adds a null check for flow.data to prevent a TypeError when accessing the edges property. Gabriel Luiz Freitas Almeida 2023-06-08 16:54:46 -03:00
  • fae17163c8 🚀 chore(frontend): add esbuild package to improve build performance The esbuild package has been added to the frontend dependencies to improve the build performance of the application. Gabriel Luiz Freitas Almeida 2023-06-08 16:38:41 -03:00
  • 8d03db2834 removing package.json from root folder Gabriel Luiz Freitas Almeida 2023-06-08 16:24:44 -03:00
  • 1318a813b2 fix bug with development server and some dark mode issues anovazzi1 2023-06-08 16:15:51 -03:00
  • 736cbb83db Adding key-value to modal subtitles Cristhian Zanforlin Lousa 2023-06-08 13:27:50 -03:00
  • 73b3220334 Adjust height of dialogs Cristhian Zanforlin Lousa 2023-06-08 13:00:35 -03:00
  • 741c5a8cd4 Merge branch 'dev' into feat/shadUI Cristhian Zanforlin Lousa 2023-06-08 12:40:09 -03:00
  • 2482a230bb update lock Gabriel Luiz Freitas Almeida 2023-06-08 12:29:29 -03:00
  • 0cfc0b016e 🚀 feat(__main__.py): add optional path argument to serve function to specify path to frontend directory 🚀 feat(__main__.py): add optional open_browser argument to serve function to specify whether to open browser after starting server The serve function now accepts an optional path argument to specify the path to the frontend directory containing build files. This is useful for development purposes only. The function also accepts an optional open_browser argument to specify whether to open the browser after starting the server. This is useful when running the server locally. Gabriel Luiz Freitas Almeida 2023-06-08 12:25:00 -03:00
  • 3b147c879d Formatting Cristhian Zanforlin Lousa 2023-06-08 12:09:45 -03:00
  • c9b68f6f7a Changing to ShadUI, Edge Tooltips and Advanced Dialog Cristhian Zanforlin Lousa 2023-06-08 12:05:32 -03:00
  • 84a46d5869 Merge remote-tracking branch 'origin/dev' into better_server Gabriel Luiz Freitas Almeida 2023-06-08 11:49:56 -03:00
  • 23e760b052 🔺 chore(pyproject.toml): update langchain dependency from 0.0.186 to 0.0.194 This commit updates the langchain dependency from version 0.0.186 to version 0.0.194. This is a chore as it updates a dependency to a newer version. Gabriel Luiz Freitas Almeida 2023-06-08 08:45:20 -03:00
  • 0304becc28 Merge remote-tracking branch 'origin/main' into dev Gabriel Luiz Freitas Almeida 2023-06-08 08:13:32 -03:00
  • c4423e0fc0
    🐛 fix(utils.py): add type check for streaming and stream attributes before setting them to True (#457) Gabriel Luiz Freitas Almeida 2023-06-08 00:47:55 -03:00
  • 1e728c96b6 🔖 chore(pyproject.toml): bump version to 0.0.86 The version number in the pyproject.toml file has been updated from 0.0.85 to 0.0.86. This is a chore commit as it does not introduce any new features or fix any bugs, but rather updates the version number to reflect changes made to the codebase. Gabriel Luiz Freitas Almeida 2023-06-08 00:42:42 -03:00
  • 8e2bacad9a 🐛 fix(utils.py): add type check for streaming and stream attributes before setting them to True The code now checks if the streaming and stream attributes are boolean before setting them to True. This ensures that the attributes are not set to True if they are not boolean, which could cause errors in the code. Gabriel Luiz Freitas Almeida 2023-06-08 00:40:51 -03:00
  • 8ee4b2b79e 🐛 fix(complex_example.json): change _type value from 'zero_shot' to 'ZeroShotPrompt' to match class name The _type value was changed to match the class name, which improves consistency and readability of the code. Gabriel Luiz Freitas Almeida 2023-06-08 00:39:12 -03:00
  • d730ca027c 🔥 refactor(base.py): remove redundant abstractmethod decorators The abstractmethod decorator is redundant in the CustomChain and CustomAgentExecutor classes as the methods they decorate are already defined as abstract in the parent classes. Removing these decorators improves code readability and reduces clutter. Gabriel Luiz Freitas Almeida 2023-06-08 00:20:16 -03:00
  • 85d2f9cce8 🔨 refactor(base.py): make function_name and initialize methods abstract This commit makes the function_name and initialize methods abstract in the CustomChain and CustomAgentExecutor classes. This is done to enforce the implementation of these methods in the subclasses of these classes. This change improves the code quality and readability by making the code more explicit and easier to understand. Gabriel Luiz Freitas Almeida 2023-06-08 00:14:33 -03:00
  • 81d231c632 🐛 fix(vertex/base.py): fix vertex_type assignment to handle uppercase template types 🐛 fix(interface/loading.py): fix custom_node instantiation to handle classes without initialize method ✨ feat(template/frontend_node/prompts.py): change type_name to match class name ✨ feat(template/frontend_node/tools.py): change type_name to match class name 🔥 chore(test_agents_template.py): remove test_agents_settings and update initialize_agent test The vertex_type assignment in the Vertex class was not handling uppercase template types correctly. This has been fixed to handle both uppercase and lowercase types. The custom_node instantiation in the instantiate_class function was not handling classes without an initialize method correctly. This has been fixed to instantiate the class directly if the initialize method is not present. The type_name in the ZeroShotPromptNode and PythonFunctionToolNode classes have been changed to match the class name. The test_agents_settings test has been removed as it is no longer necessary and the initialize_agent test has been updated to match the new AgentInitializer class name. Gabriel Luiz Freitas Almeida 2023-06-07 21:36:40 -03:00
  • 04bd0f43fb 🔨 refactor(custom.py): rename CustomChain to CustomAgentExecutor 🔨 refactor(base.py): add CustomAgentExecutor class and move CustomChain to base.py 🔨 refactor(custom_lists.py): update reference to CustomChain to CustomAgentExecutor The CustomChain class has been renamed to CustomAgentExecutor to better reflect its purpose. The class has been moved to base.py and a new CustomAgentExecutor class has been added to custom.py. The reference to CustomChain in custom_lists.py has been updated to CustomAgentExecutor. These changes improve the semantics of the code and make it easier to understand the purpose of the classes. Gabriel Luiz Freitas Almeida 2023-06-07 21:14:40 -03:00
  • f0975ddf63 🚀 feat(langflow): add new chains to config.yaml and custom chains to interface/chains/custom.py ✨ feat(langflow): add new chains to config.yaml and custom chains to interface/chains/custom.py The following chains were added to the config.yaml file: RetrievalQA, RetrievalQAWithSourcesChain, QAWithSourcesChain, ConversationalRetrievalChain, and CombineDocsChain. These chains were added to improve the functionality of the application and provide more options for users. Gabriel Luiz Freitas Almeida 2023-06-07 19:48:51 -03:00
  • c8125b3386 🔀 refactor(customs.py): add load_qa_chain to CUSTOM_NODES 🔀 refactor(custom_lists.py): merge CUSTOM_AGENTS and CUSTOM_CHAINS into CUSTOM_NODES 🔀 refactor(loading.py): add instantiate_chains function to instantiate chains 🔀 refactor(base.py): add CustomChain class The changes add support for a new chain called load_qa_chain to CUSTOM_NODES. CUSTOM_AGENTS and CUSTOM_CHAINS are merged into CUSTOM_NODES. A new function called instantiate_chains is added to instantiate chains. A new class called CustomChain is added to the base.py file. This class is used to define a custom chain. Gabriel Luiz Freitas Almeida 2023-06-07 19:48:16 -03:00
  • b5ab95c4cc 🔨 refactor(custom.py): remove unused code ✨ feat(frontend_node): add extra fields to MemoryFrontendNode and ChainFrontendNode The unused code in custom.py has been removed. The MemoryFrontendNode and ChainFrontendNode classes have been updated to include additional fields that are required for their respective templates. The MemoryFrontendNode now has a return_messages field, and the ChainFrontendNode now has a memory field. These fields are optional and can be toggled on or off as required. Gabriel Luiz Freitas Almeida 2023-06-07 19:46:51 -03:00
  • 2ca750f654 feat: add BaseRetriever as base class for VectorStores Gabriel Luiz Freitas Almeida 2023-06-07 19:45:15 -03:00
  • 62b33a19dc Changes to the menu structure Lucas Oliveira 2023-06-07 19:44:52 -03:00
  • 5ab186bd88 Merge branch 'feat/node-toolbar' of personal:logspace-ai/langflow into feat/node-toolbar anovazzi1 2023-06-07 19:41:42 -03:00
  • e148db41f0 keeping visual updates after node edition anovazzi1 2023-06-07 19:41:25 -03:00
  • 354822813f adding tailwind animation Cristhian Zanforlin Lousa 2023-06-07 19:40:16 -03:00
  • 1373e336ff text-center input fields Cristhian Zanforlin Lousa 2023-06-07 19:28:57 -03:00
  • b7c847930b adding index to alerts Cristhian Zanforlin Lousa 2023-06-07 19:13:21 -03:00
  • dad98a47f6 formatting code Cristhian Zanforlin Lousa 2023-06-07 18:59:47 -03:00
  • 3cc8c8e6b5 changing code, export, python modal to shadcn ui Cristhian Zanforlin Lousa 2023-06-07 18:59:11 -03:00
  • 5862f19c20 Merge branch 'add_extra_fields_documentloaders' of https://github.com/logspace-ai/langflow into add_extra_fields_documentloaders Alexandre Henrique 2023-06-07 16:52:58 -03:00
  • af6a8b902a fix: initialize_agent now is called AgentInitializer Gabriel Luiz Freitas Almeida 2023-06-07 16:42:12 -03:00
  • 259b66bb00 fix: vertex_type now comes directly from template.type_name Gabriel Luiz Freitas Almeida 2023-06-07 16:41:48 -03:00
  • 1c98506a5f Added RecursiveCharacterTextSplitter method Alexandre Henrique 2023-06-07 16:40:46 -03:00
  • feb3423101 Added RecursiveCharacterTextSplitter method Alexandre Henrique 2023-06-07 16:38:23 -03:00
  • b21bd3b8e0 fix: now the version badge text aligns when there's no version Gabriel Luiz Freitas Almeida 2023-06-07 16:28:48 -03:00