Skip to main content
Glama
embeddings.d.ts675 B
import { CollectionCategory } from "./collections.js"; import type { Metadata } from "chromadb"; export interface SearchResult { content: string; metadata: Record<string, string | number | boolean>; distance?: number; } export declare function searchKnowledgeBase(query: string, category?: CollectionCategory | "all", nResults?: number): Promise<SearchResult[]>; export declare function addDocument(collectionName: string, id: string, content: string, metadata: Metadata): Promise<void>; export declare function addDocuments(collectionName: string, ids: string[], contents: string[], metadatas: Metadata[]): Promise<void>; //# sourceMappingURL=embeddings.d.ts.map

Latest Blog Posts

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/seanshin0214/quantmaster-mcp-server'

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