Configuration for how an KBNF engine should be used in text generation.  
 More...
 | 
| bool  | read_prompt = False | 
|   | Whether to accept the prompt tokens when a generation begins.  
  | 
|   | 
| bool  | reset_at_beginning = True | 
|   | Whether to reset the engine when a new generation begins.  
  | 
|   | 
Configuration for how an KBNF engine should be used in text generation. 
Definition at line 14 of file config.py.
 
◆ read_prompt
  
  
      
        
          | bool formatron.config.EngineGenerationConfig.read_prompt = False | 
         
       
   | 
  
static   | 
  
 
Whether to accept the prompt tokens when a generation begins. 
Definition at line 21 of file config.py.
 
 
◆ reset_at_beginning
  
  
      
        
          | bool formatron.config.EngineGenerationConfig.reset_at_beginning = True | 
         
       
   | 
  
static   | 
  
 
Whether to reset the engine when a new generation begins. 
Definition at line 22 of file config.py.
 
 
The documentation for this class was generated from the following file: