Reference

Configuration Reference

Complete configuration field reference.

InitOptions

typescripttypescript
interface InitOptions {
  organization: string;
  database: {
    provider: "sqlite";
    connectionString: string;
  };
  embedding: {
    baseUrl: string;
    apiKey: string;
    model: string;
    timeoutMs?: number; // default 30000
  };
  llm: {
    baseUrl: string;
    apiKey: string;
    model: string;
    temperature?: number; // default 0.2
    maxTokens?: number;   // default 4096
    timeoutMs?: number;   // default 60000
  };
}

Defaults

  • recall.topK = 5
  • recall.threshold = 0
  • compress.limit = 50
  • llm.temperature = 0.2
  • llm.maxTokens = 4096