Send a message in the enrichment chat session with enhanced processing.
Enhanced version with comprehensive validation, monitoring, and optimized resource management for enrichment chat interactions.
Features:
Args: request: Validated chat request with session ID and user message current_user: Authenticated user information enrichment_chat_service: Service for managing chat sessions
Returns: EnrichmentChatResponse: Enhanced response with timing and status information
Raises: HTTPException: For validation errors, rate limits, or processing failures
Documentation Index
Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Enhanced response model for enrichment chat interactions.
Session identifier
Assistant's response message
Action to trigger in frontend (e.g., 'requestUpload', 'startProcessing')
Suggested fields to enrich based on user query
Status of ongoing enrichment processing
Estimated credits required for suggested operations
Remaining rate limit for user
Response time in milliseconds