1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
edition = "2023";
package optimization_guide.proto;
import "components/optimization_guide/proto/features/common_quality_data.proto";
option optimize_for = LITE_RUNTIME;
option java_package = "org.chromium.components.optimization_guide.features.proto";
option java_outer_classname = "BlingPrototypingProto";
// DO NOT EDIT THIS FILE DIRECTLY!
//
// This file is generated in g3 and then synced to Chrome. Instead, please refer to
// http://go/chrome-mqls-onboarding (Google-internal link), and then changes will
// be synced with Chrome automatically.
// Next ID: 3
message BlingPrototypingLoggingData {
// The feature request.
BlingPrototypingRequest request = 1 [features = { field_presence: EXPLICIT }];
// The feature response.
BlingPrototypingResponse response = 2 [features = { field_presence: EXPLICIT }];
}
// The request to execute a prototyping prompt in Bling.
// Next ID: 7
message BlingPrototypingRequest {
// The prompt to pass to the model.
string query = 2 [features = { field_presence: IMPLICIT }];
// The page context of the current tab.
PageContext page_context = 3 [features = { field_presence: EXPLICIT }];
// The system instructions to pass to the model.
string system_instructions = 4 [features = { field_presence: IMPLICIT }];
// The temperature to pass to the model.
float temperature = 5 [features = { field_presence: IMPLICIT }];
// The model to use. Default is MODEL_ENUM_EVERGREEN_GEMINI_V3.
ModelEnum model_enum = 6 [features = { field_presence: IMPLICIT }];
enum ModelEnum {
MODEL_ENUM_UNSPECIFIED = 0;
MODEL_ENUM_EVERGREEN_GEMINI_V2 = 1;
MODEL_ENUM_SUP_GEMINI_V2 = 2;
MODEL_ENUM_EVERGREEN_GEMINI_V2_MULTI_MODAL = 3;
MODEL_ENUM_EVERGREEN_GEMINI_V2_MULTI_MODAL_MPP = 4;
MODEL_ENUM_EVERGREEN_GEMINI_V3 = 5;
MODEL_ENUM_EVERGREEN_GEMINI_NANO_V2_MULTI_MODAL = 6;
MODEL_ENUM_EVERGREEN_GEMINI_V3_XS = 7;
}
reserved 1;
}
// The response from executing a prototyping prompt in Bling.
// Next ID: 2
message BlingPrototypingResponse {
// The model's output.
string output = 1 [features = { field_presence: IMPLICIT }];
}
|