Table of Contents

Class OpenAiChatMessage

Namespace
BotManager.OpenAi.Models
Assembly
BotManager.OpenAi.dll

Defines a single chat message for the OpenAiChat expression.

public sealed class OpenAiChatMessage
Inheritance
OpenAiChatMessage
Inherited Members

Constructors

OpenAiChatMessage()

public OpenAiChatMessage()

Properties

Role

Gets and sets the role of the message. See OpenAI.GPT3.ObjectModels.StaticValues.ChatMessageRoles.

public string Role { get; set; }

Property Value

string

Text

Gets and sets the message text.

public IExpression? Text { get; set; }

Property Value

IExpression