Commit graph

86 commits

Author SHA1 Message Date
phact
77a518b77d fix langfuse env name 2025-12-17 23:41:27 -05:00
phact
f3e1ca673a langfuse 2025-12-17 13:02:15 -05:00
phact
795cbe3b60 expand compose paths, and fix .env on startup 2025-12-15 16:12:44 -05:00
phact
544855d097 missed some dirs 2025-12-12 15:43:28 -05:00
phact
55b8f72b2b persist json state 2025-12-12 15:13:11 -05:00
Eric Hare
0fe9086795
Env var volume mounts + one time migration of data 2025-12-12 10:09:32 -08:00
Lucas Oliveira
7f87fc5968 updated langflow version to be openrag version 2025-12-01 15:57:39 -03:00
pushkala-datastax
c1762f824d
Merge pull request #540 from langflow-ai/pushkala-datastax-patch-6
Update volume path for openrag-documents
2025-11-27 08:38:07 -08:00
Lucas Oliveira
cebb38eb04
fix: make backend reset langflow flows after upgrade, backup flows every 5 mins (#483)
* Changed backend to mount config at volume

* update lock

* Changed backend to reapply settings after detecting that flow is reset

* Added periodic backup for flows, make better reset

* tui warning

* Changed settings page to alert user that he has to disable lock flow

* Changed flows to be locked

* Do periodic backup only if onboarding is done

* Change backup function to only back up flows if flow lock is disabled

* Added session manager to reapply all settings

---------

Co-authored-by: Sebastián Estévez <estevezsebastian@gmail.com>
2025-11-26 22:53:33 -03:00
pushkala-datastax
0fdf5a6518
Update volume path for openrag-documents 2025-11-26 17:51:08 -08:00
Mike Fortman
25dd787d2a
Merge branch 'main' into doc-directory-name 2025-11-26 16:11:58 -06:00
Mike Fortman
d6466db5a1 change documents directory 2025-11-26 12:59:40 -06:00
Edwin Jose
53139ecb8a Enable local builds and env embedding model config in compose files
Uncommented build sections for backend, frontend, and langflow services in docker-compose.yml to allow local image builds. Updated SELECTED_EMBEDDING_MODEL to use environment variable in both docker-compose.yml and docker-compose-cpu.yml for improved configurability.
2025-11-26 13:55:49 -05:00
Edwin Jose
6c3fca2018
Merge branch 'main' into support-multi-embedding 2025-11-26 11:04:23 -05:00
phact
bb05b3e632 Merge branch 'fix/docker-compose' of github.com:phact/openrag into fix/docker-compose 2025-11-26 06:31:44 -05:00
phact
24c006128c remove the secret 2025-11-26 06:31:15 -05:00
phact
25e0c6cbd1 merge 2025-11-26 06:23:21 -05:00
Edwin Jose
3dbd503b4c
Merge branch 'main' into support-multi-embedding 2025-11-26 04:20:05 -05:00
Edwin Jose
0c191edaaf Switch ingestion flow to multimodal OpenSearch component
Replaces OpenSearchHybrid with OpenSearchVectorStoreComponentMultimodalMultiEmbedding in ingestion_flow.json, updating all relevant edges and embedding connections. Updates docker-compose.yml to use local builds for backend, frontend, and langflow, and improves environment variable handling for API keys. This refactor enables multi-model and multimodal embedding support for document ingestion and search.
2025-11-25 19:09:21 -05:00
Edwin Jose
284b982dbf Add SELECTED_EMBEDDING_MODEL global variable support
Introduces SELECTED_EMBEDDING_MODEL as a global environment variable in docker-compose files and ensures it is passed in API headers for Langflow-related services. Updates settings and onboarding logic to set this variable without triggering flow updates, improving embedding model configuration consistency across services.
2025-11-25 17:47:54 -05:00
Edwin Jose
d5bf5b0c18 Update docker-compose.yml 2025-11-25 17:06:06 -05:00
Lucas Oliveira
608fc798b0 Deleted docker compose cpu, added gpu override 2025-11-25 18:09:47 -03:00
phact
6495cd96e9 switch to langflowai/ in dockerhub 2025-11-24 18:04:13 -05:00
Edwin Jose
71b67f418d Enhance embedding model component and Docker builds
Switches Docker Compose services to local builds for backend, frontend, and langflow. Updates embedding model component to support IBM watsonx.ai features, including input token truncation and original text output, adds new dependencies, and improves configuration options in ingestion and agent flows.
2025-11-24 16:40:36 -05:00
Edwin Jose
91418289d6 Update langflow service image in docker-compose
Changed the langflow service image from 'langflowai/langflow-nightly' to 'phact/openrag-langflow' and updated the default version tag to 'latest'.
2025-11-20 18:25:59 -05:00
phact
ab3c57705a opensearch volume 2025-11-20 13:44:18 -05:00
Edwin Jose
f7d4cd1d9e Update docker-compose.yml 2025-11-19 14:42:52 -05:00
Edwin Jose
b3b891a40f Add support for Anthropic, WatsonX, and Ollama APIs
Introduced new environment variables for Anthropic, WatsonX, and Ollama API integration in both backend and Langflow services within docker-compose files. Also enabled backend service to build from local Dockerfile instead of using only the image.
2025-11-19 14:38:13 -05:00
Lucas Oliveira
37faf94979
feat: adds anthropic provider, splits onboarding editing into two, support provider changing with generic llm and embedding components (#373)
* Added flows with new components

* commented model provider assignment

* Added agent component display name

* commented provider assignment, assign provider on the generic component, assign custom values

* fixed ollama not showing loading steps, fixed loading steps never being removed

* made embedding and llm model optional on onboarding call

* added isEmbedding handling on useModelSelection

* added isEmbedding on onboarding card, separating embedding from non embedding card

* Added one additional step to configure embeddings

* Added embedding provider config

* Changed settings.py to return if not embedding

* Added editing fields to onboarding

* updated onboarding and flows_service to change embedding and llm separately

* updated templates that needs to be changed with provider values

* updated flows with new components

* Changed config manager to not have default models

* Changed flows_service settings

* Complete steps if not embedding

* Add more onboarding steps

* Removed one step from llm steps

* Added Anthropic as a model for the language model on the frontend

* Added anthropic models

* Added anthropic support on Backend

* Fixed provider health and validation

* Format settings

* Change anthropic logo

* Changed button to not jump

* Changed flows service to make anthropic work

* Fixed some things

* add embedding specific global variables

* updated flows

* fixed ingestion flow

* Implemented anthropic on settings page

* add embedding provider logo

* updated backend to work with multiple provider config

* update useUpdateSettings with new settings type

* updated provider health banner to check for health with new api

* changed queries and mutations to use new api

* changed embedding model input to work with new api

* Implemented provider based config on the frontend

* update existing design

* fixed settings configured

* fixed provider health query to include health check for both the providers

* Changed model-providers to show correctly the configured providers

* Updated prompt

* updated openrag agent

* Fixed settings to allow editing providers and changing llm and embedding models

* updated settings

* changed lf ver

* bump openrag version

* added more steps

* update settings to create the global variables

* updated steps

* updated default prompt

---------

Co-authored-by: Sebastián Estévez <estevezsebastian@gmail.com>
2025-11-11 19:22:16 -03:00
phact
a574ee41c8 disable tracing in langflow 2025-11-04 11:59:38 -05:00
Sebastián Estévez
cec0516639
Merge branch 'main' into tui-improvements 2025-10-08 23:12:59 -04:00
phact
037bc31800 add langflow auto_login env to openrag-backend 2025-10-08 16:27:26 -04:00
phact
0dcfff15b3 podman: flow directory security 2025-10-08 13:25:55 -04:00
Edwin Jose
eb1acde7df update the docker compose 2025-10-06 23:16:32 -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
Edwin Jose
725b6b8f25 Update docker-compose env vars and comments
Added new environment variables (FILENAME, MIMETYPE, FILESIZE) and updated LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT to include them. Comment formatting and container_name lines were adjusted for consistency, and DEFAULT_FOLDER_NAME is now commented out in both files.
2025-10-04 02:11:35 -04:00
Edwin Jose
30f4c8eb6e Merge branch 'main' into add-mcp-flows 2025-10-03 17:00:04 -04:00
Lucas Oliveira
ea61aa7136 added url ingest id to everything 2025-10-03 17:29:28 -03:00
Mike Fortman
8fef1c7976
Merge branch 'main' into lf-ffs 2025-10-03 12:30:04 -05:00
Mike Fortman
9782f6ddf0 add Langflow feature flags 2025-10-02 16:50:16 -05:00
Lucas Oliveira
460d3d29fc
fix: remove config from being visible (#178)
* remove config from volume

* delete config folder
2025-10-02 17:34:03 -03:00
Edwin Jose
3d07a6b419 Update docker-compose.yml 2025-10-02 14:46: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
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
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
ed6c410550 Update docker-compose.yml 2025-09-25 18:14:11 -04:00
Edwin Jose
372c7e2445 update to header 2025-09-25 16:24:43 -04:00
phact
d6a8f4437c v0.1.13 - back to custom langflow branch 2025-09-19 23:40:48 -04:00