Table of Contents

Class Message

Namespace
AutoGen.Ollama
Assembly
AutoGen.Ollama.dll
public class Message
Inheritance
Message
Inherited Members

Constructors

Message()

public Message()

Message(string, string)

public Message(string role, string value)

Parameters

role string
value string

Properties

Images

(optional): a list of images to include in the message (for multimodal models such as llava)

[JsonPropertyName("images")]
public IList<string>? Images { get; set; }

Property Value

IList<string>

Role

the role of the message, either system, user or assistant

[JsonPropertyName("role")]
public string Role { get; set; }

Property Value

string

Value

the content of the message

[JsonPropertyName("content")]
public string Value { get; set; }

Property Value

string