Uses of Record Class
com.tnsai.session.ConversationTurn
Packages that use ConversationTurn
Package
Description
Session history and knowledge extraction for agents.
Session replay functionality.
-
Uses of ConversationTurn in com.tnsai.session
Methods in com.tnsai.session that return ConversationTurnModifier and TypeMethodDescriptionstatic ConversationTurnCreates an assistant message turn.static ConversationTurnCreates a turn with minimal parameters.static ConversationTurnCreates a turn with metadata.AgentSession.getLastTurn()Gets the last turn.static ConversationTurnCreates a system message turn.static ConversationTurnCreates a tool call turn.static ConversationTurnConversationTurn.toolResult(String toolName, String result) Creates a tool result turn.SessionSearchResult.MatchedTurn.turn()Returns the value of theturnrecord component.static ConversationTurnCreates a user message turn.Methods in com.tnsai.session that return types with arguments of type ConversationTurnModifier and TypeMethodDescriptionAgentSession.getTurns()AgentSession.getTurnsByType(TurnType type) Gets turns of a specific type.Methods in com.tnsai.session with parameters of type ConversationTurnModifier and TypeMethodDescriptionAgentSession.addTurn(ConversationTurn turn) Adds a turn to the session.SessionSearchResult.MatchedTurn.of(int index, ConversationTurn turn, String highlight) Creates a matched turn.Method parameters in com.tnsai.session with type arguments of type ConversationTurnModifier and TypeMethodDescriptionstatic AgentSessionAgentSession.restore(String id, String agentName, Instant startTime, Instant endTime, String projectPath, List<ConversationTurn> turns, Map<String, Object> metadata, List<String> tags, SessionOutcome outcome) Restores a session from saved data.Constructors in com.tnsai.session with parameters of type ConversationTurnModifierConstructorDescriptionMatchedTurn(int turnIndex, ConversationTurn turn, String highlight, List<SessionSearchResult.MatchPosition> positions) Creates an instance of aMatchedTurnrecord class. -
Uses of ConversationTurn in com.tnsai.session.replay
Methods in com.tnsai.session.replay that return ConversationTurnModifier and TypeMethodDescriptionReplayStep.turn()Returns the value of theturnrecord component.Methods in com.tnsai.session.replay with parameters of type ConversationTurnModifier and TypeMethodDescriptionstatic ReplayStepReplayStep.of(int index, ConversationTurn turn, Duration elapsedTime, int totalSteps) Creates a replay step.Constructors in com.tnsai.session.replay with parameters of type ConversationTurnModifierConstructorDescriptionReplayStep(int index, ConversationTurn turn, String description, Duration elapsedTime, boolean isFirst, boolean isLast) Creates an instance of aReplaySteprecord class.