Uses of Record Class
com.tnsai.rag.RetrievalScope
Packages that use RetrievalScope
-
Uses of RetrievalScope in com.tnsai.rag
Methods in com.tnsai.rag that return RetrievalScopeModifier and TypeMethodDescriptionstatic RetrievalScopeCreates a scope from nullable identity values.ChatRetrievalContext.scope()Returns the value of thescoperecord component.RetrievalRequest.scope()Returns the value of thescoperecord component.static RetrievalScopeRetrievalScope.unscoped()Returns the canonical scope for requests without identity.Methods in com.tnsai.rag with parameters of type RetrievalScopeModifier and TypeMethodDescriptionChatRetrievalContext.Builder.scope(RetrievalScope value) RetrievalRequest.Builder.scope(RetrievalScope value) ChatRetrievalContext.withIdentityDefaults(RetrievalScope fallbackScope, String fallbackAgentName) Fills missing scope components and agent identity from the active agent entry context without overriding values supplied by the application.Constructors in com.tnsai.rag with parameters of type RetrievalScopeModifierConstructorDescriptionChatRetrievalContext(RetrievalScope scope, Optional<String> runId, Optional<String> agentName, Optional<String> simulationState, Optional<String> currentEpisode, Optional<String> sourceRevision, CancellationToken cancellationToken, Optional<Instant> deadline, Map<String, String> metadataFilters, Optional<String> turnMessage, Optional<String> conversationId, Map<String, Path> sourcePaths) Validates and defensively copies the request context.RetrievalRequest(String query, RetrievalConfig config, RetrievalScope scope, CancellationToken cancellationToken, Optional<Instant> deadline, Map<String, String> metadataFilters, Optional<String> turnMessage, Optional<String> conversationId, Map<String, Path> sourcePaths) Validates and defensively copies request state.