OpenResponsesEncodeInputItemContext
Namespace: Vercel.AI.OpenResponses
public sealed class OpenResponsesEncodeInputItemContextInput of EncodeInputItem.
Inheritance: object
Constructors
Section titled “Constructors”OpenResponsesEncodeInputItemContext(AssistantContentPart, LanguageModelTool)
Section titled “OpenResponsesEncodeInputItemContext(AssistantContentPart, LanguageModelTool)”public OpenResponsesEncodeInputItemContext(AssistantContentPart part, LanguageModelTool tool)Creates the context.
Parameters
| Name | Type | Description |
|---|---|---|
part |
AssistantContentPart | |
tool |
LanguageModelTool |
Properties
Section titled “Properties”public AssistantContentPart Part { get; }The history part: an AssistantToolCallPart or an AssistantToolResultPart.
Value: AssistantContentPart
public LanguageModelTool Tool { get; }The provider-defined tool the part belongs to.
Value: LanguageModelTool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product