MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / prepareModel

Method prepareModel

embeddings/embeddingService.js:73–78  ·  view source on GitHub ↗
(modelId, options = {})

Source from the content-addressed store, hash-verified

71 }
72
73 async prepareModel(modelId, options = {}) {
74 if (this.backend?.prepareModel) {
75 return this.backend.prepareModel(modelId || this.model, options);
76 }
77 return null;
78 }
79
80 async createEmbedding(request, options = {}) {
81 const normalized = normalizeEmbeddingRequest(request);

Callers 3

prepareModelFunction · 0.80
prepareModelFunction · 0.80
prepareModelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected