Implement a new endpoint that converts natural language input into structured tasks using an LLM. Features include:
- LLM service abstraction with support for OpenAI and Google Gemini
- Dependency injection pattern for easy provider switching
- Robust error handling and response formatting
- Integration with existing user authentication and task creation
- Fallback to mock LLM service for testing or development
- Add proper import of sqlalchemy.text in session.py
- Update raw SQL query execution to use text() function
- Enhance error messages with specific guidance for common SQLAlchemy errors
- Add more detailed logging of error types for easier debugging
- Ensure compatibility with newer SQLAlchemy versions
- Updated database configuration to use /app/storage/db directory
- Added robust directory and file permission handling
- Implemented fallback paths for database location
- Enhanced Alembic migration script with retry logic and clear error diagnostics
- Updated the README with the new database path information
- Add user model with relationship to tasks
- Implement JWT token authentication
- Create user registration and login endpoints
- Update task endpoints to filter by current user
- Add Alembic migration for user table
- Update documentation with authentication details
- Set up project structure
- Created Task model with SQLAlchemy
- Implemented SQLite database connection
- Created Alembic migrations
- Added Task CRUD endpoints
- Added health endpoint
- Updated README with project details
generated with BackendIM... (backend.im)