Commit graph

931 commits

Author SHA1 Message Date
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
Edwin Jose
34739193eb Merge branch 'main' into default-data 2025-09-04 15:41:03 -04:00
phact
d5fd34edf7 fix no-auth owner 2025-09-04 15:36:22 -04:00
cristhianzl
c87877bb80 (agent.py): Improve user ID validation by checking if it is a Google numeric ID or a Langflow UUID format
♻️ (langflow_history_service.py, user_binding_service.py): Refactor UUID format check to use a more descriptive and clear logic based on user ID type
2025-09-04 16:26:31 -03:00
Edwin Jose
6bd610a773 making tasks of init sequential 2025-09-04 15:22:13 -04:00
Edwin Jose
12f3265654 remove init_index in default file loading 2025-09-04 15:05:06 -04:00
Edwin Jose
08b2b6371c updated the default file loading task
support auth and non auth modes such that owner is None so these files will be considered as default files
2025-09-04 15:02:25 -04:00
cristhianzl
3b26a6b600 🔥 (navigation.tsx): remove unused code and streamline navigation component for better performance and readability 2025-09-04 15:56:22 -03:00
cristhianzl
6dcb65debd 📝 (frontend): Add new function 'refreshConversationsSilent' to update data without loading states
🚀 (frontend): Implement support for process.env.PORT to run app on a configurable port
🔧 (frontend): Change port variable case from lowercase 'port' to uppercase 'PORT' for better semantics
📝 (frontend): Add comments to clarify the purpose of loading conversation data only when user explicitly selects a conversation
📝 (frontend): Add comments to explain the logic for loading conversation data based on certain conditions
📝 (frontend): Add comments to describe the purpose of handling new conversation creation and resetting messages
📝 (frontend): Add comments to explain the logic for loading conversation data when conversationData changes
📝 (frontend): Add comments to clarify the purpose of loading conversations from the backend
📝 (frontend): Add comments to describe the logic for silent refresh to update data without loading states
📝 (frontend): Add comments to explain the purpose of starting a new conversation and creating a placeholder conversation
📝 (frontend): Add comments to clarify the logic for forking from a response and starting a new conversation
📝 (frontend): Add comments to describe the purpose of adding a conversation document and clearing conversation documents
📝 (frontend): Add comments to explain the logic for using a timeout to debounce multiple rapid refresh calls
📝 (frontend): Add comments to clarify the purpose of cleaning up timeout on unmount
📝 (frontend): Add comments to describe the logic for handling new conversation creation and resetting state
📝 (frontend): Add comments to explain the logic for forking from a response and starting a new conversation
📝 (frontend): Add comments to clarify the purpose of using useMemo for optimizing performance in ChatProvider
📝 (frontend): Add comments to describe the logic for using useMemo in the ChatProvider component
📝 (frontend): Add comments to explain the purpose of the useChat custom hook
📝 (frontend): Add comments to clarify the error message when useChat is not used within a ChatProvider
📝 (services): Update ChatService to fetch Langflow history with flow_id parameter for better control
2025-09-04 15:36:41 -03:00
Sebastián Estévez
e4e3535fe2
Merge branch 'main' into default-data 2025-09-04 13:55:51 -04:00
Sebastián Estévez
d5dda4ce2e
Merge pull request #14 from langflow-ai/tui
Tui improvements
2025-09-04 13:40:54 -04:00
phact
956d7582eb tui fixes 2025-09-04 13:40:22 -04:00
Edwin Jose
9f62d066ef Update main.py 2025-09-04 13:37:06 -04:00
Edwin Jose
2d0f53be30 delete make file 2025-09-04 13:36:31 -04:00
Eric Hare
e15321e9fc
try to get sync working 2025-09-04 10:14:57 -07:00
Mike Fortman
cf02238671
Merge pull request #12 from langflow-ai/iconfix
update favicon
2025-09-04 12:08:05 -05:00
Mike Fortman
727bcea952 update favicon 2025-09-04 12:06:57 -05:00
Mike Fortman
312975f776 Merge branch 'feat-googledrive-enhancements' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-04 12:06:14 -05:00
Mike Fortman
a808f0a3f5 fix google icon 2025-09-04 12:06:03 -05:00
Eric Hare
895ffc1a17
Update service.py 2025-09-04 10:03:26 -07:00
Eric Hare
3aad42390e
Get sync sort of working... 2025-09-04 10:02:07 -07:00
Eric Hare
da55c9e607
Update main.py 2025-09-04 09:41:56 -07:00
Eric Hare
15707a3228
Merge branch 'main' into feat-googledrive-enhancements 2025-09-04 09:39:23 -07:00