MCPcopy Create free account
hub / github.com/Chainlit/cookbook / __init__

Method __init__

chroma-qa-chat/app.py:98–101  ·  view source on GitHub ↗
(self, msg: cl.Message)

Source from the content-addressed store, hash-verified

96 """
97
98 def __init__(self, msg: cl.Message):
99 BaseCallbackHandler.__init__(self)
100 self.msg = msg
101 self.sources = set() # To store unique pairs
102
103 def on_retriever_end(self, documents, *, run_id, parent_run_id, **kwargs):
104 for d in documents:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected