global
The **global section is a centralized configuration space designed to define overarching settings and plugins that apply across the entire scope of your Floom AI Pipeline.
This section ensures consistent behavior and constraints for all operations within the pipeline, enhancing manageability and predictability.
Key aspectsβ
-
Cost Management: Implements a cost-limiting strategy to control usage and manage expenses associated with AI operations. By setting daily and monthly token limits for users and pipelines, it prevents cost overruns and ensures efficient resource utilization.
-
Caching: Leverages a memory-based caching mechanism to optimize performance and reduce redundant processing. This plugin stores and retrieves intermediate or final AI responses, speeding up execution times for repeated queries and improving overall efficiency.
global:
# π΅ Cost limit
- package: floom/plugins/cost-management
limits:
user:
- day: 1000 # max tokens per day
pipeline:
- month: 600000 # max tokens per month
# β‘Caching
- package: floom/plugins/cache
cache-type: memory