MCPcopy Create free account
hub / github.com/Harry-027/DocuMind / new

Method new

server/src/processor.rs:21–26  ·  view source on GitHub ↗
(settings: ConfigVar, vec_store: VectorStore)

Source from the content-addressed store, hash-verified

19
20impl Processor {
21 pub fn new(settings: ConfigVar, vec_store: VectorStore) -> Self {
22 Self {
23 settings,
24 vec_store,
25 }
26 }
27
28 // process_file splits the text into chunks so to generate the embeddings
29 // for proper context length and saves them to the db

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected