1379
return;
1380
}
1382
>
provider: string;
1383
>
isBYOK: boolean;
1384
>
};
1385
>
type LanguageModelRequestClassification = {
1386
>
provider: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'Normalized non-Copilot model provider: an in-built BYOK vendor id (for models contributed by the built-in Copilot extensions) or "3p-extension" for any third-party extension provider.' };
1387
>
isBYOK: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true; comment: 'Whether the model is a BYOK model.' };
1388
>
owner: 'vritant24';
1389
>
comment: 'Tracks which non-Copilot language-model provider is used per request to understand adoption of in-built Copilot BYOK providers vs third-party extension providers.';
1390
>
};
1391
>
this._telemetryService.publicLog2<LanguageModelRequestEvent, LanguageModelRequestClassification>('chat.languageModelRequest', {
1392
>
provider,
1393
>
isBYOK: !!metadata?.isBYOK,
1394
});
1395
}