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(DateTime timestamp, string prompt, string response, string source, string modelId)
timestamp (DateTime)
prompt (string)
response (string)
source (string)
modelId (string)

Properties

ModelId

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

Prompt

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

Response

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

Source

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

Timestamp

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