Table of Contents

Class PerplexityMessageContentChunk

public class PerplexityMessageContentChunk
Inheritance
object
PerplexityMessageContentChunk
Extension Methods

Properties

ImageUrlContent

Optional. An object containing the URL of the image.

public ImageUrl ImageUrlContent { get; set; }

Property Value

ImageUrl

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

imageUrl string

Returns

PerplexityMessageContentChunk

Text(string)

public static PerplexityMessageContentChunk Text(string text)

Parameters

text string

Returns

PerplexityMessageContentChunk