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

ash / webui / recorder_app_ui / model_constants.h [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.

#ifndef ASH_WEBUI_RECORDER_APP_UI_MODEL_CONSTANTS_H_
#define ASH_WEBUI_RECORDER_APP_UI_MODEL_CONSTANTS_H_

#include <cstdint>

#include "components/soda/constants.h"

namespace ash {

// Default supported language of transcription, speaker label, and GenAI
// features.
extern const speech::LanguageCode kDefaultLanguageCode;

// On-device model DLC id.
extern const char kSummaryXsModelUuid[];
extern const char kSummaryXxsModelUuid[];
extern const char kTitleSuggestionXsModelUuid[];
extern const char kTitleSuggestionXxsModelUuid[];

// Maximum input token to GenAI models.
extern const uint32_t kInputTokenXsModelLimit;
extern const uint32_t kInputTokenXxsModelLimit;

}  // namespace ash

#endif  // ASH_WEBUI_RECORDER_APP_UI_MODEL_CONSTANTS_H_