brainy/dist/pipeline.js
David Snelling f8c45f2d8d Initial commit: Brainy - Multi-Dimensional AI Database
Open source vector database with HNSW indexing, graph relationships,
and metadata facets. Features CLI with professional augmentation registry
integration for discovering extensions and capabilities.
2025-08-18 17:35:06 -07:00

29 lines
No EOL
1.3 KiB
JavaScript

/**
* Pipeline - Clean Re-export of Cortex
*
* After the Great Cleanup: Pipeline IS Cortex. No delegation, no complexity.
* ONE way to do everything.
*/
// Export the ONE consolidated Cortex class as Pipeline for those who prefer the name
export { Cortex as Pipeline, cortex as pipeline, ExecutionMode } from './augmentationPipeline.js';
// Re-export for backward compatibility in imports
export { cortex as augmentationPipeline, Cortex } from './augmentationPipeline.js';
// Simple factory functions
export const createPipeline = async () => {
const { Cortex } = await import('./augmentationPipeline.js');
return new Cortex();
};
export const createStreamingPipeline = async () => {
const { Cortex } = await import('./augmentationPipeline.js');
return new Cortex();
};
// Execution mode alias
export var StreamlinedExecutionMode;
(function (StreamlinedExecutionMode) {
StreamlinedExecutionMode["SEQUENTIAL"] = "sequential";
StreamlinedExecutionMode["PARALLEL"] = "parallel";
StreamlinedExecutionMode["FIRST_SUCCESS"] = "firstSuccess";
StreamlinedExecutionMode["FIRST_RESULT"] = "firstResult";
StreamlinedExecutionMode["THREADED"] = "threaded";
})(StreamlinedExecutionMode || (StreamlinedExecutionMode = {}));
//# sourceMappingURL=pipeline.js.map