Метод collectWithinBudget

private

Сигнатура метода

private function collectWithinBudget(array $clientIdentifiers, int $baseDealId, int $limit, int $budgetTokens): array

Возвращает: array

Описание

Priority selection (ALG-03) with a per-client token budget (ALG-05): the volume already taken by ready transcripts across the whole scope plus the duration-based estimate of each launched call is projected; the selection stops once the budget is reached. The count limit still bounds the result from above.

Параметры

4
Имя Тип По умолчанию Флаги
$clientIdentifiers array —
—
$baseDealId int —
—
$limit int —
—
$budgetTokens int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/RepeatSale/Transcription/InScopeCallCollector.php
Расположение метода в файле
Строки 165–240

Исходный код

PHP