Commit graph

72 commits

Author SHA1 Message Date
phact
f242a700a8 crank langflow client config to 20 minutes 2025-11-23 19:33:28 -05:00
Cole Goldsmith
1385fd5d5c
better settings form validation, grouped model selection (#383)
* better form validation, grouped model selection

* bump version

* fix fe build issue

* fix test

* change linting error

* Fixed integration tests

* fixed tests

* sample commit

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2025-11-11 22:39:59 -03: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
zznate
088ddfa6c5 bug: Adjust replicas to zero as we are in single server mode. Closes #358. 2025-11-05 15:10:32 +13:00
Sebastián Estévez
28f417ab5c
Merge branch 'main' into tui-optional-openai-key 2025-10-31 15:54:18 -04:00
phact
563efd957f lazy client initialization + client cleanup + http2 probe and fallback 2025-10-31 15:52:10 -04:00
Lucas Oliveira
b9ea9c99f1
fix: fixed bugs on ollama integration, added ingestion on onboarding (#330)
* Updated ollama components

* Changed ollama display name to be correct

* Changed prompt of provider validation

* removed event dispatched from file upload

* Changed onboarding to upload the entire knowledge

* Changed default models for ollama
2025-10-30 09:02:06 -03:00
phact
80fdd9680d make openai optional in tui and lazy client creation in backend 2025-10-29 22:38:31 -04:00
phact
3998014561 fix document processing embedding model bug 2025-10-13 11:31:56 -04:00
Sebastián Estévez
b9f109ea7d
Merge branch 'main' into multi-embedding-support 2025-10-11 02:44:16 -04:00
phact
5a4d5158bc crank langflow timeout 2025-10-11 00:52:56 -04:00
phact
102c17d7ec WIP, non-langflow mode only 2025-10-10 09:43:37 -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
phact
8e1fd7a7fe tui and backend: handle langflow optional password config 2025-10-08 16:47:55 -04:00
phact
13c33fca8f remove logging 2025-10-07 02:11:51 -04:00
phact
5e48d7b791 trace logging 2025-10-07 02:07:06 -04:00
phact
31e49106fa dotenv override=False 2025-10-07 01:34:01 -04:00
Mike Fortman
da66d2e613 Merge branch 'main' of github.com:langflow-ai/openrag into docling-req 2025-10-06 09:49:04 -05:00
Mike Fortman
84a43141d9 set table structure to true by default 2025-10-03 15:54:57 -05:00
Lucas Oliveira
ea61aa7136 added url ingest id to everything 2025-10-03 17:29:28 -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
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
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
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
Edwin Jose
9a45d31481
Merge branch 'main' into lfx-openrag-update-flows 2025-09-29 16:28:46 -04:00
Lucas Oliveira
643acaab74 changed component ids to display names 2025-09-29 16:42:49 -03: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
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
phact
1b9d56bec0 WIP 2025-09-24 21:13:26 -04:00
Mike Fortman
ee16809c14
Merge branch 'main' into docling-presets 2025-09-23 15:14:05 -05:00
Mike Fortman
e67fc21a9b update flow based on docling presets 2025-09-22 16:58:12 -05: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
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
ccac068e2d added right component ids and added function to overwrite global variable 2025-09-22 12:59:41 -03:00
Lucas Oliveira
580c6f8e32 ingest documents only if user wants to 2025-09-22 09:35:41 -03:00
phact
9d57c352e8 merge 2025-09-19 11:06:50 -04:00
phact
dc91f55014 doc processing knobs 2025-09-18 16:27:01 -04:00
Lucas Oliveira
ba9ba0a36a Fixed not getting edited state 2025-09-18 13:21:32 -03:00
Deon Sanchez
ed0306bde3 revert settings 2025-09-17 17:34:35 -06:00
Deon Sanchez
3d74edfe3c Enhance Knowledge Page with Bulk Document Deletion
- Implemented bulk selection and deletion functionality in the Knowledge page.
- Added a confirmation dialog for bulk deletions, providing user feedback on success or failure.
- Updated AgGrid configuration to support multiple row selection and checkbox functionality.
- Styled checkboxes for better visibility and user experience.
- Refactored related components to accommodate new bulk actions.
2025-09-17 17:31:51 -06:00
Lucas Oliveira
e1b4c1b9b7 add additional paths in config 2025-09-17 17:42:38 -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
1531c6a9f5 Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 16:51:29 -04:00
Sebastián Estévez
084502c0b6
Merge branch 'main' into ingestion-flow 2025-09-08 16:29:13 -04:00
Edwin Jose
72e87eb702 change the parameter! 2025-09-08 15:42:20 -04:00