Commit graph

172 commits

Author SHA1 Message Date
phact
330b16ae06 preserve file name for upload 2025-10-07 02:00:57 -04:00
Edwin Jose
e7799e1a2c Quote OWNER_NAME to handle spaces in headers
OWNER_NAME is now wrapped in double quotes to prevent issues with spaces and special characters when used in headers. This change improves reliability when passing user names containing spaces.
2025-10-06 23:15:13 -04:00
Edwin Jose
88f0bbc1f4
Merge branch 'main' into add-mcp-agent-flows 2025-10-06 17:27:36 -04:00
phact
7763dc5d48 fix: file tuple for ingest 2025-10-06 16:25:05 -04:00
Edwin Jose
42a198f96a Add CONNECTOR_TYPE_URL env and flow support
Introduces the CONNECTOR_TYPE_URL environment variable to docker-compose files and assets, updates the OpenRAG URL ingestion flow to use it, and ensures it is set in the auth service global variables. This enables explicit configuration and handling of URL-based connectors in the OpenRAG system.
2025-10-06 16:24:15 -04:00
Lucas Oliveira
05284f3d2e Merge remote-tracking branch 'origin/main' into fix/tasks_ingest 2025-10-06 11:58:45 -03:00
Edwin Jose
336e7bb501 Integrate OpenSearch hybrid search and update ingestion flow
Replaces the File component with a new OpenSearch hybrid search component in the ingestion flow, adds support for document metadata, and updates flow edges for DataFrame operations. Updates OpenSearch component implementation with advanced authentication, metadata handling, and vector store features. Docker Compose files and related service references are also updated to support the new OpenSearch integration.
2025-10-04 02:09:29 -04:00
Lucas Oliveira
ea61aa7136 added url ingest id to everything 2025-10-03 17:29:28 -03:00
Edwin Jose
5ea70cc779
Refactor file upload task to use filename mapping (#195)
Changed the handling of original filenames in Langflow upload tasks to use a mapping from file paths to original filenames instead of a list. Updated both the API router and TaskService to support this change, improving reliability when associating uploaded files with their original names.
2025-10-03 17:17:05 -03:00
Lucas Oliveira
589839fedc implement duplicate handling on backend and frontend 2025-10-03 15:34:54 -03:00
Lucas Oliveira
11464f031e Merge remote-tracking branch 'origin/main' into lfx-openrag-update-flows 2025-10-02 17:40:19 -03:00
Edwin Jose
e3eb4dc3d1 Update chat_service.py 2025-10-02 15:51:38 -04:00
Lucas Oliveira
52896a8da7
fix: set defined models for openai, make default embedding be used when disable ingest with LF feature flag is enabled (#128)
* hard-coded openai models

* ensure index if disable ingest with langflow is active

* update backend to not update embedding model when flag is disabled

* initialize index on startup when feature flag is enabled

* put config.yaml on docker compose
2025-10-01 16:50:21 -03:00
Edwin Jose
14b0f30107
Merge branch 'main' into lfx-openrag-update-flows 2025-09-30 15:52:18 -04:00
Mike Fortman
d015ed1b0c
add container utils (#151)
* add container utils

* added localhost url to settings

* added localhost_url as a constant

* added localhost_url to get settings query

* make ollama onboarding have localhost url by default

* make endpoint be changed in models service and in onboarding backend instead of onboarding screen

* fixed embedding dimensions to get stripped model

* make config come as localhost but global variable be set as the transformed endpoint

* remove setting ollama url since it comes from the global variable

* use localhost again on ollama

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2025-09-30 16:34:55 -03:00
Lucas Oliveira
530a223518 fixed model change not working 2025-09-29 17:39:49 -03:00
Lucas Oliveira
ae046f8d1a fixed edges logic 2025-09-29 17:30:12 -03:00
Edwin Jose
9a45d31481
Merge branch 'main' into lfx-openrag-update-flows 2025-09-29 16:28:46 -04:00
Lucas Oliveira
ae603b308c fixed bugs 2025-09-29 17:14:28 -03:00
Lucas Oliveira
4b64629a0a fixed import issue 2025-09-29 16:55:38 -03:00
Lucas Oliveira
cb95473243 changed logic to get nodes by display name instead of id 2025-09-29 16:43:27 -03:00
phact
9d412c431d cancel status bug 2025-09-29 15:06:32 -04:00
phact
6612388586 auto cleanup temp files 2025-09-29 14:08:36 -04:00
phact
0a49898fca Merge branch 'main' into shared-process-document-common-refactor 2025-09-29 12:12:10 -04:00
phact
21697c7952 merge 2025-09-29 12:11:47 -04:00
Edwin Jose
75350b241f Merge branch 'main' into add-header-run-endpoint 2025-09-26 15:06:15 -05:00
Edwin Jose
b51efd0d5e
Merge branch 'main' into lfx-openrag-update-flows 2025-09-26 12:16:02 -05:00
Lucas Oliveira
00477cac99 fix: update onboarding design, make opensearch index be initialized after onboarding, make flow reset change the models to the provider chosen (#100)
* changed tooltip stype

* added start on label wrapper

* changed switch to checkbox on openai onboarding and changed copies

* made border be red when api key is invalid

* Added embedding configuration after onboarding

* changed openrag ingest docling to have same embedding model component as other flows

* changed flows service to get flow by id, not by path

* modify reset_langflow to also put right embedding model

* added endpoint and project id to provider config

* added replacing the model with the provider model when resetting

* Moved consts to settings.py

* raise when flow_id is not found
2025-09-26 12:04:17 -03:00
Lucas Oliveira
e0015f35db
fix: update onboarding design, make opensearch index be initialized after onboarding, make flow reset change the models to the provider chosen (#100)
* changed tooltip stype

* added start on label wrapper

* changed switch to checkbox on openai onboarding and changed copies

* made border be red when api key is invalid

* Added embedding configuration after onboarding

* changed openrag ingest docling to have same embedding model component as other flows

* changed flows service to get flow by id, not by path

* modify reset_langflow to also put right embedding model

* added endpoint and project id to provider config

* added replacing the model with the provider model when resetting

* Moved consts to settings.py

* raise when flow_id is not found
2025-09-26 12:04:17 -03:00
Edwin Jose
6c952b7531 Update env vars and header keys for Langflow service
Added OWNER, OWNER_NAME, OWNER_EMAIL, and CONNECTOR_TYPE environment variables to docker-compose.yml. Updated LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT to match. Changed header keys in langflow_file_service.py to uppercase and ensured values are stringified for consistency.
2025-09-26 10:35:39 -04:00
Edwin Jose
392322077f Enable local build for OpenRAG services and update metadata handling
Switched OpenRAG backend and frontend in docker-compose.yml to use local Dockerfile builds instead of remote images. Updated environment variables for better clarity and system integration. In flows/openrag_agent.json and langflow_file_service, improved handling of docs_metadata to support Data objects and added logging for metadata ingestion. Added agent_llm edge to agent node in flow definition.
2025-09-26 03:08:26 -04:00
Edwin Jose
f4268bb99e Add new environment variables and improve logging
Added OWNER, OWNER_NAME, OWNER_EMAIL, and CONNECTOR_TYPE environment variables to docker-compose.yml and updated LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT accordingly. Modified ingestion_flow.json to adjust node selection and className, and cleared a sensitive value. Added logging for metadata tweaks in langflow_file_service.py for better traceability.
2025-09-26 02:36:32 -04:00
Edwin Jose
843fc92b76 Enhance OpenSearch ingestion and metadata handling
Updated the OpenSearchVectorStoreComponent to improve document metadata ingestion, including support for Data objects in docs_metadata. Added new edges and nodes to ingestion_flow.json for dynamic metadata input. Changed Dockerfile.langflow to use the fix-file-component branch.
2025-09-26 02:10:51 -04:00
Edwin Jose
372c7e2445 update to header 2025-09-25 16:24:43 -04:00
Edwin Jose
e5a5056f86 Add custom headers to Langflow ingestion requests
Introduces custom headers containing JWT and owner information to the Langflow ingestion API requests for improved authentication and traceability. Also refactors debug logging and formatting for better readability and error handling in the combined upload, ingest, and delete operation.
2025-09-25 15:45:32 -04:00
Edwin Jose
81300fdf9a Merge branch 'main' into lfx-openrag-update-flows 2025-09-25 15:40:33 -04:00
Edwin Jose
425b673e14 update to flow 2025-09-25 15:39:42 -04:00
phact
1b9d56bec0 WIP 2025-09-24 21:13:26 -04:00
Lucas Oliveira
28e566a1f4
feat: add session delete functionality (#70)
* implement delete user conversation on agent

* format

* implement delete session endpoint

* implement delete session on persistence services

* added deletion of sessions and added fetch sessions with query instead of with useEffect

* removed unused texts

* implemented dropdown menu on conversations
2025-09-24 17:41:53 -03:00
Mike Fortman
fc2e20b150 fix agent settings 2025-09-24 15:17:40 -05:00
Mike Fortman
56541abb4d
Merge pull request #71 from langflow-ai/setting-updates
settings updates for true flow updates
2025-09-24 14:53:00 -05:00
Mike Fortman
03f9f25a51 pr feedback 2025-09-24 14:20:29 -05:00
Edwin Jose
f710ae2137 Merge branch 'main' into lfx-openrag-update-flows 2025-09-24 11:39:09 -04:00
Deon Sanchez
be8e13a173
feat: add knowledge status (#53)
* feat: add status handling and visual indicators for file statuses

* refactor: comment out status field and related rendering logic in SearchPage

* format

* add timeout on mutation delete document

* make file fields be optional

* fetch task files and display them on knowledge page

* add tasks to files inside task context

* added failed to status badge

* added files on get all tasks on backend

* Changed models to get parameters by settings if not existent

* changed settings page to get models when is no ajth mode

* fixed openai allowing validation even when value is not present

* removed unused console log

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-09-24 10:27:59 -03:00
Mike Fortman
917b078c20 old tweaks cleanup 2025-09-23 16:01:02 -05:00
Edwin Jose
4e5f1ae931 Merge branch 'main' into lfx-openrag-update-flows 2025-09-23 11:40:16 -05:00
Cole Goldsmith
744a799c11 Merge branch 'main' into feat/move-filters 2025-09-23 09:27:01 -05:00
Gabriel Luiz Freitas Almeida
8d1b4f7cf6 format langflow_file_service.py 2025-09-22 19:32:26 -03:00
Gabriel Luiz Freitas Almeida
b19890fa4d Fix tweaks to pass load_from_db=False 2025-09-22 19:32:08 -03:00
Lucas Oliveira
c6794adca9
fix: make different providers have their edges connected, redirect to main page from onboarding (#58)
* Changed flows and components to support different models

* Changed onboarding to redirect automatically

* Added new components and ids to settings

* Changed flows service to change llm text components as well

* changed models service to not remove : on ollama

* fix edge not connecting on nudges flow
2025-09-22 18:02:56 -03:00