Class PerplexityMessage
- Namespace
- Glitch9.AIDevKit.Perplexity
public class PerplexityMessage
- Inheritance
-
objectPerplexityMessage
- 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
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.