Table of Contents

Class CompletionMessage

Namespace
FoundationaLLM.Common.Models.Orchestration.Direct
Assembly
FoundationaLLM.Common.dll

Object defining the completion role and content key value pairs.

public class CompletionMessage
Inheritance
CompletionMessage
Derived
Inherited Members
Extension Methods

Properties

Content

The text either input into or output by the model.

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

Property Value

string

Role

The role of the chat persona creating content. Value will be one of: "user", "assistant", "tool", or "system".

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

Property Value

string