Commit graph

192 commits

Author SHA1 Message Date
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
Cole Goldsmith
a343d94cb9 Merge branch 'main' into feat/move-filters 2025-09-22 15:02:31 -05:00
Mike Fortman
de733eee70
Merge pull request #50 from langflow-ai/feat/onboarding
Add onboarding and update settings
2025-09-22 14:14:54 -05:00
Lucas Oliveira
dfd60574d0 changed regex to replace everything related to the old edges and nodes, changed update_provider_components to get updated flow from langflow 2025-09-22 13:15:04 -03:00
Lucas Oliveira
34add855ca added function to update model parameters on flows service 2025-09-22 13:00:37 -03:00
Lucas Oliveira
ce9859a031 changed models service to check embedding and llm models 2025-09-22 11:19:10 -03:00
Cole Goldsmith
8d5791971d Merge branch 'main' into feat/move-filters 2025-09-22 09:02:16 -05:00
Mike Fortman
abb1ae0819 Merge branch 'feat/onboarding' of github.com:langflow-ai/openrag into feat/onboarding 2025-09-20 11:05:10 -05:00
Mike Fortman
7da9b98204 add docling presets 2025-09-20 11:05:01 -05:00
Lucas Oliveira
43f94f9f4b added model validation and onboarding finishing 2025-09-20 12:09:27 -03:00
Edwin Jose
c8c78f83d8 update component name 2025-09-19 22:08:01 -04:00
Edwin Jose
eeb060700c Update langflow_file_service.py 2025-09-19 21:32:39 -04:00
Edwin Jose
083f3d5d3d update to flows 2025-09-19 21:17:31 -04:00
Cole Goldsmith
4291cf5d45 Merge branch 'main' into feat/move-filters 2025-09-19 15:21:25 -05:00
Cole Goldsmith
8f3b149034 add more mutation queries and fix backend to wait for updates 2025-09-19 15:21:18 -05:00
Edwin Jose
5d43bb1abb
Merge branch 'main' into feat-add-owner-info-env 2025-09-19 13:45:12 -04:00
phact
f81bff1043 task tracking running jobs 2025-09-19 11:22:01 -04:00
Mike Fortman
9ad1fb3f4f Merge branch 'main' of github.com:langflow-ai/openrag into feat/onboarding 2025-09-18 21:04:37 -05:00
Edwin Jose
9dfe067e1e Add global var headers to MCP server updates
Extend AuthService and LangflowMCPService to support updating MCP servers with multiple global variable headers (JWT, OWNER, OWNER_NAME, OWNER_EMAIL) during login. This enables passing user context to MCP servers via custom headers, improving downstream identification and authorization.
2025-09-18 20:55:03 -04:00
Lucas Oliveira
d68a787017 Added models fetching 2025-09-18 18:25:00 -03:00
Deon Sanchez
9b5a7be8b0 Merge branch 'main' of https://github.com/langflow-ai/openrag into delete-knowledge 2025-09-18 14:09:51 -06:00
Edwin Jose
e89c4fa40f
Merge branch 'main' into feat-add-langflow-mcp-service 2025-09-18 14:14:50 -04:00
Lucas Oliveira
ecf3cf1402 Merge remote-tracking branch 'origin/main' into feat/onboarding 2025-09-18 14:19:05 -03:00
phact
096c1803b5 fix: no-auth process directory tasks bug 2025-09-18 12:56:15 -04:00
Lucas Oliveira
7010c73c50 Add assign model provider function to replace the flow with components 2025-09-17 17:43:14 -03:00
Edwin Jose
713f90c3c4 Integrate Langflow MCP JWT header update in AuthService
Added LangflowMCPService to update MCP servers with the user's JWT header after authentication. AuthService now triggers a background update to MCP servers on successful login, ensuring JWT propagation for downstream services.
2025-09-17 02:01:03 -04:00
Deon Sanchez
f28ba54da3 Implement Delete Confirmation Dialog and Enhance Knowledge Dropdown
- Added a new `DeleteConfirmationDialog` component for confirming deletions.
- Updated `KnowledgeDropdown` to include a loading state and improved user feedback during file operations.
- Enhanced the search page to support bulk deletion of documents with confirmation dialog.
- Integrated event dispatching for knowledge updates after file operations.
- Refactored various components for better readability and maintainability.
2025-09-16 16:07:49 -06:00
Edwin Jose
6dbcf5dbf5 Update langflow_history_service.py 2025-09-10 13:10:42 -04:00
Edwin Jose
6f76044395 Merge branch 'main' into fix-logger 2025-09-10 13:10:08 -04:00
Edwin Jose
4212c1025c Update session_ownership_service.py 2025-09-10 12:42:09 -04:00
Edwin Jose
8390653861 Update langflow_history_service.py 2025-09-10 12:42:05 -04:00