From 51dead31d689831928fd193a8d7adef7f1b3755d Mon Sep 17 00:00:00 2001 From: Nick von Pentz Date: Tue, 15 Oct 2024 14:30:47 -0400 Subject: [PATCH 1/5] Set Leo default model to Llama 3 8b (25% rollout) --- seed/seed.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/seed/seed.json b/seed/seed.json index a642c279..846dd695 100644 --- a/seed/seed.json +++ b/seed/seed.json @@ -1,5 +1,48 @@ { "studies": [ + { + "experiments": [ + { + "feature_association": { + "enable_feature": [ + "AIChat" + ] + }, + "name": "DefaultLlama", + "params": { + "AIChat": { + "default_model": "chat-basic" + } + }, + "probability_weight": 25 + }, + { + "feature_association": { + "enable_feature": [ + "AIChat" + ] + }, + "name": "DefaultMixtral", + "probability_weight": 75 + } + ], + "filter": { + "channel": [ + "RELEASE", + "BETA", + "NIGHTLY" + ], + "min_version": "122.0.6261.57", + "platform": [ + "WINDOWS", + "MAC", + "LINUX", + "ANDROID", + "IOS" + ] + }, + "name": "BraveAIChatDefaultModelStudy" + }, { "experiments": [ { From a8fee4260cd1a0ca9858f9a00c4dfd2c57993517 Mon Sep 17 00:00:00 2001 From: Nick von Pentz Date: Tue, 15 Oct 2024 15:38:04 -0400 Subject: [PATCH 2/5] Specify a max_version for the older BraveAIChatEnabledStudy so they don't overlap --- seed/seed.json | 1 + 1 file changed, 1 insertion(+) diff --git a/seed/seed.json b/seed/seed.json index 846dd695..ed37c914 100644 --- a/seed/seed.json +++ b/seed/seed.json @@ -1789,6 +1789,7 @@ "RELEASE" ], "min_version": "119.1.60.0", + "max_version": "122.0.6261.56", "platform": [ "WINDOWS", "MAC", From 2d09ef3922c7040e71e865be4d6e7884cba57ca5 Mon Sep 17 00:00:00 2001 From: Nick von Pentz Date: Thu, 17 Oct 2024 10:08:31 -0400 Subject: [PATCH 3/5] Update min / max versions Use [chrome_major].[brave_version] format, not just the chromium version. --- seed/seed.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/seed.json b/seed/seed.json index ed37c914..403144ce 100644 --- a/seed/seed.json +++ b/seed/seed.json @@ -32,7 +32,7 @@ "BETA", "NIGHTLY" ], - "min_version": "122.0.6261.57", + "min_version": "122.1.63.161", "platform": [ "WINDOWS", "MAC", @@ -1789,7 +1789,7 @@ "RELEASE" ], "min_version": "119.1.60.0", - "max_version": "122.0.6261.56", + "max_version": "122.1.63.160", "platform": [ "WINDOWS", "MAC", From 6790c226884c641cee84911c6fb7f15fc6ba95f1 Mon Sep 17 00:00:00 2001 From: Pete Miller Date: Thu, 24 Oct 2024 20:41:46 -0700 Subject: [PATCH 4/5] fix parameter format --- seed/seed.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/seed/seed.json b/seed/seed.json index 403144ce..f3e5d24f 100644 --- a/seed/seed.json +++ b/seed/seed.json @@ -9,11 +9,12 @@ ] }, "name": "DefaultLlama", - "params": { - "AIChat": { - "default_model": "chat-basic" + "parameters": [ + { + "name": "default_model", + "value": "chat-basic" } - }, + ], "probability_weight": 25 }, { From 646922f998b762820870a171fcf47c0ddb57886e Mon Sep 17 00:00:00 2001 From: Aleksey Khoroshilov Date: Mon, 28 Oct 2024 19:27:23 +0700 Subject: [PATCH 5/5] Use updated study storage format. --- seed/seed.json | 45 --------------------- studies/BraveAIChatDefaultModelStudy.json5 | 46 ++++++++++++++++++++++ studies/BraveAIChatEnabledStudy.json5 | 1 + 3 files changed, 47 insertions(+), 45 deletions(-) create mode 100644 studies/BraveAIChatDefaultModelStudy.json5 diff --git a/seed/seed.json b/seed/seed.json index f3e5d24f..a642c279 100644 --- a/seed/seed.json +++ b/seed/seed.json @@ -1,49 +1,5 @@ { "studies": [ - { - "experiments": [ - { - "feature_association": { - "enable_feature": [ - "AIChat" - ] - }, - "name": "DefaultLlama", - "parameters": [ - { - "name": "default_model", - "value": "chat-basic" - } - ], - "probability_weight": 25 - }, - { - "feature_association": { - "enable_feature": [ - "AIChat" - ] - }, - "name": "DefaultMixtral", - "probability_weight": 75 - } - ], - "filter": { - "channel": [ - "RELEASE", - "BETA", - "NIGHTLY" - ], - "min_version": "122.1.63.161", - "platform": [ - "WINDOWS", - "MAC", - "LINUX", - "ANDROID", - "IOS" - ] - }, - "name": "BraveAIChatDefaultModelStudy" - }, { "experiments": [ { @@ -1790,7 +1746,6 @@ "RELEASE" ], "min_version": "119.1.60.0", - "max_version": "122.1.63.160", "platform": [ "WINDOWS", "MAC", diff --git a/studies/BraveAIChatDefaultModelStudy.json5 b/studies/BraveAIChatDefaultModelStudy.json5 new file mode 100644 index 00000000..8cc9bcbb --- /dev/null +++ b/studies/BraveAIChatDefaultModelStudy.json5 @@ -0,0 +1,46 @@ +[ + { + name: 'BraveAIChatDefaultModelStudy', + experiment: [ + { + name: 'DefaultLlama', + probability_weight: 25, + feature_association: { + enable_feature: [ + 'AIChat', + ], + }, + param: [ + { + name: 'default_model', + value: 'chat-basic', + }, + ], + }, + { + name: 'DefaultMixtral', + probability_weight: 75, + feature_association: { + enable_feature: [ + 'AIChat', + ], + }, + }, + ], + filter: { + min_version: '122.1.63.161', + channel: [ + 'RELEASE', + 'BETA', + 'NIGHTLY', + ], + platform: [ + 'WINDOWS', + 'MAC', + 'LINUX', + 'ANDROID', + 'IOS', + ], + }, + }, +] diff --git a/studies/BraveAIChatEnabledStudy.json5 b/studies/BraveAIChatEnabledStudy.json5 index e3b7e42f..9f61e4f6 100644 --- a/studies/BraveAIChatEnabledStudy.json5 +++ b/studies/BraveAIChatEnabledStudy.json5 @@ -18,6 +18,7 @@ ], filter: { min_version: '119.1.60.0', + max_version: '122.1.63.160', channel: [ 'RELEASE', ],