---
type: community
cohesion: 0.15
members: 21
---

# rag DebugSink Document

**Cohesion:** 0.15 - loosely connected
**Members:** 21 nodes

## Members
- [[.AddDocument()]] - code - context/rag_source_test.go
- [[.DebugSink()_1]] - code - context/rag_source.go
- [[.GetRelevantDocuments()]] - code - context/rag_source_test.go
- [[.UpdateDocumentTokens()]] - code - context/rag_source_test.go
- [[Context_11]] - code - context/rag_source_test.go
- [[DebugSink_9]] - code - context/rag_source.go
- [[Document]] - code - context/rag_source.go
- [[Document_1]] - code - context/rag_source_test.go
- [[RAG()]] - code - context/rag_source.go
- [[RAGQueryFunc]] - code - context/rag_source.go
- [[RAGSource]] - code - context/rag_source.go
- [[RAGStore]] - code - context/rag_source.go
- [[Source_2]] - code - context/rag_source.go
- [[T_11]] - code - context/rag_source_test.go
- [[TestRAGSourceBudgetsDocumentsInsideGroup()]] - code - context/rag_source_test.go
- [[TestRAGSourceReportsMinimumDocumentTokensWhenRequiredDocsDoNotFit()]] - code - context/rag_source_test.go
- [[TestRAGSourceRequiresRAGStore()]] - code - context/rag_source_test.go
- [[TestXMLRendererRendersPartGroupAsSinglePart()]] - code - context/rag_source_test.go
- [[fakeRAGStore]] - code - context/rag_source_test.go
- [[rag_source.go]] - code - context/rag_source.go
- [[rag_source_test.go]] - code - context/rag_source_test.go

## Live Query (requires Dataview plugin)

```dataview
TABLE source_file, type FROM #community/rag_DebugSink_Document
SORT file.name ASC
```

## Connections to other communities
- 3 edges to [[_COMMUNITY_testgo Part Context]]
- 1 edge to [[_COMMUNITY_Part promptLimit Source]]

## Top bridge nodes
- [[TestXMLRendererRendersPartGroupAsSinglePart()]] - degree 5, connects to 2 communities
- [[RAGSource]] - degree 6, connects to 1 community