21 lines
612 B
C++
21 lines
612 B
C++
#pragma once
|
|||
|
|
|
||
|
|
// Static ceilings for the Google Cloud part. Never autotuned.
|
||
|
|
|
||
|
|
#include <cstddef>
|
||
|
|
|
||
|
|
namespace molo::google {
|
||
|
|
|
||
|
|
struct Caps {
|
||
|
|
static constexpr std::size_t kMaxTtsChars = 5000;
|
||
|
|
static constexpr std::size_t kMaxSttBytes = 10u * 1024u * 1024u;
|
||
|
|
static constexpr int kDefaultOutputTokens = 300;
|
||
|
|
static constexpr int kMaxOutputTokens = 1024;
|
||
|
|
static constexpr std::size_t kMaxHistoryTurns = 20;
|
||
|
|
static constexpr std::size_t kMaxConversations = 1000;
|
||
|
|
static constexpr std::size_t kMaxConversationId = 64;
|
||
|
|
static constexpr std::size_t kMaxMessageChars = 4000;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace molo::google
|