
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
16 lines
312 B
Plaintext
16 lines
312 B
Plaintext
fastapi>=0.104.0
|
|
uvicorn>=0.24.0
|
|
sqlalchemy>=2.0.22
|
|
alembic>=1.12.0
|
|
pydantic>=2.4.2
|
|
pydantic-settings>=2.0.3
|
|
python-multipart>=0.0.6
|
|
ruff>=0.1.3
|
|
passlib>=1.7.4
|
|
bcrypt>=4.0.1
|
|
python-jose>=3.3.0
|
|
email-validator>=2.0.0
|
|
# LLM libraries for chat-to-tasks feature
|
|
openai>=1.6.0
|
|
google-generativeai>=0.3.0
|
|
httpx>=0.25.0 |