Class PerplexityMessage
Inheritance
PerplexityMessage
Assembly: Glitch9.AIDevKit.Provider.Perplexity.dll
Syntax
public sealed class PerplexityMessage
Properties
|
Edit this page
View Source
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.
Declaration
[JsonProperty("content")]
public StringOrArray<PerplexityMessageContentChunk> Content { get; set; }
Property Value
|
Edit this page
View Source
Role
Required. The role of the speaker in this conversation.
Declaration
[JsonProperty("role")]
public ChatRole Role { get; set; }
Property Value
Methods
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Extension Methods