Class PerplexityMessageContentChunk
- Namespace
- Glitch9.AIDevKit.Perplexity
public class PerplexityMessageContentChunk
- Inheritance
-
objectPerplexityMessageContentChunk
- Extension Methods
Properties
ImageUrlContent
Optional. An object containing the URL of the image.
public ImageUrl ImageUrlContent { get; set; }
Property Value
TextContent
Optional. The text content of the part.
public string TextContent { get; set; }
Property Value
- string
Type
Required. The type of the content part. Available Options: text, image_url
public string Type { get; set; }
Property Value
- string
Methods
ImageUrl(string)
public static PerplexityMessageContentChunk ImageUrl(string imageUrl)
Parameters
imageUrlstring
Returns
Text(string)
public static PerplexityMessageContentChunk Text(string text)
Parameters
textstring