Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

Fix retention period key

patcher998ebb4086425d
diff --git a/assets/example-config.yml b/assets/example-config.yml
index 203dcb65..d438cbe5 100644
--- a/assets/example-config.yml
+++ b/assets/example-config.yml
@@ -1,5 +1,7 @@
ingesterPort: 9044 # Port to run the Ingestion Server on, Example: 9044
+retentionPeriod: "6 months" # Retention Period for the LLM Data, Example: "24 hours", "7 days", "6 months"
+
# Comment out either 'localFile' or 'url' to use only one at a time.
pricingInfo:
# localFile:
@@ -16,8 +18,6 @@ dbConfig:
sslMode: SSLMODE # SSL Mode of the database, Example: "require"
maxOpenConns: MAXOPENCONNS # Maximum number of open connections to the database, Example: 15
maxIdleConns: MAXOPENCONNS # Maximum number of idle connections to the database, Example: 15
- dataTable: DATATABLE # Name of the table to store LLM Data, Example: "DOKU"
- apiKeyTable: APIKEYTABLE # Name of the table to store API Keys, Example: "APIKEYS"
# Configure Platform to export LLM Observability Data from Doku
# Only one platform can be enabled at a time, To enable a platform, set enabled to true and fill in the required fields for that platform.
diff --git a/src/ingester/config/config.go b/src/ingester/config/config.go
index 85b183ad..10bfe8c5 100644
--- a/src/ingester/config/config.go
+++ b/src/ingester/config/config.go
@@ -11,7 +11,7 @@ import (
type Configuration struct {
IngesterPort string `yaml:"ingesterPort"`
- RentionPeriod string `yaml:"RetentionPeriod"`
+ RentionPeriod string `yaml:"retentionPeriod"`
PricingInfo struct {
LocalFile struct {
Path string `yaml:"path"`