MCPcopy
hub / github.com/langroid/langroid / _user_doc

Function _user_doc

tests/main/test_handle_message_security.py:46–47  ·  view source on GitHub ↗
(content: str)

Source from the content-addressed store, hash-verified

44
45
46def _user_doc(content: str) -> ChatDocument:
47 return ChatDocument(content=content, metadata=ChatDocMetaData(sender=Entity.USER))
48
49
50def _llm_doc(content: str) -> ChatDocument:

Calls 2

ChatDocumentClass · 0.90
ChatDocMetaDataClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…