Class PerplexityMessageContentChunk
Inheritance
PerplexityMessageContentChunk
Assembly: Glitch9.AIDevKit.Provider.Perplexity.dll
Syntax
public sealed class PerplexityMessageContentChunk
Properties
|
Edit this page
View Source
ImageUrlContent
Optional. An object containing the URL of the image.
Declaration
[JsonProperty("image_url")]
public ImageUrl ImageUrlContent { get; set; }
Property Value
|
Edit this page
View Source
TextContent
Optional. The text content of the part.
Declaration
[JsonProperty("text")]
public string TextContent { get; set; }
Property Value
|
Edit this page
View Source
Type
Required. The type of the content part.
Available Options: text, image_url
Declaration
[JsonProperty("type")]
public string Type { get; set; }
Property Value
Methods
|
Edit this page
View Source
ImageUrl(string)
Declaration
public static PerplexityMessageContentChunk ImageUrl(string imageUrl)
Parameters
| Type |
Name |
Description |
| string |
imageUrl |
|
Returns
|
Edit this page
View Source
Text(string)
Declaration
public static PerplexityMessageContentChunk Text(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
Extension Methods