Uses of Package
net.thevpc.naru.api.model
Packages that use net.thevpc.naru.api.model
Package
Description
-
Classes in net.thevpc.naru.api.model used by net.thevpc.naru.api.agent
-
Classes in net.thevpc.naru.api.model used by net.thevpc.naru.api.modelClassDescriptionAn outgoing request expressed as an ordered, explicitly-labelled decomposition of its stable and volatile parts.Fluent assembler.What a serializer needs to know to place cache markers, without knowing how NARU decides cache validity.How a provider exposes prompt caching, which determines what a caching client must do to get a cache hit.What a piece of model output is, independent of how it was produced.One stable-to-volatile slice of the outgoing request context.A single message in a chat conversation.Abstraction over any LLM backend (Ollama, OpenAI, Anthropic, …).Response from a
NaruModelProviderchat call.The payload of aNaruContextSegment.A run of conversation messages, in the order they must be emitted.The tool definitions for the request.One normalised piece of model output.The oneNaruStreamChunkimplementation.ANaruStreamHandlerthat keeps what it is given.Local stand-in forBooleanSupplier, to avoid a JDK-vs-android signature debate.Receives model output as it is produced.Turns a model's output into the one form everything downstream understands: an ordered list ofNaruStreamChunks, and an assistant message whose reasoning is already separated from its answer.Where a piece of thinking content came from.One continuous stretch of model reasoning, kept separate from the visible answer onNaruMessage.Splits a text stream into thinking and answer content using a delimiter pair.The delimiters a model wraps its reasoning in, when it puts reasoning in the answer text instead of a field of its own.Which part of a model call a token belongs to.A tool call requested by the model inside an assistant message.OpenAI-compatible tool definition (Ollama uses the same format). -
Classes in net.thevpc.naru.api.model used by net.thevpc.naru.api.registryClassDescriptionA single message in a chat conversation.Abstraction over any LLM backend (Ollama, OpenAI, Anthropic, …).A tool call requested by the model inside an assistant message.OpenAI-compatible tool definition (Ollama uses the same format).
-
Classes in net.thevpc.naru.api.model used by net.thevpc.naru.api.taskClassDescriptionA single message in a chat conversation.Response from a
NaruModelProviderchat call.OpenAI-compatible tool definition (Ollama uses the same format).