Skip to main content
Glama
index.ts708 B
import type { Config, DocumentData, SearchResult } from '@doc-agent/core'; export class VectorStore { // biome-ignore lint/complexity/noUselessConstructor: needed for API compat constructor(_config: Config) { // this.config = config; } async indexDocument(document: DocumentData): Promise<void> { console.log(`Indexing document ${document.id} (not implemented)`); // TODO: Implement LanceDB indexing } async search(query: string): Promise<SearchResult[]> { console.log(`Searching for "${query}" (not implemented)`); // TODO: Implement LanceDB search return []; } } export function createVectorStore(config: Config): VectorStore { return new VectorStore(config); }

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/prosdevlab/doc-agent'

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