TencentModelCatalog
Namespace: Vercel.AI.Tencent
public static class TencentModelCatalogKnown Tencent model ids and the per-model policy. Upstream tencent-model-catalog.ts.
Inheritance: object
Fields
Section titled “Fields”Entries
Section titled “Entries”public static readonly IReadOnlyDictionary<string, ModelEntry<TencentRequestConfig>> EntriesEntries of every known model id. Upstream tencentModelCatalog; renamed because C# does not allow a member named like its class.
Value: IReadOnlyDictionary<string, ModelEntry<TencentRequestConfig>>
TencentLanguageModelIds
Section titled “TencentLanguageModelIds”public static readonly IReadOnlyList<string> TencentLanguageModelIdsTokenHub language model ids.
Value: IReadOnlyList<string>
TencentVideoModelIds
Section titled “TencentVideoModelIds”public static readonly IReadOnlyList<string> TencentVideoModelIdsVideo model ids.
Value: IReadOnlyList<string>
TokenHubOnlyOptions
Section titled “TokenHubOnlyOptions”public static readonly IReadOnlyList<string> TokenHubOnlyOptionsOptions that only TokenHub Kling models read.
Value: IReadOnlyList<string>
VodOnlyOptions
Section titled “VodOnlyOptions”public static readonly IReadOnlyList<string> VodOnlyOptionsOptions that only VOD models read.
Value: IReadOnlyList<string>
Methods
Section titled “Methods”GetTencentLanguageModelEntry(string)
Section titled “GetTencentLanguageModelEntry(string)”public static ModelEntry<TencentRequestConfig> GetTencentLanguageModelEntry(string modelId)Returns the catalog entry of a language model. Upstream getTencentLanguageModelEntry.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: ModelEntry<TencentRequestConfig>
GetTencentVideoModelEntry(string)
Section titled “GetTencentVideoModelEntry(string)”public static ModelEntry<TencentRequestConfig> GetTencentVideoModelEntry(string modelId)Returns the catalog entry of a video model. Upstream getTencentVideoModelEntry.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: ModelEntry<TencentRequestConfig>
GetTencentVideoRequestConfig(string)
Section titled “GetTencentVideoRequestConfig(string)”public static TencentVideoRequestConfig GetTencentVideoRequestConfig(string modelId)Request-shaping policy for a video model. Upstream getTencentVideoModelEntry(modelId).requestConfig.video.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: TencentVideoRequestConfig
ParseTencentVideoModelId(string)
Section titled “ParseTencentVideoModelId(string)”public static ParsedTencentVideoModelId? ParseTencentVideoModelId(string modelId)Parses a video model id. Returns null for an id that is neither a TokenHub Kling nor a VOD id.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: ParsedTencentVideoModelId
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product