Commit graph

94 commits

Author SHA1 Message Date
phact
163d313849 ingest should use task tracker 2025-10-16 20:52:44 -04:00
phact
612a98f083 remove /upload endpoint, switch tests to router 2025-10-13 23:21:19 -04:00
phact
3998014561 fix document processing embedding model bug 2025-10-13 11:31:56 -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
325358e917 key permissions 2025-10-07 13:18:31 -04:00
phact
8ee1011562 unnecessary arg 2025-10-07 01:32:56 -04:00
phact
6f32890d76 docling backend check 2025-10-06 15:54:21 -04:00
Lucas Oliveira
589839fedc implement duplicate handling on backend and frontend 2025-10-03 15:34:54 -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
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
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
425b673e14 update to flow 2025-09-25 15:39:42 -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
Lucas Oliveira
a8f4d734a3
fix: adjust onboarding copies and behaviors (#67)
* fixed logos

* pre-populate ollama endpoint

* show/hide api keys with button

* Added dropdown selector for ibm endpoint

* Added programatic dot pattern instead of background image

* Updated copies

* wait for 500ms before show connecting

* Changed copy

* removed unused log

* Added padding when password button is present

* made toggle be on mouse up

* show placeholder as loading models when they're loading

* removed description from model selector

* implemented getting key from env

* fixed complete button not updating
2025-09-24 17:35:16 -03:00
Edwin Jose
f710ae2137 Merge branch 'main' into lfx-openrag-update-flows 2025-09-24 11:39:09 -04:00
Edwin Jose
4e5f1ae931 Merge branch 'main' into lfx-openrag-update-flows 2025-09-23 11:40:16 -05:00
Mike Fortman
e67fc21a9b update flow based on docling presets 2025-09-22 16:58:12 -05:00
Lucas Oliveira
580c6f8e32 ingest documents only if user wants to 2025-09-22 09:35:41 -03:00
Edwin Jose
c8c78f83d8 update component name 2025-09-19 22:08: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
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
Lucas Oliveira
410e98c802 removed unused session manager on onboarding endpoint 2025-09-17 17:43:59 -03:00
Lucas Oliveira
78380e1e07 add flows service to onboarding endpoint 2025-09-17 17:42:48 -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
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
Gabriel Luiz Freitas Almeida
3141adf10a Remove commented-out API endpoint section in main.py for cleaner code. 2025-09-09 15:09:42 -03:00
Gabriel Luiz Freitas Almeida
8259dfed34 Refactor imports and improve logging in main.py; streamline API endpoint definitions and enhance document ingestion process with better error handling and structured logging. 2025-09-09 15:08:46 -03:00
phact
696cbea407 merge better 2025-09-09 13:54:03 -04:00
Sebastián Estévez
e2caae94f1
Merge branch 'main' into ingest-settings 2025-09-09 13:29:27 -04:00
Mike Fortman
05cd115162 Merge branch 'main' of github.com:langflow-ai/openrag into ingest-settings 2025-09-09 10:00:19 -05:00
Edwin Jose
8dff280930 add langflow routers with langflow file processor 2025-09-09 03:20:21 -04:00
Edwin Jose
e0117f5cd1 update to routers 2025-09-08 19:31:42 -04:00
Edwin Jose
ed41ce0a67 add router to main 2025-09-08 17:52:22 -04:00
Edwin Jose
890b2e526b updates to routers 2025-09-08 17:22:14 -04:00
Lucas Oliveira
24b4d8a83f Added restore flow functionality 2025-09-08 18:07:36 -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
Gabriel Luiz Freitas Almeida
6d0a94e4b4 Refactor connector service initialization to use LangflowConnectorService
This commit updates the service initialization in main.py to replace the existing ConnectorService with LangflowConnectorService. This change enhances the management of connector documents by leveraging the new service's capabilities, aligning with the ongoing improvements in asynchronous processing and code maintainability.
2025-09-08 16:42:07 -03:00
Lucas Oliveira
d6bf6444e5 Merge remote-tracking branch 'origin/main' into feat/nudges 2025-09-08 16:25:59 -03:00
Edwin Jose
3cb379370e ingestion modes for the default files 2025-09-08 13:48:45 -04:00
Edwin Jose
975a4c214a Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 12:51:34 -04:00
Gabriel Luiz Freitas Almeida
d5166f4314 fix langflow file service change 2025-09-08 12:59:28 -03:00
Gabriel Luiz Freitas Almeida
503fa92788
Merge branch 'main' into ingestion-flow 2025-09-08 12:19:52 -03:00
Edwin Jose
6c99c1b61d Implement unified upload and ingest endpoint in Langflow
This commit introduces a new combined endpoint for uploading files and running ingestion in Langflow. The frontend component is updated to utilize this endpoint, streamlining the process by eliminating separate upload and ingestion calls. The response structure is adjusted to include deletion status and other relevant information, enhancing error handling and logging practices throughout the codebase.
2025-09-08 02:03:02 -04:00