ParallelModelCatalog
Namespace: Vercel.AI.Parallel
public static class ParallelModelCatalogParallel model catalog. Maps to parallel-model-catalog.ts.
Inheritance: object
Properties
Section titled “Properties”DecisionModelIds
Section titled “DecisionModelIds”public static IReadOnlyList<string> DecisionModelIds { get; }Known decision model ids. Maps to parallelDecisionModelIds.
Value: IReadOnlyList<string>
Entries
Section titled “Entries”public static IReadOnlyDictionary<string, ModelEntry<object>> Entries { get; }Entries of every known model id. Maps to parallelModelCatalog.
Value: IReadOnlyDictionary<string, ModelEntry<object>>
SupportedQuestionTypes
Section titled “SupportedQuestionTypes”public static IReadOnlyList<string> SupportedQuestionTypes { get; }Question types every Parallel decision model supports. Maps to parallelSupportedQuestionTypes.
Value: IReadOnlyList<string>
Methods
Section titled “Methods”GetParallelDecisionModelEntry(string)
Section titled “GetParallelDecisionModelEntry(string)”public static ModelEntry<object> GetParallelDecisionModelEntry(string modelId)Returns the entry of a decision model. An unknown model id has unknown option support. Maps to getParallelDecisionModelEntry.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: ModelEntry<object>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product