Commit graph

  • e863f79782 update git attributes anovazzi1 2023-08-24 17:15:05 -03:00
  • c49ee222be update git attributes anovazzi1 2023-08-24 17:11:54 -03:00
  • 4fab63e5de code format anovazzi1 2023-08-24 17:10:02 -03:00
  • c1c5b2242f fix(buildTrigger/index.tsx): change the success message title from "Code is ready to run" to "Flow is ready to run" for better clarity and accuracy anovazzi1 2023-08-24 17:08:24 -03:00
  • f8d51b4882 Refactor: Move header login buttons to right side of flow name igorrCarvalho 2023-08-24 14:29:24 -03:00
  • d13771d8c9 🔧 chore(terraform): update security group rules to allow ingress and egress traffic on port 8080 🔧 chore(terraform): modify user data script for manager instance to fetch instance metadata with token and start a netcat server on port 8080 to provide join token 🔧 chore(terraform): modify user data script for worker instance to fetch manager IP and join the swarm using the join token obtained from the manager on port 8080 Matheus Jacques 2023-08-24 18:48:44 +02:00
  • 261e3119c3 Added readme for docker example Guangya Liu 2023-08-24 12:28:42 -04:00
  • aa47af7a3b
    Fix orjson_dumps import (#814) Gabriel Luiz Freitas Almeida 2023-08-24 15:07:59 +00:00
  • 3fe30671d9 fix(terraform): update subnet_id in docker-swarm module to use swarm-public-subnet instead of swarm-subnet for improved clarity feat(terraform): add aws_subnet resource for swarm-public-subnet to create a public subnet for the swarm cluster feat(terraform): add aws_internet_gateway resource to create an internet gateway for the swarm VPC feat(terraform): add aws_route_table resource to create a route table for the swarm VPC feat(terraform): add aws_route_table_association resource to associate the swarm-public-subnet with the public route table Matheus Jacques 2023-08-24 17:06:23 +02:00
  • fe3a9c61df fix the imports of orjson_dumps DiogenesBR 2023-08-24 14:57:18 +00:00
  • cdd25dbeb2 add some new types to the .gitattributes DiogenesBR 2023-08-24 14:55:40 +00:00
  • eaf70303ee Fixed bug where name is not changed when description changes Lucas Oliveira 2023-08-24 10:52:23 -03:00
  • fd6ef1815b format Gabriel Luiz Freitas Almeida 2023-08-23 21:43:23 -03:00
  • 63ca408506 🔧 chore(alembic): add ApiKey table and remove FlowStyle and Component tables Gabriel Luiz Freitas Almeida 2023-08-23 21:43:14 -03:00
  • 061a9c09ba Merge remote-tracking branch 'origin/main' into dev Gabriel Luiz Freitas Almeida 2023-08-23 21:42:34 -03:00
  • 60b9f01cc6
    Release 0.4.14 (#810) Gabriel Luiz Freitas Almeida 2023-08-24 00:31:47 +00:00
  • 5fd3394386
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-08-24 00:31:40 +00:00
  • eca7a56f76 🔖 chore(pyproject.toml): bump version from 0.4.13 to 0.4.14 for langflow package Gabriel Luiz Freitas Almeida 2023-08-23 21:30:43 -03:00
  • 3d860ce4a1
    Fixes Retry logic in /all endpoint (#809) Gabriel Luiz Freitas Almeida 2023-08-24 00:20:59 +00:00
  • cb5114b9b7
    Bugfix - Retry Mechanism for Failed Requests in Loop (#808) anovazzi1 2023-08-23 21:20:18 -03:00
  • 130dc7ead6 🔧 fix(schemas.py): import ApiKeyRead from api_key module to fix missing import error 🔧 fix(models/__init__.py): add ApiKey to __all__ list to fix missing import error ✨ feat(models/api_key.py): add ApiKey model and its related classes to support API key functionality Gabriel Luiz Freitas Almeida 2023-08-23 21:12:11 -03:00
  • cd6985591f fix(App.tsx): replace hardcoded error message with FetchErrorComponent to improve error handling and display feat(App.tsx): add support for displaying fetch error message and description in FetchErrorComponent feat(fetchErrorComponent): create FetchErrorComponent to display fetch error message and description fix(genericIconComponent): add stroke-width property to ensure consistent icon stroke width feat(loadingComponent): import LoadingComponentProps from types/components to improve type safety feat(constants): add FETCH_ERROR_MESSAGE and FETCH_ERROR_DESCRIPTION constants for fetch error handling fix(typesContext): remove console.log statement and set fetchError to true when an error occurs during fetching types feat(typesContext): add error handling for fetching types and set fetchError to true when an error occurs feat(typesContext): import fetchErrorComponentType from types/components to improve type safety feat(types/components): create fetchErrorComponentType and LoadingComponentProps interfaces for type safety fix(styleUtils): import Unplug icon from lucide-react to fix missing icon issue anovazzi1 2023-08-23 21:09:53 -03:00
  • 9686542f0a Fix: code is ready to run does not appear after build igorrCarvalho 2023-08-23 20:38:40 -03:00
  • 8fb73e689a Fix: Code is ready to run success alert showing up in tweaks page igorrCarvalho 2023-08-23 20:23:18 -03:00
  • e642154621
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-08-23 23:15:02 +00:00
  • 1d166b6e6b poetry lock Gabriel Luiz Freitas Almeida 2023-08-23 20:10:54 -03:00
  • 13a60c872f Fix: Node deleted when press backspace on tweaks page igorrCarvalho 2023-08-23 19:26:25 -03:00
  • 1e968083be
    Adds GET, POST and JSON Document utility components (#806) Gabriel Luiz Freitas Almeida 2023-08-23 21:03:11 +00:00
  • 56a75af6da Remove console.log igorrCarvalho 2023-08-23 18:02:50 -03:00
  • 9029beec64 Fix: git bug igorrCarvalho 2023-08-23 17:52:32 -03:00
  • 0ffdaa00a5 Fix: Backspace doesnt work on tweak page igorrCarvalho 2023-08-23 17:39:34 -03:00
  • f555c60abc
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-08-23 19:51:53 +00:00
  • d9b03980f7 fix(typesContext.tsx): remove unnecessary code that checks result status and fetches health on error fix(typesContext.tsx): handle error when fetching types and set fetchError state to true anovazzi1 2023-08-23 14:59:20 -03:00
  • ea105ee7af refactor(typesContext.tsx): remove unnecessary retry logic and interval for fetching types fix(typesContext.tsx): fix issue where component was not unmounting properly and causing memory leaks anovazzi1 2023-08-23 14:44:45 -03:00
  • f22768c2bc fix(App.tsx): remove extra comma in the useContext hook feat(App.tsx): add support for displaying fetch error message when there is an error in the backend API call fix(typesContext.tsx): add error handling for API call and set fetchError state accordingly feat(typesContext.tsx): add fetchError state and setFetchError function to the typesContext anovazzi1 2023-08-23 12:52:49 -03:00
  • e4646b1e5f 🐛 fix(callback.py): remove "Prompt after formatting:\n" from text to improve formatting 🐛 fix(util.py): add remove_ansi_escape_codes function to remove ANSI escape codes from text Gabriel Luiz Freitas Almeida 2023-08-23 10:05:56 -03:00
  • df8098347d 🐛 fix(manager.py): handle JSONDecodeError in addition to TypeError when decoding JSON payload to improve error handling 🔧 chore(manager.py): log the error message when decoding JSON payload fails to provide more information for debugging 🔧 chore(manager.py): log the full exception stack trace when handling websocket fails to provide more information for debugging Gabriel Luiz Freitas Almeida 2023-08-23 10:05:24 -03:00
  • 4cb647ad47 🐛 fix(callback.py): remove "Prompt after formatting" from text before sending it as a prompt to the frontend ✨ feat(callback.py): send an empty message with the prompt to the frontend when "Prompt after formatting" is in the text 🐛 fix(schemas.py): make the prompt field optional in the ChatResponse schema Gabriel Luiz Freitas Almeida 2023-08-23 09:55:03 -03:00
  • ce9c10ba21 🔧 chore(docker-compose.debug.yml): reformat file to improve readability and maintain consistency in indentation and spacing Gabriel Luiz Freitas Almeida 2023-08-23 09:34:19 -03:00
  • dcb835e2eb 🔥 refactor(flow.py): remove unused import and commented out code Gabriel Luiz Freitas Almeida 2023-08-23 09:33:35 -03:00
  • b4a01ad934 🔧 fix(tabsContext.tsx): add setSuccessData to useContext to fix missing function error ✨ feat(tabsContext.tsx): add success alert when changes are saved successfully in TabsProvider component 🔧 fix(flowSettingsModal/index.tsx): remove setSuccessData from useContext to fix missing function error 🔧 fix(AdminPage/index.tsx): remove console.log statement ✨ feat(AdminPage/index.tsx): add success alert when user is edited successfully 🔧 fix(extraSidebarComponent/index.tsx): remove setSuccessData from useContext to fix missing function error Cristhian Zanforlin Lousa 2023-08-22 22:14:46 -03:00
  • ada752309a 🐛 fix(App.tsx): add setIsAdmin function to AuthContext to update isAdmin state when user data is fetched ✨ feat(App.tsx): set isAdmin state based on user's is_superuser value to conditionally render admin-related components 🐛 fix(headerComponent/index.tsx): fix conditional rendering of Sign out, Home, and Admin page buttons based on autoLogin and isAdmin values 🐛 fix(authContext.tsx): remove unnecessary useEffect to update isAdmin state when accessToken or isAdmin changes 🔥 chore(api.tsx): remove unused sleep function ✨ feat(AdminPage/index.tsx): update text in AdminPage to provide a better description of the page's purpose 🐛 fix(routes.tsx): wrap AdminPage and ApiKeysPage components with ProtectedAdminRoute component to restrict access to admin-only routes Cristhian Zanforlin Lousa 2023-08-22 21:49:37 -03:00
  • ca7bf7c9c4 🔧 chore(pyproject.toml): add zep-python as a development dependency to enable usage of zep-python library for testing purposes Gabriel Luiz Freitas Almeida 2023-08-22 20:39:12 -03:00
  • da694a1d9b 📦 chore(ZepMemory.py): add ZepMemory component to handle interactions with Zep API Gabriel Luiz Freitas Almeida 2023-08-22 20:38:41 -03:00
  • 0168b5a626
    Migrate Chroma to CustomComponent (#784) Diógenes Betat Roos 2023-08-22 19:31:23 -03:00
  • 78c58c1f7e Merge dev with custom_component_chroma DiogenesBR 2023-08-22 19:21:52 -03:00
  • f0d0909764 🔖 chore(pyproject.toml): bump version from 0.4.12 to 0.4.13 for langflow package Gabriel Luiz Freitas Almeida 2023-08-22 18:23:15 -03:00
  • 1d14f24a97 merge fix Cristhian Zanforlin Lousa 2023-08-22 18:20:26 -03:00
  • 54fd3d5705 🔧 fix(headerComponent): remove unused imports and function call to improve code cleanliness and performance ✨ feat(headerComponent): remove conditional rendering for api keys button to always display it in the header 🔧 fix(ApiKeysPage): add missing import for Header component to fix compilation error Cristhian Zanforlin Lousa 2023-08-22 18:20:04 -03:00
  • 513bfc1930
    Adds GET and POST utility components (#799) Gabriel Luiz Freitas Almeida 2023-08-22 21:15:12 +00:00
  • cea4063637 🐛 fix(GetRequest.py): convert timeout to integer to avoid potential type errors ✨ feat(PostRequest.py): update display name to "POST Request" for better clarity and consistency Gabriel Luiz Freitas Almeida 2023-08-22 17:53:55 -03:00
  • c6fc60d4b2 🔧 chore(GetRequest.py): add timeout parameter to the GetRequest component for configurable request timeout 📝 docs(GetRequest.py): update component documentation to include information about the new timeout parameter Gabriel Luiz Freitas Almeida 2023-08-22 17:52:17 -03:00
  • 4f2a14bed5 📝 docs(utilities.mdx): add horizontal rule to improve readability and separation of content 📝 docs(utilities.mdx): add description for JSON Document Builder to provide clarity on its purpose Gabriel Luiz Freitas Almeida 2023-08-22 17:46:07 -03:00
  • c22a792a7f 📚 docs(GetRequest.py): add documentation link for the GET Request component 📚 docs(JSONDocumentBuilder.py): add documentation link for the JSON Document Builder component 📚 docs(PostRequest.py): add documentation link for the POST Request component 📚 docs(UpdateRequest.py): add documentation link for the Update Request component Gabriel Luiz Freitas Almeida 2023-08-22 17:45:45 -03:00
  • 7dc258d580 📝 docs(utilities.mdx): update Utilities section in the sidebar to include the new "Utilities" page 📝 docs(sidebars.js): add "components/utilities" to the Components section in the sidebar Gabriel Luiz Freitas Almeida 2023-08-22 17:43:15 -03:00
  • 76db1b011c Merge remote-tracking branch 'origin/dev' into login anovazzi1 2023-08-22 17:41:19 -03:00
  • 42a268a678 📝 docs(components/utilities.mdx): add documentation for Update Request feature Gabriel Luiz Freitas Almeida 2023-08-22 17:35:20 -03:00
  • cee95cb0a6 chore(constants.ts): update SIGN_UP_SUCCESS message to improve clarity and conciseness anovazzi1 2023-08-22 17:18:35 -03:00
  • db96a73420
    CRUD of User Management, JWT Management Session, Protected Routes (#758) anovazzi1 2023-08-22 16:55:27 -03:00
  • bba4d4b016 update gitattributes anovazzi1 2023-08-22 16:51:34 -03:00
  • b1779e849d 🔥 refactor(base.py): remove unused imports and code in base.py 🔥 refactor(base.py): remove unused variables and functions in base.py Gabriel Luiz Freitas Almeida 2023-08-22 16:46:57 -03:00
  • f69fddb1a0 🔧 chore(settings.py): add missing import statement for json module Gabriel Luiz Freitas Almeida 2023-08-22 16:42:09 -03:00
  • fb7513f7cb 🐛 fix(custom_component.py): change repr_value type from str to Any to allow any type of value to be assigned Gabriel Luiz Freitas Almeida 2023-08-22 16:37:53 -03:00
  • 938fcbab62 🐛 fix(GetRequest.py): change variable name 'url' to 'urls' to improve clarity and semantics ✨ feat(PatchRequest.py): add new component 'PatchRequest' to make PATCH requests to a given URL 🐛 fix(PostRequest.py): change variable name 'document' to 'documents' to improve clarity and semantics Gabriel Luiz Freitas Almeida 2023-08-22 16:37:43 -03:00
  • 0dd098882c Merge branch 'login-auth' of github.com:logspace-ai/langflow into login-auth igorrCarvalho 2023-08-22 16:28:14 -03:00
  • 471692bdd1 Refactor: Add Header to admin page igorrCarvalho 2023-08-22 16:27:26 -03:00
  • 99407c2617 feat(ApiKeysPage): add Header component to the ApiKeysPage for consistent layout and navigation anovazzi1 2023-08-22 16:17:47 -03:00
  • 663e648af2 📝 docs(utilities.mdx): update documentation for GET and POST requests to reflect changes in the response format 📝 docs(utilities.mdx): clarify that multiple URLs can be provided for GET requests and the response will be a list of Documents Gabriel Luiz Freitas Almeida 2023-08-22 16:15:02 -03:00
  • 05c8f5a0f8 🐛 fix(GetRequest.py): update orjson_dumps function call to set indent_2 parameter to False 🐛 fix(GetRequest.py): update return type annotation of get_documents method to list[Document] 🐛 fix(PostRequest.py): update return type annotation of post_document method to list[Document] Gabriel Luiz Freitas Almeida 2023-08-22 16:13:07 -03:00
  • 6fa2258aac 🔧 chore(manager.py): import orjson library for improved JSON serialization and deserialization performance Gabriel Luiz Freitas Almeida 2023-08-22 16:12:42 -03:00
  • 70f98f9150 🐛 fix(custom_component.py): extract inner type from return type if it starts with 'list' or 'List' to handle list types correctly Gabriel Luiz Freitas Almeida 2023-08-22 16:12:30 -03:00
  • 1dbe776e6a ✨ feat(utils.py): add function extract_inner_type to extract the inner type from a type hint that is a list Gabriel Luiz Freitas Almeida 2023-08-22 16:11:47 -03:00
  • 39ae660e45 🔧 chore(loading.py): add import statement for json module to fix missing import error Gabriel Luiz Freitas Almeida 2023-08-22 16:11:37 -03:00
  • 6634e8864b 🔧 chore(vector_store.py): import orjson library for JSON serialization and deserialization 🐛 fix(vector_store.py): fix typo in function comment, change "OR" to "or" for better readability Gabriel Luiz Freitas Almeida 2023-08-22 16:11:24 -03:00
  • 59652b8875 🔧 chore(prebuilt.py): import missing JSON_PREFIX and JsonToolkit to fix unresolved references 🔧 chore(prebuilt.py): import missing JSON_PREFIX and JsonToolkit to fix unresolved references in prebuilt.py Gabriel Luiz Freitas Almeida 2023-08-22 16:11:10 -03:00
  • 8098cea405 🐛 fix(JSONDocumentBuilder.py): fix JSON serialization issue by using orjson_dumps function 🔒 chore(JSONDocumentBuilder.py): add type checking and raise TypeError for invalid input Gabriel Luiz Freitas Almeida 2023-08-22 15:36:49 -03:00
  • 0d53db1653 🐛 fix(PostRequest.py): add validation for document parameter to only accept Document or list of Documents to prevent errors Gabriel Luiz Freitas Almeida 2023-08-22 15:33:44 -03:00
  • 4efe06e440 🐛 fix(PostRequest.py): remove redundant session creation and move it to the calling function to improve efficiency and reusability ✨ feat(PostRequest.py): add support for processing multiple documents in a single request to improve performance and reduce network overhead Gabriel Luiz Freitas Almeida 2023-08-22 15:32:00 -03:00
  • 696a139171 🐛 fix(GetRequest.py): handle request timeout by returning a Document with status code 408 and "Request Timed Out" content ✨ feat(GetRequest.py): add timeout parameter to the build method to allow configuring the request timeout value Gabriel Luiz Freitas Almeida 2023-08-22 15:31:47 -03:00
  • 185754e2cd a igorrCarvalho 2023-08-22 15:00:14 -03:00
  • 5fa8281e94 🐛 fix(JSONDocumentBuilder.py): handle both single document and list of documents when building JSON document ✨ feat(JSONDocumentBuilder.py): add support for building JSON document from a list of documents Gabriel Luiz Freitas Almeida 2023-08-22 14:59:00 -03:00
  • 6e18e795ff 🔧 chore(GetRequest.py): refactor GetRequest class to store the returned documents in a repr_value attribute for debugging purposes Gabriel Luiz Freitas Almeida 2023-08-22 14:58:52 -03:00
  • 62b9bb523c 🔧 fix(GetRequest.py): improve code readability and add support for multiple URLs and headers in GetRequest component 🔧 fix(PostRequest.py): improve code readability and add support for multiple documents, URLs, and headers in PostRequest component Gabriel Luiz Freitas Almeida 2023-08-22 14:56:34 -03:00
  • 0c0d8cfdb3 Feat: Add button on admin page to return to main page igorrCarvalho 2023-08-22 14:33:06 -03:00
  • 9f617ff6f1 📝 docs(utilities.mdx): update Utilities documentation with additional sections and improve formatting for better readability Gabriel Luiz Freitas Almeida 2023-08-22 11:56:14 -03:00
  • b8b9bb25bc 📦 feat(JSONDocumentBuilder.py): add JSONDocumentBuilder component to build a Document containing a JSON object using a key and another Document page content 📝 docs(JSONDocumentBuilder.py): add description and field configuration for JSONDocumentBuilder component Gabriel Luiz Freitas Almeida 2023-08-22 11:56:01 -03:00
  • fb028e55b8 ✨ feat(GetRequest.py): add GetRequest component to make a GET request to a given URL ✨ feat(PostRequest.py): add PostRequest component to make a POST request to a given URL Gabriel Luiz Freitas Almeida 2023-08-22 11:38:48 -03:00
  • 22072084f8 🐛 fix(schemas.py): fix indentation issue in the __str__ method of StreamData class to improve code readability Gabriel Luiz Freitas Almeida 2023-08-22 11:38:36 -03:00
  • 44ce4eac5c 🔧 fix(endpoints.py): refactor logger.debug statement to improve readability and provide more information 🔧 fix(base.py): remove redundant logger.debug statement 🔧 fix(directory_reader.py): refactor logger.debug statement to improve readability and provide more information 🔧 fix(types.py): refactor logger.debug statement to improve readability and provide more information Gabriel Luiz Freitas Almeida 2023-08-22 11:38:24 -03:00
  • ecf217dce8 🐛 fix(chat.py): remove unnecessary try-except block for building the graph and handle any exceptions thrown by Graph.from_payload() method 🔧 refactor(chat.py): improve logging output for built node parameters in stream_build() method Gabriel Luiz Freitas Almeida 2023-08-22 11:37:51 -03:00
  • 0fa51db7c5 fix bug on import new flow anovazzi1 2023-08-22 11:06:24 -03:00
  • d0aa3261f1 🐛 fix(flows.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 🐛 fix(schemas.py): change json.dumps to orjson_dumps for improved performance and compatibility with orjson library 🐛 fix(utils.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 🐛 fix(loading.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 🐛 fix(utils.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 🐛 fix(vector_store.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 🐛 fix(types.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library 🐛 fix(process.py): change json.loads to orjson.loads for improved performance and compatibility with orjson library ✨ feat(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics ✨ feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port Gabriel Luiz Freitas Almeida 2023-08-22 11:04:41 -03:00
  • f01658d521 added client_settings tho the returned Chroma object DiogenesBR 2023-08-22 13:37:34 +00:00
  • 3be9b054cd
    🔺 chore(package.json): update "@mendable/search" dependency from "^0.0.114" to "^0.0.154" to get the latest features and bug fixes (#798) Gabriel Luiz Freitas Almeida 2023-08-22 12:51:05 +00:00
  • 022b6e1170 🔺 chore(package.json): update "@mendable/search" dependency from "^0.0.114" to "^0.0.154" to get the latest features and bug fixes Gabriel Luiz Freitas Almeida 2023-08-22 09:50:09 -03:00
  • be7cb0763e 📝 docs(langfuse_integration.mdx): update Langfuse integration guide with detailed instructions and explanations Gabriel Luiz Freitas Almeida 2023-08-22 09:47:35 -03:00
  • c8d9c41f9a 🐛 fix(base.py): add support for langfuse callback to flush if present ✨ feat(base.py): add support for langfuse callback to flush if present when getting result and steps Gabriel Luiz Freitas Almeida 2023-08-22 09:47:22 -03:00
  • 75f042c388 📚 docs(sidebars.js): add "langfuse_integration" guide to the "Step-by-Step Guides" section for improved documentation coverage Gabriel Luiz Freitas Almeida 2023-08-22 07:20:25 -03:00
  • 4e7a993db3 Adds first version of docs Gabriel Luiz Freitas Almeida 2023-08-21 22:18:55 -03:00
  • 894dbdcd40 🔧 chore(base.py): improve error handling and error message when importing langfuse callback module 🚀 feat(base.py): add langfuse callback import type hint to ignore type checking for better compatibility with dynamic imports Gabriel Luiz Freitas Almeida 2023-08-21 22:07:35 -03:00