Skip to main content

Module ai_response

Module ai_response 

Source
👎Deprecated:

Will be extracted to mockforge-intelligence crate

Expand description

AI-assisted response generation for dynamic mock endpoints.

The data types and prompt expansion helper previously lived here; they have been promoted to mockforge_foundation::ai_response so that mockforge-openapi (and any other leaf crate) can depend on them without pulling in the full mockforge-core graph. This module re-exports them for backwards compatibility.

Structs§

AiResponseConfig
Configuration for AI-assisted response generation per endpoint This is parsed from the x-mockforge-ai OpenAPI extension
RequestContext
Request context for prompt template expansion

Enums§

AiResponseMode
AI response generation mode

Functions§

expand_prompt_templateDeprecated
Expand template variables in a prompt string using request context