EveClientContext
NexusLabs.Eve¶
EveClientContext Class¶
Wraps transient context supplied to every model call in one eve turn.
Inheritance System.Object → EveClientContext
Implements System.IEquatable<EveClientContext>
Remarks¶
eve preserves this value across tool-loop model calls in the current turn. It is not appended to durable conversation history and does not carry into the next turn; supply it again for each later turn that needs it.
Properties¶
EveClientContext.Json Property¶
Gets the JSON value sent as client context.
Property Value¶
Methods¶
EveClientContext.FromJson(JsonElement) Method¶
Wraps a JSON string, string array, or object as client context.
Parameters¶
json System.Text.Json.JsonElement
The client-context JSON.
Returns¶
EveClientContext
A client context that preserves the supplied JSON.
EveClientContext.FromMessages(string[]) Method¶
Creates multiple text context messages.
Parameters¶
messages System.String[]
The ordered context messages.
Returns¶
EveClientContext
An array client context.
EveClientContext.FromText(string) Method¶
Creates one text context message.
Parameters¶
text System.String
The ephemeral context text.
Returns¶
EveClientContext
A text client context.