MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / append_dialog_turn

Method append_dialog_turn

api/rag.py:34–38  ·  view source on GitHub ↗

Safely append a dialog turn to the conversation

(self, dialog_turn)

Source from the content-addressed store, hash-verified

32 self.dialog_turns = []
33
34 def append_dialog_turn(self, dialog_turn):
35 """Safely append a dialog turn to the conversation"""
36 if not hasattr(self, 'dialog_turns'):
37 self.dialog_turns = []
38 self.dialog_turns.append(dialog_turn)
39
40# Import other adalflow components
41from adalflow.components.retriever.faiss_retriever import FAISSRetriever

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected