Skip to main content

Module generation

Module generation 

Source
Expand description

Text generation and LLM interactions (async feature only)

Modules§

async_mock_llm
Async implementation of MockLLM demonstrating async trait patterns

Structs§

AnswerContext
Context information assembled from search results
AnswerGenerator
Main answer generator that orchestrates the response generation process
GeneratedAnswer
Generated answer with metadata
GenerationConfig
Configuration for answer generation
GeneratorStatistics
Statistics about the answer generator
MockLLM
Simple mock LLM implementation for testing
PromptTemplate
Template system for constructing context-aware prompts
SourceAttribution
Source attribution for generated answers

Enums§

AnswerMode
Different modes for answer generation

Traits§

LLMInterface
Mock LLM interface for testing without external dependencies