Files
motia-iii/pyproject.toml
bsiggel 9b2fb5ae4a feat: Implement AI Knowledge Sync Utilities and RAGFlow Service
- Added `aiknowledge_sync_utils.py` for provider-agnostic synchronization logic for CAIKnowledge entities, supporting both xAI and RAGFlow.
- Introduced lifecycle management for CAIKnowledge entities including states: new, active, paused, and deactivated.
- Implemented change detection using Blake3 hash for efficient document synchronization.
- Created `ragflow_service.py` to handle dataset and document management with RAGFlow API.
- Added daily cron job in `aiknowledge_daily_cron_step.py` to synchronize active CAIKnowledge entities with unclean or failed statuses.
- Developed `aiknowledge_sync_event_step.py` to process synchronization events from webhooks and cron jobs.
2026-03-26 21:38:42 +00:00

27 lines
788 B
TOML

[project]
name = "motia-iii-example-python"
version = "0.0.1"
description = "Motia iii Example - Python Implementation"
authors = [{ name = "III" }]
requires-python = ">=3.10"
dependencies = [
"motia[otel]==1.0.0rc24",
"iii-sdk==0.2.0",
"pydantic>=2.0",
"aiohttp>=3.10.0",
"redis>=5.2.0",
"python-dotenv>=1.0.0",
"pytz>=2025.2",
"requests>=2.32.0",
"asyncpg>=0.29.0", # PostgreSQL async driver for calendar sync
"google-api-python-client>=2.100.0", # Google Calendar API
"google-auth>=2.23.0", # Google OAuth2
"backoff>=2.2.1",
"ragflow-sdk>=0.24.0", # RAGFlow AI Provider
"langchain>=0.3.0", # LangChain framework
"langchain-xai>=0.2.0", # xAI integration for LangChain
"langchain-core>=0.3.0", # LangChain core
]