Table of Contents

Class TypeComputerAction

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll

An action to type in text.

public sealed class TypeComputerAction : IComputerAction
Inheritance
TypeComputerAction
Implements
Inherited Members

Constructors

TypeComputerAction()

public TypeComputerAction()

TypeComputerAction(string)

public TypeComputerAction(string text)

Parameters

text string

Properties

Text

The text to type.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("text")]
public string Text { get; }

Property Value

string

Type

Specifies the event type.For a type action, this property is always set to type.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ComputerActionType Type { get; }

Property Value

ComputerActionType