AssistantCustomPart
Namespace: Vercel.AI.Provider
public sealed class AssistantCustomPart : AssistantContentPartA provider-specific part, identified by Kind.
Inheritance: object → AssistantContentPart
Constructors
Section titled “Constructors”AssistantCustomPart(string, IReadOnlyDictionary<string, JsonElement>?)
Section titled “AssistantCustomPart(string, IReadOnlyDictionary<string, JsonElement>?)”public AssistantCustomPart(string kind, IReadOnlyDictionary<string, JsonElement>? providerOptions = null)Creates a custom part.
Parameters
| Name | Type | Description |
|---|---|---|
kind |
string | |
providerOptions |
IReadOnlyDictionary<string, JsonElement> |
Properties
Section titled “Properties”public string Kind { get; }Provider-scoped kind.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product