Improve AI logic
This commit is contained in:
@@ -34,7 +34,7 @@ class ForecastRequest(BaseModel):
|
||||
|
||||
class BatchForecastRequest(BaseModel):
|
||||
"""Request schema for batch forecasting"""
|
||||
tenant_id: str = Field(..., description="Tenant ID")
|
||||
tenant_id: Optional[str] = None # Optional, can be from path parameter
|
||||
batch_name: str = Field(..., description="Batch name for tracking")
|
||||
inventory_product_ids: List[str] = Field(..., description="List of inventory product IDs")
|
||||
forecast_days: int = Field(7, ge=1, le=30, description="Number of days to forecast")
|
||||
|
||||
Reference in New Issue
Block a user