Commit graph

474 commits

Author SHA1 Message Date
Mike Fortman
3c97a06256 Fix layout aligment and folder name 2025-10-03 15:29:13 -05: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
Mike Fortman
9c081ed06d Merge branch 'main' of github.com:langflow-ai/openrag into docling-req 2025-10-03 13:19:15 -05:00
Mike Fortman
8fef1c7976
Merge branch 'main' into lf-ffs 2025-10-03 12:30:04 -05:00
Lucas Oliveira
efb74f5ab0 Merge remote-tracking branch 'origin/main' into fix/tasks_ingest 2025-10-03 09:39:58 -03:00
Mike Fortman
9782f6ddf0 add Langflow feature flags 2025-10-02 16:50:16 -05:00
Lucas Oliveira
179a7403cc fixed router, langflow files and processors to not use temp names 2025-10-02 18:09:18 -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
2fc2a0ca03
fix: make config be on a volume (#170)
* fixed docker compose cpu and normal with volume

* changed config path

* changed gitignore

* added config example yaml
2025-10-01 17:47:23 -03: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
Deon Sanchez
dbf2d2b47b
Merge branch 'main' into remove-sync-connectors 2025-10-01 11:33:21 -06:00
Lucas Oliveira
e4b9ebb186 deleted docling component id 2025-10-01 12:40:12 -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
7d53242eaa Merge remote-tracking branch 'origin/main' into lfx-openrag-update-flows 2025-09-30 16:28:38 -03:00
Deon Sanchez
0a0dbe15ef Enhance settings page with new routing and UI updates; update connector descriptions for clarity 2025-09-30 10:56:43 -06:00
Mike Fortman
c46e9208cc Merge branch 'main' of github.com:langflow-ai/openrag into docling-settings 2025-09-29 16:47:12 -05:00
Mike Fortman
2341bf4700 Update docling preset options 2025-09-29 16:40:29 -05: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
1eeabeb370 changed signature 2025-09-29 16:43:35 -03:00
Lucas Oliveira
cb95473243 changed logic to get nodes by display name instead of id 2025-09-29 16:43:27 -03:00
Lucas Oliveira
643acaab74 changed component ids to display names 2025-09-29 16:42:49 -03:00
phact
15946b196d rm annotation 2025-09-29 15:18:40 -04:00
phact
634995e9c8 remove TaskProcessor ABC 2025-09-29 15:16:00 -04:00
phact
9d412c431d cancel status bug 2025-09-29 15:06:32 -04:00
phact
1abb74a8ac langflow_file_id init 2025-09-29 14:54:30 -04:00
phact
6612388586 auto cleanup temp files 2025-09-29 14:08:36 -04:00
phact
53289fe789 remove file_info_map which was unused 2025-09-29 14:00:58 -04:00
Mike Fortman
3bdf13b973
Merge branch 'main' into docling-req 2025-09-29 11:42:48 -05: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
Mike Fortman
54d50a6fa7
Merge branch 'main' into docling-req 2025-09-26 16:47:12 -05:00
Mike Fortman
ba22091f31 add banner for docling serve 2025-09-26 16:44:15 -05:00
Edwin Jose
55b1b2953d
Merge branch 'main' into add-header-run-endpoint 2025-09-26 15:06:15 -05: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
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
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
Edwin Jose
778993d64c 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
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
Eric Hare
275a89a675
Fix list_files interface for connectors 2025-09-25 13:37:28 -07:00