Commit graph

41 commits

Author SHA1 Message Date
Edwin Jose
dcd44017ce Update to langflow service to user logger correctly 2025-09-08 12:13:02 -04:00
Edwin Jose
5dd9959dd0
Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 10:38:31 -04:00
phact
9f7c506cce log error when INGEST_FLOW_ID is not configured 2025-09-08 09:58:28 -04:00
Gabriel Luiz Freitas Almeida
18e1874c88 Enhance logging and JWT token handling in LangflowFileService
This commit refactors the LangflowFileService to utilize a centralized logger instead of instance-specific logging. It also improves the handling of the JWT token in the run_ingestion_flow method, ensuring it is correctly passed to downstream services and logged appropriately. These changes enhance code readability and maintainability while adhering to robust async coding practices.
2025-09-08 08:44:05 -03:00
Gabriel Luiz Freitas Almeida
2543b2103b fix import statement 2025-09-08 08:42:46 -03:00
Edwin Jose
6c99c1b61d Implement unified upload and ingest endpoint in Langflow
This commit introduces a new combined endpoint for uploading files and running ingestion in Langflow. The frontend component is updated to utilize this endpoint, streamlining the process by eliminating separate upload and ingestion calls. The response structure is adjusted to include deletion status and other relevant information, enhancing error handling and logging practices throughout the codebase.
2025-09-08 02:03:02 -04:00
Gabriel Luiz Freitas Almeida
db65f8789a Refactor LangflowFileService to utilize centralized API client
This commit streamlines the LangflowFileService by removing direct HTTP client usage in favor of a centralized API client for handling requests. It enhances the upload and delete file methods to improve code organization and maintainability. Additionally, it updates logging practices for better error visibility, ensuring adherence to robust async coding standards and documentation practices.
2025-09-05 11:36:44 -03:00
Gabriel Luiz Freitas Almeida
531ff8b6ac Merge branch 'main' into ingestion-flow 2025-09-05 10:26:38 -03:00
phact
d198ffa706 logging & format 2025-09-04 20:56:47 -04:00
Gabriel Luiz Freitas Almeida
c4185bb33f Merge branch 'main' into ingestion-flow 2025-09-04 17:59:43 -03:00
Gabriel Luiz Freitas Almeida
4bd2bd7765 Merge branch 'main' into ingestion-flow 2025-09-04 11:46:33 -03:00
Gabriel Luiz Freitas Almeida
d77ebb5f37 update FLOW_ID to LANGFLOW_CHAT_FLOW_ID 2025-09-04 10:23:34 -03:00
Gabriel Luiz Freitas Almeida
45e9c60af1 Enhance LangflowFileService with API key management and v2 endpoint support
This commit refactors the LangflowFileService to include asynchronous API key retrieval and updates the file upload and deletion methods to use the new v2 endpoints. The flow ID constant has been renamed for clarity, and additional logging has been added for better debugging and error handling. The payload structure for the ingestion flow has also been modified to improve functionality and maintainability.
2025-09-04 10:21:35 -03:00
Gabriel Luiz Freitas Almeida
531ca7cd49 Refactor TaskService for improved readability and maintainability
This commit enhances the TaskService class by reorganizing import statements, updating type hints to use `dict` instead of `Dict`, and improving the formatting of method definitions for better clarity. Additionally, minor adjustments were made to comments and error handling, contributing to a more robust and well-documented codebase.
2025-09-04 08:44:00 -03:00
phact
a52a842df9 centralized logging 2025-09-03 15:57:35 -04:00
phact
9074bda6ed ruff 2025-09-03 09:17:30 -04:00
Gabriel Luiz Freitas Almeida
f0744b153d Add LangflowFileService for file upload and ingestion flow
This commit introduces the LangflowFileService class, which provides methods for uploading user files, deleting user files, and triggering an ingestion flow using the Langflow Files API. The service is designed to handle asynchronous operations and includes error handling for API requests. Documentation for each method is included to ensure clarity on usage.
2025-09-02 23:10:20 -03:00
phact
1b14d6c8e5 no auth mode 2025-09-02 10:50:20 -04:00
phact
859458efdf LANGFLOW_URL 2025-08-27 23:09:11 -04:00
phact
6011b7fb2f worker logging and reliability 2025-08-22 12:40:55 -04:00
phact
1615433415 fix process folder bug 2025-08-22 11:25:59 -04:00
phact
be61909bed in memory chat history and WIP conversation forking 2025-08-22 03:04:46 -04:00
phact
ab9ffa25bc monitor service and kf subscription WIP 2025-08-22 01:09:18 -04:00
phact
a25ff0d51b add os fields for owner name and email 2025-08-21 02:32:14 -04:00
phact
c111295bac sharepont / opendrive 2025-08-18 16:49:25 -04:00
estevez.sebastian@gmail.com
02e39286fc move client / secret env vars to connector 2025-08-15 13:56:30 -04:00
phact
91f0b608b5 frontend redesign 2025-08-14 15:06:38 -04:00
phact
346b938d98 refactor to openrag and knowledge filters 2025-08-13 16:31:35 -04:00
phact
ef00cc720b flow to support passing filters 2025-08-12 16:30:41 -04:00
phact
2675c2ff72 contexts endpoints and chat support via context vars 2025-08-12 15:01:46 -04:00
phact
bf23ad8729 search improvements (facets, limit, score threshold) 2025-08-12 12:37:55 -04:00
phact
7ab8433aa8 changes to support jwt through langflow 2025-08-12 00:30:32 -04:00
phact
f8a583a982 context variable fix for agentd 2025-08-11 21:57:05 -04:00
phact
8def00d6d6 oidc / opensearch auth integration -- search endpoint 2025-08-11 16:45:54 -04:00
phact
10bb411e74 doc title fix 2025-08-01 11:31:49 -04:00
phact
8e947c3965 chunking token limit 2025-07-31 13:39:32 -04:00
phact
6c2cc907dd webhooks work 2025-07-31 00:42:52 -04:00
phact
a282f2a9f8 cancel task endpoint 2025-07-30 22:42:01 -04:00
phact
c1eb61a973 tasks get their own module and list support 2025-07-30 15:56:36 -04:00
phact
5921586bcf tasks work post refactor 2025-07-30 15:49:58 -04:00
phact
c9182184cf refactor 2025-07-30 11:18:19 -04:00