Skip to main content

Module rag_ai_generator

Module rag_ai_generator 

Source
Expand description

RAG-based AiGenerator implementation (#555 phase 10 โ€” moved from mockforge_http::rag_ai_generator). Both foreign deps (AiResponseConfig, AiGenerator trait) were promoted out of mockforge-core to mockforge-foundation and mockforge-openapi respectively, so this move stays cycle-safe with the Issue #562 cycle-break. RAG-based AI generator implementation

This module provides an implementation of the AiGenerator trait using the RAG engine from mockforge-data.

Moved from mockforge_http::rag_ai_generator under #555 phase 10 โ€” both foreign deps (AiResponseConfig and the AiGenerator trait) were originally in mockforge-core but have been promoted to mockforge-foundation::ai_response and mockforge-openapi::response respectively, so the move no longer requires a mockforge-core dep and stays cycle-safe with the Issue #562 cycle-break.

Structsยง

RagAiGenerator
RAG-based AI generator that uses the mockforge-data RAG engine