knowledge-base/types.ts

EstateWise-Chapel-Hill-Chatbot · context-engineering/src/knowledge-base/types.ts · typescript · MIT
ai

* @fileoverview Type definitions for the EstateWise Knowledge Base system. Provides strongly-typed interfaces for documents, chunks, search operations, and embedding configuration used throughout the knowledge base layer. / * A full document stored in the knowledge base with its

// Source: https://github.com/hoangsonww/EstateWise-Chapel-Hill-Chatbot | License: MIT | Copyright 2026 Son Nguyen
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * @fileoverview Type definitions for the EstateWise Knowledge Base system.
 *
 * Provides strongly-typed interfaces for documents, chunks, search operations,
 * and embedding configuration used throughout the knowledge base layer.
 */

/** A full document stored in the knowledge base with its content split into searchable chunks. */
export interface KBDocument {
  /** Unique document identifier (UUID v4). */
  id: string;
  /** Human-readable title for the document. */
  title: string;
  /** Full raw text content of the document. */
  content: string;
  /** Origin identifier (URL, agent name, tool name, user

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key