Expand description
AI-powered response handler for HTTP requests
This module integrates intelligent mock generation and data drift simulation into the HTTP request handling pipeline.
Structs§
- AiResponse
Config - Configuration for AI-powered responses (to be added to MockResponse)
- AiResponse
Handler - AI response handler that combines intelligent generation and drift simulation
Functions§
- create_
ai_ handler - Helper function to create an AI handler from optional configs
- process_
response_ with_ ai - Process a response body with AI features if configured