Configuring Custom Initialization
The config.py file contains initialization code that runs once at startup, before the LLMRails instance is fully initialized. Use it to register custom providers and set up shared resources.
When to Use config.py or actions.py
Configuration Sections
Related Topics
- Custom Actions - Define callable actions in
actions.py - Model Configuration - Configure LLM models in
config.yml