createMemoryBlockInput.ts
1 /** 2 * Generated by orval v7.9.0 🍺 3 * Do not edit manually. 4 * Cogni API 5 * A minimal FastAPI that directly passes user queries to OpenAI, augmented with Cogni memory. 6 * OpenAPI spec version: 0.1.0 7 */ 8 import type { CreateMemoryBlockInputState } from './createMemoryBlockInputState'; 9 import type { CreateMemoryBlockInputVisibility } from './createMemoryBlockInputVisibility'; 10 import type { CreateMemoryBlockInputMetadata } from './createMemoryBlockInputMetadata'; 11 import type { CreateMemoryBlockInputSourceFile } from './createMemoryBlockInputSourceFile'; 12 import type { CreateMemoryBlockInputConfidence } from './createMemoryBlockInputConfidence'; 13 import type { CreateMemoryBlockInputCreatedBy } from './createMemoryBlockInputCreatedBy'; 14 15 /** 16 * Input model for creating a new memory block. 17 */ 18 export interface CreateMemoryBlockInput { 19 /** Type of memory block to create (must be registered in schema registry) */ 20 type: string; 21 /** Primary content of the memory block */ 22 text: string; 23 /** Namespace ID for multi-tenant organization (defaults to 'legacy') */ 24 namespace_id?: string; 25 /** Initial state of the block */ 26 state?: CreateMemoryBlockInputState; 27 /** Visibility level of the block */ 28 visibility?: CreateMemoryBlockInputVisibility; 29 /** 30 * Optional tags for filtering and metadata 31 * @maxItems 20 32 */ 33 tags?: string[]; 34 /** Type-specific metadata for the block */ 35 metadata?: CreateMemoryBlockInputMetadata; 36 /** Optional source file or markdown name */ 37 source_file?: CreateMemoryBlockInputSourceFile; 38 /** Optional confidence scores for the block */ 39 confidence?: CreateMemoryBlockInputConfidence; 40 /** Optional identifier for creator (agent name or user ID) */ 41 created_by?: CreateMemoryBlockInputCreatedBy; 42 }