Skip to content

ParallelModelCatalog

Namespace: Vercel.AI.Parallel

public static class ParallelModelCatalog

Parallel model catalog. Maps to parallel-model-catalog.ts.

Inheritance: object

View source

public static IReadOnlyList<string> DecisionModelIds { get; }

Known decision model ids. Maps to parallelDecisionModelIds.

Value: IReadOnlyList<string>

View source

public static IReadOnlyDictionary<string, ModelEntry<object>> Entries { get; }

Entries of every known model id. Maps to parallelModelCatalog.

Value: IReadOnlyDictionary<string, ModelEntry<object>>

View source

public static IReadOnlyList<string> SupportedQuestionTypes { get; }

Question types every Parallel decision model supports. Maps to parallelSupportedQuestionTypes.

Value: IReadOnlyList<string>

View source

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&lt;object&gt;

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product