Uses of Record Class
com.tnsai.rag.ChatKnowledgeContext.Turn
Packages that use ChatKnowledgeContext.Turn
-
Uses of ChatKnowledgeContext.Turn in com.tnsai.rag
Fields in com.tnsai.rag declared as ChatKnowledgeContext.TurnModifier and TypeFieldDescriptionstatic final ChatKnowledgeContext.TurnChatKnowledgeContext.Turn.EMPTYA turn that gives nothing.Methods in com.tnsai.rag that return ChatKnowledgeContext.TurnModifier and TypeMethodDescriptionChatKnowledgeContext.next(ChatRetrievalContext context) Gives this turn's blocks: each DIRECT source whole.RetrievedContextRenderer.Segment.turn()Returns the value of theturnrecord component.Methods in com.tnsai.rag with parameters of type ChatKnowledgeContext.TurnModifier and TypeMethodDescriptionstatic StringRetrievedContextRenderer.render(String userMessage, ChatKnowledgeContext.Turn turn, RetrievalResult result, int contextWindow) Renders a chat turn's knowledge behind one boundary: the blocks declared before the first SEARCH entry, the SEARCH evidence within the context window, then the blocks declared after it.Constructors in com.tnsai.rag with parameters of type ChatKnowledgeContext.TurnModifierConstructorDescriptionSegment(ChatKnowledgeContext.Turn turn, RetrievalResult result, int contextWindow) Rejects a missing turn.