MCPcopy Index your code
hub / github.com/simstudioai/sim / getEmbeddingModelInfo

Function getEmbeddingModelInfo

apps/sim/lib/knowledge/embedding-models.ts:42–48  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

40}
41
42export function getEmbeddingModelInfo(model: string): EmbeddingModelInfo {
43 const info = SUPPORTED_EMBEDDING_MODELS[model]
44 if (!info) {
45 throw new Error(`Unsupported embedding model: ${model}`)
46 }
47 return info
48}

Callers 6

resolveProviderFunction · 0.90
processDocumentAsyncFunction · 0.90
createChunkFunction · 0.90
updateChunkFunction · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected