blob: d617f2c3a9a1a5d659f3fc34597f97ebdb1b3d77 [file] [log] [blame]
// 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_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 2;
}
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 }];
}