Squashed 'vendor/ruvector/' content from commit b64c2172

git-subtree-dir: vendor/ruvector
git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
ruv
2026-02-28 14:39:40 -05:00
commit d803bfe2b1
7854 changed files with 3522914 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/**
* Knowledge graph generator using OpenRouter/Kimi K2
*/
import { OpenRouterClient } from '../openrouter-client.js';
import { KnowledgeGraphOptions, GraphData, GraphGenerationResult, KnowledgeTriple } from '../types.js';
export declare class KnowledgeGraphGenerator {
private client;
constructor(client: OpenRouterClient);
/**
* Generate a knowledge graph
*/
generate(options: KnowledgeGraphOptions): Promise<GraphGenerationResult<GraphData>>;
/**
* Generate entities for the knowledge graph
*/
private generateEntities;
/**
* Generate relationships between entities
*/
private generateRelationships;
/**
* Generate knowledge triples (subject-predicate-object)
*/
generateTriples(domain: string, count: number): Promise<KnowledgeTriple[]>;
}
/**
* Create a knowledge graph generator
*/
export declare function createKnowledgeGraphGenerator(client: OpenRouterClient): KnowledgeGraphGenerator;
//# sourceMappingURL=knowledge-graph.d.ts.map