- Updated python_coding_microproject.csv to use NVIDIA NIM Kimi K2 - Updated kali_linux_shell_simulator.csv to use NVIDIA NIM Kimi K2 - Made more general-purpose (flexible targets, expanded tools) - Added nemotron-mini-agent.csv for fast local inference via Ollama - Added nemotron-agent.csv for advanced reasoning via Ollama - Added wiki page: Projects for NVIDIA NIMs and Nemotron
52 lines
1.6 KiB
TypeScript
52 lines
1.6 KiB
TypeScript
/**
|
|
* Generate SQLite database path for tenant
|
|
*/
|
|
export declare function getTenantDatabasePath(tenantDomain: string, dataDir?: string): string;
|
|
/**
|
|
* Generate ChromaDB collection name for tenant
|
|
*/
|
|
export declare function getTenantChromaCollection(tenantDomain: string): string;
|
|
/**
|
|
* Generate Redis key prefix for tenant
|
|
*/
|
|
export declare function getTenantRedisPrefix(tenantDomain: string): string;
|
|
/**
|
|
* Generate MinIO bucket name for tenant
|
|
*/
|
|
export declare function getTenantMinioBucket(tenantDomain: string): string;
|
|
/**
|
|
* Generate SQLite WAL mode configuration
|
|
*/
|
|
export declare function getSQLiteWALConfig(): string;
|
|
/**
|
|
* Generate SQLite encryption configuration
|
|
*/
|
|
export declare function getSQLiteEncryptionConfig(encryptionKey: string): string;
|
|
/**
|
|
* Create tenant database schema (SQLite)
|
|
*/
|
|
export declare function getTenantDatabaseSchema(): string;
|
|
/**
|
|
* Generate unique document chunk ID
|
|
*/
|
|
export declare function generateDocumentChunkId(documentId: number, chunkIndex: number): string;
|
|
/**
|
|
* Parse connection string for database configuration
|
|
*/
|
|
export declare function parseConnectionString(connectionString: string): {
|
|
host?: string;
|
|
port?: number;
|
|
database?: string;
|
|
username?: string;
|
|
password?: string;
|
|
options?: Record<string, string>;
|
|
};
|
|
/**
|
|
* Escape SQL identifiers (table names, column names, etc.)
|
|
*/
|
|
export declare function escapeSQLIdentifier(identifier: string): string;
|
|
/**
|
|
* Generate database backup filename
|
|
*/
|
|
export declare function generateBackupFilename(tenantDomain: string, timestamp?: Date): string;
|