MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / getDocument

Function getDocument

packages/baseai/src/utils/memory/db/lib.ts:133–138  ·  view source on GitHub ↗
(
	db: Low<Schema>,
	docName: string
)

Source from the content-addressed store, hash-verified

131}
132
133export function getDocument(
134 db: Low<Schema>,
135 docName: string
136): Document | undefined {
137 return db.data.documents[docName];
138}
139
140export async function deleteDocumentFromDB({
141 db,

Callers 1

generateEmbeddingsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected