@@ -1281,7 +1281,7 @@ semantic_cache:
12811281 backend_type: "milvus"
12821282 similarity_threshold: 0.9
12831283 ttl_seconds: 7200
1284- backend_config_path: "config/cache/milvus.yaml"
1284+ backend_config_path: "config/semantic- cache/milvus.yaml"
12851285`
12861286 err := os .WriteFile (configFile , []byte (configContent ), 0o644 )
12871287 Expect (err ).NotTo (HaveOccurred ())
@@ -1295,7 +1295,7 @@ semantic_cache:
12951295 Expect (cfg .SemanticCache .BackendType ).To (Equal ("milvus" ))
12961296 Expect (* cfg .SemanticCache .SimilarityThreshold ).To (Equal (float32 (0.9 )))
12971297 Expect (cfg .SemanticCache .TTLSeconds ).To (Equal (7200 ))
1298- Expect (cfg .SemanticCache .BackendConfigPath ).To (Equal ("config/cache/milvus.yaml" ))
1298+ Expect (cfg .SemanticCache .BackendConfigPath ).To (Equal ("config/semantic- cache/milvus.yaml" ))
12991299
13001300 // MaxEntries should be ignored for Milvus backend
13011301 Expect (cfg .SemanticCache .MaxEntries ).To (Equal (0 ))
@@ -1475,7 +1475,7 @@ semantic_cache:
14751475 backend_type: "milvus"
14761476 similarity_threshold: 0.85
14771477 ttl_seconds: 86400 # 24 hours
1478- backend_config_path: "config/cache/milvus.yaml"
1478+ backend_config_path: "config/semantic- cache/milvus.yaml"
14791479
14801480categories:
14811481 - name: "production"
@@ -1505,7 +1505,7 @@ default_model: "gpt-4"
15051505 Expect (cfg .SemanticCache .BackendType ).To (Equal ("milvus" ))
15061506 Expect (* cfg .SemanticCache .SimilarityThreshold ).To (Equal (float32 (0.85 )))
15071507 Expect (cfg .SemanticCache .TTLSeconds ).To (Equal (86400 ))
1508- Expect (cfg .SemanticCache .BackendConfigPath ).To (Equal ("config/cache/milvus.yaml" ))
1508+ Expect (cfg .SemanticCache .BackendConfigPath ).To (Equal ("config/semantic- cache/milvus.yaml" ))
15091509
15101510 // Verify threshold resolution
15111511 threshold := cfg .GetCacheSimilarityThreshold ()
@@ -1530,7 +1530,7 @@ semantic_cache:
15301530
15311531 # Production configuration (commented out)
15321532 # backend_type: "milvus"
1533- # backend_config_path: "config/cache/milvus.yaml"
1533+ # backend_config_path: "config/semantic- cache/milvus.yaml"
15341534 # max_entries is ignored for Milvus
15351535`
15361536 err := os .WriteFile (configFile , []byte (configContent ), 0o644 )
0 commit comments