Creates a preference key for a provider/model combination.
Parameters
$providerIdstringrequired- The provider identifier.
$modelIdstringrequired- The model identifier.
Source
private function createProviderModelPreferenceKey(string $providerId, string $modelId): string
{
return 'providerModel::' . $providerId . '::' . $modelId;
}
Changelog
| Version | Description |
|---|---|
| 0.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.