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

Class RAGAnswer

api/rag.py:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145
146@dataclass
147class RAGAnswer(adal.DataClass):
148 rationale: str = field(default="", metadata={"desc": "Chain of thoughts for the answer."})
149 answer: str = field(default="", metadata={"desc": "Answer to the user query, formatted in markdown for beautiful rendering with react-markdown. DO NOT include ``` triple backticks fences at the beginning or end of your answer."})
150
151 __output_fields__ = ["rationale", "answer"]
152
153class RAG(adal.Component):
154 """RAG with one repo.

Callers 1

callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected