ConversationContent
public struct ConversationContent
Represents conversation content for AI assistant messages
-
Undocumented
Declaration
Swift
public let type: String -
Undocumented
Declaration
Swift
public let text: String? -
Undocumented
Declaration
Swift
public let imageURL: ImageURL? -
Initialize with text content
Declaration
Swift
public init(type: String = "input_text", text: String) -
Initialize with image URL content
Declaration
Swift
public init(type: String = "image_url", imageURL: ImageURL) -
Undocumented
Declaration
Swift
public func toDictionary() -> [String : Any]