AiPromptEntry

public sealed class AiPromptEntry
One round of conversation history: a user prompt and the response it produced. Lets the user step back to a previous working version after a bad refinement, and gives the LLM context for follow-up requests without re-explaining from scratch.

Constructors

AiPromptEntry

#
public AiPromptEntry(
timestamp,
prompt,
response,
source,
modelId
)

Properties

ModelId

#
Identifier of the model that produced this response.
public string ModelId { get; }

Prompt

#
The user-authored prompt for this round (without the fixed prefix/suffix).
public string Prompt { get; }

Response

#
Raw LLM response text including any prose and code fences.
public string Response { get; }

Source

#
Extracted C# source from Response.
public string Source { get; }

Timestamp

#
UTC time at which the LLM produced this response.
public DateTime Timestamp { get; }