MCPcopy
hub / github.com/langroid/langroid / _llm_doc

Function _llm_doc

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

Source from the content-addressed store, hash-verified

48
49
50def _llm_doc(content: str) -> ChatDocument:
51 return ChatDocument(content=content, metadata=ChatDocMetaData(sender=Entity.LLM))
52
53
54# ---------------------------------------------------------------------------

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…