@@ -328,6 +328,8 @@ def add_targeting_rules(self):
328
328
res = self .ldproject .add_segment_to_flag ("federatedAccounts" , "development-team" , "production" )
329
329
res = self .ldproject .add_segment_to_flag ("wealthManagement" , "beta-users" , "production" )
330
330
res = self .ldproject .add_segment_to_flag ("cartSuggestedItems" , "beta-users" , "production" )
331
+ res = self .ldproject .add_segment_to_flag ("ai-config--destination-picker-new-ai-model" , "launch-airways-all-members" , "production" )
332
+
331
333
332
334
def toggle_flags (self ):
333
335
res = self .ldproject .toggle_flag (
@@ -517,7 +519,7 @@ def create_destination_recommendation_ai_config(self):
517
519
"claude-haiku" ,
518
520
"Claude Haiku" ,
519
521
{
520
- "id " : "anthropic.claude-instant-v1" ,
522
+ "modelName " : "anthropic.claude-instant-v1" ,
521
523
"parameters" : {
522
524
"temperature" : 0.5 ,
523
525
"maxTokens" : 150
@@ -535,7 +537,7 @@ def create_destination_recommendation_ai_config(self):
535
537
"cohere-text" ,
536
538
"Cohere Text" ,
537
539
{
538
- "id " : "cohere.command-text-v14" ,
540
+ "modelName " : "cohere.command-text-v14" ,
539
541
"parameters" : {
540
542
"temperature" : 0.7 ,
541
543
"maxTokens" : 250
@@ -561,7 +563,7 @@ def create_travel_insights_ai_config(self):
561
563
"general-travel" ,
562
564
"General Travel" ,
563
565
{
564
- "id " : "anthropic.claude-instant-v1" ,
566
+ "modelName " : "anthropic.claude-instant-v1" ,
565
567
"parameters" : {
566
568
"maxTokens" : 200 ,
567
569
"temperature" : 0.9
@@ -579,7 +581,7 @@ def create_travel_insights_ai_config(self):
579
581
"historical-focus" ,
580
582
"Historical Focus" ,
581
583
{
582
- "id " : "anthropic.claude-instant-v1" ,
584
+ "modelName " : "anthropic.claude-instant-v1" ,
583
585
"parameters" : {
584
586
"maxTokens" : 200 ,
585
587
"temperature" : 0.9
@@ -597,7 +599,7 @@ def create_travel_insights_ai_config(self):
597
599
"weather-focus" ,
598
600
"Weather Focus" ,
599
601
{
600
- "id " : "anthropic.claude-instant-v1" ,
602
+ "modelName " : "anthropic.claude-instant-v1" ,
601
603
"parameters" : {
602
604
"maxTokens" : 200 ,
603
605
"temperature" : 0.9
@@ -623,7 +625,7 @@ def create_ai_chatbot_ai_config(self):
623
625
"claude-haiku" ,
624
626
"Claude Haiku" ,
625
627
{
626
- "id " : "anthropic.claude-instant-v1" ,
628
+ "modelName " : "anthropic.claude-instant-v1" ,
627
629
"parameters" : {
628
630
"maxTokens" : 200 ,
629
631
"temperature" : 0.5
@@ -641,7 +643,7 @@ def create_ai_chatbot_ai_config(self):
641
643
"cohere-coral" ,
642
644
"Cohere Coral" ,
643
645
{
644
- "id " : "cohere.command-text-v14" ,
646
+ "modelName " : "cohere.command-text-v14" ,
645
647
"parameters" : {
646
648
"maxTokens" : 200 ,
647
649
"temperature" : 0.5
@@ -1178,6 +1180,7 @@ def setup_template_environment(self):
1178
1180
self .ldproject .copy_flag_settings ("ai-chatbot" , "production" , "template-env" )
1179
1181
self .ldproject .copy_flag_settings ("storeAttentionCallout" , "production" , "template-env" )
1180
1182
self .ldproject .copy_flag_settings ("cartSuggestedItems" , "production" , "template-env" )
1183
+ self .ldproject .copy_flag_settings ("ai-config--destination-picker-new-ai-model" , "production" , "template-env" )
1181
1184
1182
1185
print ("Done" )
1183
1186
0 commit comments