Commit graph

41 commits

Author SHA1 Message Date
Cole Goldsmith
b88c8b20df
Feat/provider validation banner (#353)
* models query combined

* make endpoint to handle provider health

* provider health banner

* update-pdf-to-include-provider-selection (#344)

* polishing the error fixing experience

* fix agent instructions and up char limit

* fix provider

* disable tracing in langflow

* improve docling serve banner remove false positives

* Changed pyproject.toml docling versions

* Added another uv lock revision

* version bump

* unused things and fix bad conflicts

* add isFetching to the hook

* put back settings for models queries to never cache results

* update banner refetching indicator

* validate provider settings when saving

* fix settings page layout issue

* Added retry as false on the get models, to not take a long time

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2025-11-06 13:03:50 -06:00
Mike Fortman
69d2132a33 fix provider 2025-11-04 12:59:23 -06:00
Cole Goldsmith
2d31c4b9b0
Feat/278 Edit current model provider settings (#307)
* update settings update api to allow changing model provider config

* use react hook form

* make settings page small width

* re-use the onboarding forms instead of rolling a custom one

* issue

* remove test

* make custom forms with react-hook-form

* replace the updateFlow mutation with updateSettings

* show all the model providers

* revert changes to onboarding forms

* disabled state styles for providers

* break model selectors into their own file

* use existing selector component, use settings endpoint instead of onboarding, clean up form styles

* revert changes to openai onboarding

* small form changes
2025-10-31 13:22:51 -05:00
Lucas Oliveira
7b635df9d0
fix: added better onboarding error handling, added probing api keys and models (#326)
* Added error showing to onboarding card

* Added error state on animated provider steps

* removed toast on error

* Fixed animation on onboarding card

* fixed animation time

* Implemented provider validation

* Added provider validation before ingestion

* Changed error border

* remove log

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-10-29 15:59:10 -03:00
phact
e3353bb0f8 loosen reconfigure check 2025-10-24 04:11:58 -04:00
phact
77edef26f7 fix conftest and more optionals 2025-10-14 12:17:07 -04:00
phact
9674021fae v0.1.24 2025-10-14 12:15:45 -04:00
Sebastián Estévez
b9f109ea7d
Merge branch 'main' into multi-embedding-support 2025-10-11 02:44:16 -04:00
phact
81901c666b fix: ensure /settings changes embedding models across all flows 2025-10-11 00:05:07 -04:00
Copilot
140d24603d
Implement dynamic Ollama embedding dimension resolution with server probing (#237)
* Initial plan

* Implement dynamic Ollama embedding dimension resolution with probing

Co-authored-by: phact <1313220+phact@users.noreply.github.com>

* Fix Ollama probing

* raise instead of dims 0

* Show better error

* Run embedding probe before saving settings so that user can update

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: phact <1313220+phact@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
2025-10-09 16:40:58 -03:00
Lucas Oliveira
11464f031e Merge remote-tracking branch 'origin/main' into lfx-openrag-update-flows 2025-10-02 17:40:19 -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
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
Mike Fortman
2341bf4700 Update docling preset options 2025-09-29 16:40:29 -05:00
Lucas Oliveira
1eeabeb370 changed signature 2025-09-29 16:43:35 -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
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
03f9f25a51 pr feedback 2025-09-24 14:20:29 -05:00
Mike Fortman
3de1495465 settings updates for true flow updates 2025-09-24 11:49:35 -05:00
Mike Fortman
917b078c20 old tweaks cleanup 2025-09-23 16:01:02 -05:00
Mike Fortman
e67fc21a9b update flow based on docling presets 2025-09-22 16:58:12 -05:00
Lucas Oliveira
49847e5a55 added required global variables, call service to change lf model 2025-09-22 12:58:39 -03:00
Lucas Oliveira
57f3344641 added global variables to the ollama models and watsonx 2025-09-22 09:35:41 -03:00
Lucas Oliveira
580c6f8e32 ingest documents only if user wants to 2025-09-22 09:35:41 -03: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
Mike Fortman
88c9d60986 add docling presets 2025-09-19 12:04:23 -05:00
Lucas Oliveira
410e98c802 removed unused session manager on onboarding endpoint 2025-09-17 17:43:59 -03:00
Lucas Oliveira
8ba718636a add assign model provider call on the settings onboarding endpoint 2025-09-17 17:43:35 -03:00
Lucas Oliveira
f5e2ee8059 added onboarding request 2025-09-17 16:53:44 -03:00
Lucas Oliveira
03b827f3e0 Added settings service and added post endpoint to edit them 2025-09-17 16:50:19 -03:00
Edwin Jose
6f76044395 Merge branch 'main' into fix-logger 2025-09-10 13:10:08 -04:00
Edwin Jose
3f198c4993 Update settings.py 2025-09-10 12:40:52 -04:00
phact
e6f3dabcf9 consolidate langflow clients 2025-09-10 12:03:11 -04:00
Gabriel Luiz Freitas Almeida
2fbb8d8430 Implement async fetching of ingestion flow configuration
This commit adds functionality to retrieve and set ingestion-specific defaults from the Langflow API based on the flow configuration. It includes error handling for the API call and updates the settings with values for chunk size, chunk overlap, separator, and embedding model based on the flow data. This enhancement improves the flexibility and robustness of the ingestion process.
2025-09-04 18:31:38 -03:00
Gabriel Luiz Freitas Almeida
83438a7c93 Refactor settings.py to enhance settings retrieval and improve flow ID handling
This commit updates the settings retrieval function to include new flow IDs for chat and ingestion, replacing the deprecated FLOW_ID. It also improves the logic for exposing edit URLs based on the availability of public URLs, contributing to a more robust and well-documented codebase.
2025-09-04 10:23:54 -03:00
phact
c97477a4ca settings for LANGFLOW_URL 2025-08-27 23:10:22 -04:00