Skip to content

OpenResponsesExtensionRegistry

Namespace: Vercel.AI.OpenResponses

public sealed class OpenResponsesExtensionRegistry

Indexes extensions by id and by wire type.

Inheritance: object

View source

public OpenResponsesExtensionRegistry()

Creates an empty registry.

View source

public IDictionary<string, OpenResponsesExtension> ByEventType { get; }

Event type to the extension that decodes it.

Value: IDictionary<string, OpenResponsesExtension>

View source

public IDictionary<string, OpenResponsesExtension> ByExtensionId { get; }

Extension id to the extension.

Value: IDictionary<string, OpenResponsesExtension>

View source

public IDictionary<string, OpenResponsesExtension> ByItemType { get; }

Item type to the extension that decodes it.

Value: IDictionary<string, OpenResponsesExtension>

View source

public IDictionary<string, OpenResponsesExtension> ByProviderToolId { get; }

Provider-tool id to the extension that encodes it.

Value: IDictionary<string, OpenResponsesExtension>

View source

public IDictionary<string, OpenResponsesExtension> ByToolType { get; }

Tool type to the extension that encodes it.

Value: IDictionary<string, OpenResponsesExtension>

View source

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