Skip to main content
Glama
mock.py372 B
from typing import Literal from selfmemory.embeddings.base import EmbeddingBase class MockEmbeddings(EmbeddingBase): def embed( self, text, memory_action: Literal["add", "search", "update"] | None = None ): """ Generate a mock embedding with dimension of 10. """ return [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shrijayan/SelfMemory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server