Uses of Record Class
net.thevpc.naru.api.model.NaruContextSegment
Packages that use NaruContextSegment
-
Uses of NaruContextSegment in net.thevpc.naru.api.model
Methods in net.thevpc.naru.api.model that return NaruContextSegmentModifier and TypeMethodDescriptionstatic NaruContextSegmentNaruContextSegment.cacheable(String id, NaruSegmentContent content) A cacheable segment with no particular stability horizon.static NaruContextSegmentNaruContextSegment.volatileSegment(String id, NaruSegmentContent content) A segment that must be re-sent as fresh content every turn.NaruContextSegment.withCacheable(boolean newCacheable) Methods in net.thevpc.naru.api.model that return types with arguments of type NaruContextSegmentModifier and TypeMethodDescriptionNaruCacheableContext.Builder.build$()NaruCacheableContext.DefaultNaruCacheableContext.segments()NaruCacheableContext.segments()NaruCachePlanView.None.segments()NaruCachePlanView.segments()The segments in emission order.Methods in net.thevpc.naru.api.model with parameters of type NaruContextSegmentMethod parameters in net.thevpc.naru.api.model with type arguments of type NaruContextSegmentModifier and TypeMethodDescriptionstatic NaruCacheableContextNaruCacheableContext.of(List<NaruContextSegment> segments) static NaruCacheableContextNaruCacheableContext.of(List<NaruContextSegment> segments, List<NaruToolDefinition> tools) Convenience for the common case: a stable head and a volatile tail, with the tool definitions folded in as their own cacheable segment.