Table of Contents

Class PerplexityMessage

public class PerplexityMessage
Inheritance
object
PerplexityMessage
Extension Methods

Properties

Content

Required. The contents of the message in this turn of conversation. Can be a string or an array of content parts. The text contents of the message.

public StringOrArray<PerplexityMessageContentChunk> Content { get; set; }

Property Value

StringOrArray<PerplexityMessageContentChunk>

Role

Required. The role of the speaker in this conversation.

public ChatRole Role { get; set; }

Property Value

ChatRole

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.