Commit graph

2603 commits

Author SHA1 Message Date
Lucas Oliveira
9e78798a04 added animate to package json 2025-09-05 17:00:29 -03:00
cristhianzl
f83851b259 (frontend): refactor message processing in ChatPage component to handle function calls from chunks or response_data
♻️ (agent.py): refactor async_response, async_langflow, async_chat, async_langflow_chat, and async_langflow_chat_stream functions to return full response object for function calls
🔧 (chat_service.py): update ChatService to include function call data in message_data if present
2025-09-05 16:53:02 -03:00
cristhianzl
7ff3bfd70b merge fix 2025-09-05 16:04:14 -03:00
cristhianzl
18b4059b56 🔧 (agent.py): Import and use conversation_persistence_service to handle user conversations storage and retrieval
🔧 (conversation_persistence_service.py): Create a service to persist chat conversations to disk for server restarts
2025-09-05 16:03:06 -03:00
Mike Fortman
5425e41d49 Merge branch 'feat-googledrive-enhancements' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-05 12:16:55 -05:00
Mike Fortman
efd9e3aad9 update be call 2025-09-05 12:16:43 -05:00
Eric Hare
18f41523c1
allow selection of selected files 2025-09-05 09:50:42 -07:00
Sebastián Estévez
6debe0b0bf
Merge pull request #18 from langflow-ai/shared-tasks
feat: Enhance task management to support shared tasks
2025-09-05 12:25:38 -04:00
Edwin Jose
bcdb1fb603 Merge branch 'shared-tasks' of https://github.com/langflow-ai/openrag into shared-tasks 2025-09-05 12:24:30 -04:00
Edwin Jose
947c7f8f3b shared tasks 2025-09-05 12:24:28 -04:00
Eric Hare
d8ec7584da
Fix the regular sync functionality 2025-09-05 09:21:16 -07:00
Edwin Jose
bb5e91969d
Merge branch 'main' into shared-tasks 2025-09-05 12:15:03 -04:00
Edwin Jose
796fd28b8f Enhance task management to support shared tasks for anonymous users. Updated get_task_status and get_all_tasks methods to include fallback to tasks stored under the "anonymous" user key. Improved task cancellation logic to handle shared tasks. Refactored code for clarity and maintainability. 2025-09-05 12:14:33 -04:00
phact
54ace16803 fix warmup logger 2025-09-05 12:09:45 -04:00
Gabriel Luiz Freitas Almeida
7172e95d98 Update logging in initialize_services to use logger instead of print statement
This commit replaces the print statement with a logger.info call in the initialize_services function, enhancing the logging practices for better error tracking and consistency across the codebase. This change aligns with the project's focus on robust async coding and well-documented code.
2025-09-05 11:37:44 -03:00
Gabriel Luiz Freitas Almeida
db65f8789a Refactor LangflowFileService to utilize centralized API client
This commit streamlines the LangflowFileService by removing direct HTTP client usage in favor of a centralized API client for handling requests. It enhances the upload and delete file methods to improve code organization and maintainability. Additionally, it updates logging practices for better error visibility, ensuring adherence to robust async coding standards and documentation practices.
2025-09-05 11:36:44 -03:00
Gabriel Luiz Freitas Almeida
89246ed1ae Refactor Langflow API integration in AppClients
This commit updates the settings for LANGFLOW_INGEST_FLOW_ID to remove reliance on a deprecated environment variable. It introduces a new Langflow HTTP client for making API requests and adds a centralized method for handling Langflow API requests, improving code organization and maintainability. The changes enhance the robustness of the async code while ensuring proper documentation practices are followed.
2025-09-05 11:33:37 -03:00
Gabriel Luiz Freitas Almeida
531ff8b6ac Merge branch 'main' into ingestion-flow 2025-09-05 10:26:38 -03:00
Lucas Oliveira
9251979207 Added padding top 2025-09-05 10:23:44 -03:00
Gabriel Luiz Freitas Almeida
63982ba711 Format 2025-09-05 10:22:55 -03:00
Lucas Oliveira
06b3850057 Componentize message send, and send message when clicking nudges 2025-09-05 10:20:17 -03:00
Lucas Oliveira
382df1064e Added nudges component 2025-09-05 10:19:59 -03:00
Gabriel Luiz Freitas Almeida
b4ca29677e Refactor settings fetching in KnowledgeSourcesPage for cleaner state updates
This commit simplifies the state update logic in the KnowledgeSourcesPage component by using conditional chaining to set various settings from the backend response. It removes the unnecessary settingsLoaded state, streamlining the code for better readability and maintainability while adhering to robust coding practices.
2025-09-05 10:03:07 -03:00
Edwin Jose
e983d3c27a
Merge pull request #7 from langflow-ai/default-data 2025-09-05 01:27:22 -04:00
Mike Fortman
39e52273d7 Merge branch 'feat-googledrive-enhancements' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-04 21:37:58 -05:00
Mike Fortman
0ed98cb6e1 move to stand alone page 2025-09-04 21:37:30 -05:00
Sebastián Estévez
ff5aabfed6
Merge branch 'main' into default-data 2025-09-04 21:53:38 -04:00
phact
74a58b2d9a Merge branch 'main' of github.com:phact/gendb 2025-09-04 20:56:56 -04:00
phact
d198ffa706 logging & format 2025-09-04 20:56:47 -04:00
Gabriel Luiz Freitas Almeida
b493dab318 Enhance KnowledgeSourcesPage with ingestion settings and connector management
This commit refactors the KnowledgeSourcesPage component to include a new ingestion settings section, allowing users to configure document processing parameters such as chunk size and overlap. It also improves the connector management interface by integrating async fetching of connector statuses and enhancing error handling. The changes aim to provide a more robust and user-friendly experience while maintaining well-documented code practices.
2025-09-04 18:33:16 -03:00
Gabriel Luiz Freitas Almeida
69834ac4ac Refactor error logging in upload_user_file function
This commit replaces the print statement for error traceback with a structured logging approach using the logger. This change enhances error visibility and aligns with best practices for robust and well-documented async code.
2025-09-04 18:32:38 -03:00
Gabriel Luiz Freitas Almeida
9494e99808 Set tweaks to settings passed from the UI 2025-09-04 18:32:29 -03: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
Edwin Jose
ce31933d71 Update session_manager.py 2025-09-04 17:21:13 -04:00
Lucas Oliveira
398c5f3003 Added nudges flow id to docker compose 2025-09-04 18:18:26 -03:00
Lucas Oliveira
a1cbdac432 added openrag nudges flow 2025-09-04 18:17:25 -03:00
Lucas Oliveira
8393bbbe4b Added nudges flow id 2025-09-04 18:16:34 -03:00
Lucas Oliveira
047fb305c6 Add react query provider to app 2025-09-04 18:16:28 -03:00
Lucas Oliveira
70d3434e5b Create get query client to work on next 2025-09-04 18:16:16 -03:00
Lucas Oliveira
1197f51518 create useGetNudgesQuery to get nudges easily 2025-09-04 18:16:06 -03:00
Lucas Oliveira
33ba6abf49 Add react query 2025-09-04 18:15:54 -03:00
Lucas Oliveira
aad89b9166 Add nudges service into backend 2025-09-04 18:15:46 -03:00
Edwin Jose
c307f93443 Merge branch 'main' into default-data 2025-09-04 17:04:22 -04:00
Gabriel Luiz Freitas Almeida
ec5092a54a Add ingestion flow for OpenSearch integration
This commit introduces a new JSON configuration file for the OpenSearch ingestion flow, detailing the data processing pipeline. The flow includes components for splitting text, generating embeddings, and ingesting data into OpenSearch, enhancing the capabilities for Retrieval Augmented Generation (RAG) tasks. The configuration is designed to support various input types and provides detailed metadata for each component, ensuring robust and well-documented integration.
2025-09-04 18:03:16 -03:00
Sebastián Estévez
25531ef80f
Merge pull request #16 from langflow-ai/anonymous-user
feat: add users classes
2025-09-04 17:02:40 -04:00
Gabriel Luiz Freitas Almeida
c4185bb33f Merge branch 'main' into ingestion-flow 2025-09-04 17:59:43 -03:00
Edwin Jose
db3e9a3270 Update session_manager.py 2025-09-04 16:58:40 -04:00
Edwin Jose
651dc22635 update to default files using anonymous users 2025-09-04 16:57:43 -04:00
Mike Fortman
4573b056f6 Merge branch 'main' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-04 15:54:38 -05:00
Edwin Jose
f97f12b3af add users classes 2025-09-04 15:59:10 -04:00