MCPcopy Create free account
hub / github.com/MemTensor/MemOS / embed

Method embed

packages/memos-schema/src/index.ts:132–132  ·  view source on GitHub ↗
(request: { texts: string[]; model?: string })

Source from the content-addressed store, hash-verified

130 */
131export interface ModelProviderConfig {
132 embed?(request: { texts: string[]; model?: string }): Promise<{ embeddings: number[][]; dimensions: number }>;
133 complete?(request: { prompt: string; maxTokens?: number; temperature?: number; model?: string }): Promise<{ text: string }>;
134}
135

Callers 13

storeChunkMethod · 0.65
embedChunksAsyncMethod · 0.65
embedSkillAsyncMethod · 0.65
embedMemoryAsyncMethod · 0.65
handleMethod · 0.65
serveTaskSearchMethod · 0.65
embedTaskInBackgroundMethod · 0.65
handleSkillEnableMethod · 0.65
runMigrationMethod · 0.65
importAgentMethod · 0.65
generateMethod · 0.65

Implementers 2

OpenClawAPIClientpackages/memos-core/src/openclaw-api.t
OpenClawAPIClientapps/memos-local-openclaw/src/openclaw

Calls

no outgoing calls

Tested by

no test coverage detected