@memnexus-ai/typescript-sdk 1.1.5 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1533,7 +1533,7 @@ declare const listConversationsOkResponsePagination: z.ZodLazy<z.ZodObject<{
1533
1533
  */
1534
1534
  type ListConversationsOkResponsePagination = z.infer<typeof listConversationsOkResponsePagination>;
1535
1535
 
1536
- declare enum MemoryMemoryType {
1536
+ declare enum MemoryMemoryType1 {
1537
1537
  EPISODIC = "episodic",
1538
1538
  SEMANTIC = "semantic",
1539
1539
  PROCEDURAL = "procedural"
@@ -3115,8 +3115,13 @@ type CreateMemoryResponse = z.infer<typeof createMemoryResponse>;
3115
3115
  declare const searchRequest: z.ZodLazy<z.ZodObject<{
3116
3116
  query: z.ZodString;
3117
3117
  mode: z.ZodOptional<z.ZodString>;
3118
+ searchMethod: z.ZodOptional<z.ZodString>;
3118
3119
  limit: z.ZodOptional<z.ZodNumber>;
3119
3120
  offset: z.ZodOptional<z.ZodNumber>;
3121
+ vectorWeight: z.ZodOptional<z.ZodNumber>;
3122
+ fulltextWeight: z.ZodOptional<z.ZodNumber>;
3123
+ threshold: z.ZodOptional<z.ZodNumber>;
3124
+ explain: z.ZodOptional<z.ZodBoolean>;
3120
3125
  asOfTime: z.ZodOptional<z.ZodString>;
3121
3126
  validAtTime: z.ZodOptional<z.ZodString>;
3122
3127
  eventTimeFrom: z.ZodOptional<z.ZodString>;
@@ -3128,8 +3133,13 @@ declare const searchRequest: z.ZodLazy<z.ZodObject<{
3128
3133
  }, "strip", z.ZodTypeAny, {
3129
3134
  query: string;
3130
3135
  mode?: string | undefined;
3136
+ searchMethod?: string | undefined;
3131
3137
  limit?: number | undefined;
3132
3138
  offset?: number | undefined;
3139
+ vectorWeight?: number | undefined;
3140
+ fulltextWeight?: number | undefined;
3141
+ threshold?: number | undefined;
3142
+ explain?: boolean | undefined;
3133
3143
  asOfTime?: string | undefined;
3134
3144
  validAtTime?: string | undefined;
3135
3145
  eventTimeFrom?: string | undefined;
@@ -3141,8 +3151,13 @@ declare const searchRequest: z.ZodLazy<z.ZodObject<{
3141
3151
  }, {
3142
3152
  query: string;
3143
3153
  mode?: string | undefined;
3154
+ searchMethod?: string | undefined;
3144
3155
  limit?: number | undefined;
3145
3156
  offset?: number | undefined;
3157
+ vectorWeight?: number | undefined;
3158
+ fulltextWeight?: number | undefined;
3159
+ threshold?: number | undefined;
3160
+ explain?: boolean | undefined;
3146
3161
  asOfTime?: string | undefined;
3147
3162
  validAtTime?: string | undefined;
3148
3163
  eventTimeFrom?: string | undefined;
@@ -3156,9 +3171,14 @@ declare const searchRequest: z.ZodLazy<z.ZodObject<{
3156
3171
  *
3157
3172
  * @typedef {SearchRequest} searchRequest
3158
3173
  * @property {string} - Search query
3159
- * @property {Mode} - Search mode (defaults to unified)
3174
+ * @property {Mode} - Content filtering mode (defaults to unified)
3175
+ * @property {SearchMethod} - Search algorithm: keyword (fulltext), semantic (vector), or hybrid (combined). Defaults to keyword.
3160
3176
  * @property {number} - Maximum number of results (defaults to 20)
3161
3177
  * @property {number} - Offset for pagination (defaults to 0)
3178
+ * @property {number} - Weight for vector (semantic) results in hybrid search (0-1, defaults to 0.7)
3179
+ * @property {number} - Weight for fulltext (keyword) results in hybrid search (0-1, defaults to 0.3)
3180
+ * @property {number} - Minimum similarity threshold for semantic search (0-1, defaults to 0.5)
3181
+ * @property {boolean} - If true, include detailed explanation of how each result was matched
3162
3182
  * @property {string} - Point-in-time query: show what the system knew at this time (ISO 8601 format)
3163
3183
  * @property {string} - Validity query: show facts that were valid at this time (ISO 8601 format)
3164
3184
  * @property {string} - Event time range start (ISO 8601 format)
@@ -3175,83 +3195,350 @@ type SearchRequest = z.infer<typeof searchRequest>;
3175
3195
  */
3176
3196
  declare const searchResponse: z.ZodLazy<z.ZodObject<{
3177
3197
  data: z.ZodArray<z.ZodLazy<z.ZodObject<{
3178
- id: z.ZodString;
3179
- content: z.ZodString;
3180
- memoryType: z.ZodString;
3181
- context: z.ZodOptional<z.ZodString>;
3182
- topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3183
- timestamp: z.ZodOptional<z.ZodString>;
3184
- eventTime: z.ZodOptional<z.ZodString>;
3185
- validFrom: z.ZodOptional<z.ZodString>;
3186
- validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3187
- createdAt: z.ZodString;
3188
- updatedAt: z.ZodString;
3198
+ memory: z.ZodLazy<z.ZodObject<{
3199
+ id: z.ZodString;
3200
+ content: z.ZodString;
3201
+ memoryType: z.ZodString;
3202
+ context: z.ZodOptional<z.ZodString>;
3203
+ topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3204
+ timestamp: z.ZodOptional<z.ZodString>;
3205
+ eventTime: z.ZodOptional<z.ZodString>;
3206
+ validFrom: z.ZodOptional<z.ZodString>;
3207
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3208
+ createdAt: z.ZodString;
3209
+ updatedAt: z.ZodString;
3210
+ }, "strip", z.ZodTypeAny, {
3211
+ id: string;
3212
+ createdAt: string;
3213
+ content: string;
3214
+ updatedAt: string;
3215
+ memoryType: string;
3216
+ context?: string | undefined;
3217
+ topics?: string[] | undefined;
3218
+ timestamp?: string | undefined;
3219
+ eventTime?: string | undefined;
3220
+ validFrom?: string | undefined;
3221
+ validTo?: string | null | undefined;
3222
+ }, {
3223
+ id: string;
3224
+ createdAt: string;
3225
+ content: string;
3226
+ updatedAt: string;
3227
+ memoryType: string;
3228
+ context?: string | undefined;
3229
+ topics?: string[] | undefined;
3230
+ timestamp?: string | undefined;
3231
+ eventTime?: string | undefined;
3232
+ validFrom?: string | undefined;
3233
+ validTo?: string | null | undefined;
3234
+ }>>;
3235
+ score: z.ZodNumber;
3236
+ entities: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
3237
+ name: z.ZodOptional<z.ZodString>;
3238
+ type: z.ZodOptional<z.ZodString>;
3239
+ }, "strip", z.ZodTypeAny, {
3240
+ name?: string | undefined;
3241
+ type?: string | undefined;
3242
+ }, {
3243
+ name?: string | undefined;
3244
+ type?: string | undefined;
3245
+ }>>, "many">>;
3246
+ topics: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
3247
+ name: z.ZodString;
3248
+ count: z.ZodNumber;
3249
+ }, "strip", z.ZodTypeAny, {
3250
+ name: string;
3251
+ count: number;
3252
+ }, {
3253
+ name: string;
3254
+ count: number;
3255
+ }>>, "many">>;
3256
+ searchMethod: z.ZodOptional<z.ZodString>;
3257
+ hybridScore: z.ZodOptional<z.ZodNumber>;
3258
+ vectorScore: z.ZodOptional<z.ZodNumber>;
3259
+ vectorRank: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3260
+ fulltextScore: z.ZodOptional<z.ZodNumber>;
3261
+ fulltextRank: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3262
+ explanation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
3263
+ matchReason: z.ZodString;
3264
+ matchedTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3265
+ semanticSimilarity: z.ZodOptional<z.ZodNumber>;
3266
+ contributingFactors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3267
+ }, "strip", z.ZodTypeAny, {
3268
+ matchReason: string;
3269
+ matchedTerms?: string[] | undefined;
3270
+ semanticSimilarity?: number | undefined;
3271
+ contributingFactors?: string[] | undefined;
3272
+ }, {
3273
+ matchReason: string;
3274
+ matchedTerms?: string[] | undefined;
3275
+ semanticSimilarity?: number | undefined;
3276
+ contributingFactors?: string[] | undefined;
3277
+ }>>>;
3189
3278
  }, "strip", z.ZodTypeAny, {
3190
- id: string;
3191
- createdAt: string;
3192
- content: string;
3193
- updatedAt: string;
3194
- memoryType: string;
3195
- context?: string | undefined;
3196
- topics?: string[] | undefined;
3197
- timestamp?: string | undefined;
3198
- eventTime?: string | undefined;
3199
- validFrom?: string | undefined;
3200
- validTo?: string | null | undefined;
3279
+ memory: {
3280
+ id: string;
3281
+ createdAt: string;
3282
+ content: string;
3283
+ updatedAt: string;
3284
+ memoryType: string;
3285
+ context?: string | undefined;
3286
+ topics?: string[] | undefined;
3287
+ timestamp?: string | undefined;
3288
+ eventTime?: string | undefined;
3289
+ validFrom?: string | undefined;
3290
+ validTo?: string | null | undefined;
3291
+ };
3292
+ score: number;
3293
+ entities?: {
3294
+ name?: string | undefined;
3295
+ type?: string | undefined;
3296
+ }[] | undefined;
3297
+ topics?: {
3298
+ name: string;
3299
+ count: number;
3300
+ }[] | undefined;
3301
+ searchMethod?: string | undefined;
3302
+ hybridScore?: number | undefined;
3303
+ vectorScore?: number | undefined;
3304
+ vectorRank?: number | null | undefined;
3305
+ fulltextScore?: number | undefined;
3306
+ fulltextRank?: number | null | undefined;
3307
+ explanation?: {
3308
+ matchReason: string;
3309
+ matchedTerms?: string[] | undefined;
3310
+ semanticSimilarity?: number | undefined;
3311
+ contributingFactors?: string[] | undefined;
3312
+ } | undefined;
3201
3313
  }, {
3202
- id: string;
3203
- createdAt: string;
3204
- content: string;
3205
- updatedAt: string;
3206
- memoryType: string;
3207
- context?: string | undefined;
3208
- topics?: string[] | undefined;
3209
- timestamp?: string | undefined;
3210
- eventTime?: string | undefined;
3211
- validFrom?: string | undefined;
3212
- validTo?: string | null | undefined;
3314
+ memory: {
3315
+ id: string;
3316
+ createdAt: string;
3317
+ content: string;
3318
+ updatedAt: string;
3319
+ memoryType: string;
3320
+ context?: string | undefined;
3321
+ topics?: string[] | undefined;
3322
+ timestamp?: string | undefined;
3323
+ eventTime?: string | undefined;
3324
+ validFrom?: string | undefined;
3325
+ validTo?: string | null | undefined;
3326
+ };
3327
+ score: number;
3328
+ entities?: {
3329
+ name?: string | undefined;
3330
+ type?: string | undefined;
3331
+ }[] | undefined;
3332
+ topics?: {
3333
+ name: string;
3334
+ count: number;
3335
+ }[] | undefined;
3336
+ searchMethod?: string | undefined;
3337
+ hybridScore?: number | undefined;
3338
+ vectorScore?: number | undefined;
3339
+ vectorRank?: number | null | undefined;
3340
+ fulltextScore?: number | undefined;
3341
+ fulltextRank?: number | null | undefined;
3342
+ explanation?: {
3343
+ matchReason: string;
3344
+ matchedTerms?: string[] | undefined;
3345
+ semanticSimilarity?: number | undefined;
3346
+ contributingFactors?: string[] | undefined;
3347
+ } | undefined;
3213
3348
  }>>, "many">;
3214
- count: z.ZodNumber;
3215
- metadata: z.ZodAny;
3349
+ searchMethod: z.ZodOptional<z.ZodString>;
3350
+ pagination: z.ZodLazy<z.ZodObject<{
3351
+ limit: z.ZodNumber;
3352
+ offset: z.ZodNumber;
3353
+ count: z.ZodNumber;
3354
+ }, "strip", z.ZodTypeAny, {
3355
+ count: number;
3356
+ limit: number;
3357
+ offset: number;
3358
+ }, {
3359
+ count: number;
3360
+ limit: number;
3361
+ offset: number;
3362
+ }>>;
3363
+ temporalMetadata: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3364
+ temporalMode: z.ZodString;
3365
+ asOfTime: z.ZodNullable<z.ZodString>;
3366
+ validAtTime: z.ZodNullable<z.ZodString>;
3367
+ eventTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3368
+ from: z.ZodNullable<z.ZodString>;
3369
+ to: z.ZodNullable<z.ZodString>;
3370
+ }, "strip", z.ZodTypeAny, {
3371
+ from: string | null;
3372
+ to: string | null;
3373
+ }, {
3374
+ from: string | null;
3375
+ to: string | null;
3376
+ }>>>;
3377
+ ingestionTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3378
+ from: z.ZodNullable<z.ZodString>;
3379
+ to: z.ZodNullable<z.ZodString>;
3380
+ }, "strip", z.ZodTypeAny, {
3381
+ from: string | null;
3382
+ to: string | null;
3383
+ }, {
3384
+ from: string | null;
3385
+ to: string | null;
3386
+ }>>>;
3387
+ includeExpired: z.ZodBoolean;
3388
+ temporalFieldsIncluded: z.ZodBoolean;
3389
+ }, "strip", z.ZodTypeAny, {
3390
+ asOfTime: string | null;
3391
+ validAtTime: string | null;
3392
+ includeExpired: boolean;
3393
+ temporalMode: string;
3394
+ eventTimeRange: {
3395
+ from: string | null;
3396
+ to: string | null;
3397
+ } | null;
3398
+ ingestionTimeRange: {
3399
+ from: string | null;
3400
+ to: string | null;
3401
+ } | null;
3402
+ temporalFieldsIncluded: boolean;
3403
+ }, {
3404
+ asOfTime: string | null;
3405
+ validAtTime: string | null;
3406
+ includeExpired: boolean;
3407
+ temporalMode: string;
3408
+ eventTimeRange: {
3409
+ from: string | null;
3410
+ to: string | null;
3411
+ } | null;
3412
+ ingestionTimeRange: {
3413
+ from: string | null;
3414
+ to: string | null;
3415
+ } | null;
3416
+ temporalFieldsIncluded: boolean;
3417
+ }>>>;
3216
3418
  }, "strip", z.ZodTypeAny, {
3419
+ pagination: {
3420
+ count: number;
3421
+ limit: number;
3422
+ offset: number;
3423
+ };
3217
3424
  data: {
3218
- id: string;
3219
- createdAt: string;
3220
- content: string;
3221
- updatedAt: string;
3222
- memoryType: string;
3223
- context?: string | undefined;
3224
- topics?: string[] | undefined;
3225
- timestamp?: string | undefined;
3226
- eventTime?: string | undefined;
3227
- validFrom?: string | undefined;
3228
- validTo?: string | null | undefined;
3425
+ memory: {
3426
+ id: string;
3427
+ createdAt: string;
3428
+ content: string;
3429
+ updatedAt: string;
3430
+ memoryType: string;
3431
+ context?: string | undefined;
3432
+ topics?: string[] | undefined;
3433
+ timestamp?: string | undefined;
3434
+ eventTime?: string | undefined;
3435
+ validFrom?: string | undefined;
3436
+ validTo?: string | null | undefined;
3437
+ };
3438
+ score: number;
3439
+ entities?: {
3440
+ name?: string | undefined;
3441
+ type?: string | undefined;
3442
+ }[] | undefined;
3443
+ topics?: {
3444
+ name: string;
3445
+ count: number;
3446
+ }[] | undefined;
3447
+ searchMethod?: string | undefined;
3448
+ hybridScore?: number | undefined;
3449
+ vectorScore?: number | undefined;
3450
+ vectorRank?: number | null | undefined;
3451
+ fulltextScore?: number | undefined;
3452
+ fulltextRank?: number | null | undefined;
3453
+ explanation?: {
3454
+ matchReason: string;
3455
+ matchedTerms?: string[] | undefined;
3456
+ semanticSimilarity?: number | undefined;
3457
+ contributingFactors?: string[] | undefined;
3458
+ } | undefined;
3229
3459
  }[];
3230
- count: number;
3231
- metadata?: any;
3460
+ temporalMetadata: {
3461
+ asOfTime: string | null;
3462
+ validAtTime: string | null;
3463
+ includeExpired: boolean;
3464
+ temporalMode: string;
3465
+ eventTimeRange: {
3466
+ from: string | null;
3467
+ to: string | null;
3468
+ } | null;
3469
+ ingestionTimeRange: {
3470
+ from: string | null;
3471
+ to: string | null;
3472
+ } | null;
3473
+ temporalFieldsIncluded: boolean;
3474
+ } | null;
3475
+ searchMethod?: string | undefined;
3232
3476
  }, {
3477
+ pagination: {
3478
+ count: number;
3479
+ limit: number;
3480
+ offset: number;
3481
+ };
3233
3482
  data: {
3234
- id: string;
3235
- createdAt: string;
3236
- content: string;
3237
- updatedAt: string;
3238
- memoryType: string;
3239
- context?: string | undefined;
3240
- topics?: string[] | undefined;
3241
- timestamp?: string | undefined;
3242
- eventTime?: string | undefined;
3243
- validFrom?: string | undefined;
3244
- validTo?: string | null | undefined;
3483
+ memory: {
3484
+ id: string;
3485
+ createdAt: string;
3486
+ content: string;
3487
+ updatedAt: string;
3488
+ memoryType: string;
3489
+ context?: string | undefined;
3490
+ topics?: string[] | undefined;
3491
+ timestamp?: string | undefined;
3492
+ eventTime?: string | undefined;
3493
+ validFrom?: string | undefined;
3494
+ validTo?: string | null | undefined;
3495
+ };
3496
+ score: number;
3497
+ entities?: {
3498
+ name?: string | undefined;
3499
+ type?: string | undefined;
3500
+ }[] | undefined;
3501
+ topics?: {
3502
+ name: string;
3503
+ count: number;
3504
+ }[] | undefined;
3505
+ searchMethod?: string | undefined;
3506
+ hybridScore?: number | undefined;
3507
+ vectorScore?: number | undefined;
3508
+ vectorRank?: number | null | undefined;
3509
+ fulltextScore?: number | undefined;
3510
+ fulltextRank?: number | null | undefined;
3511
+ explanation?: {
3512
+ matchReason: string;
3513
+ matchedTerms?: string[] | undefined;
3514
+ semanticSimilarity?: number | undefined;
3515
+ contributingFactors?: string[] | undefined;
3516
+ } | undefined;
3245
3517
  }[];
3246
- count: number;
3247
- metadata?: any;
3518
+ temporalMetadata: {
3519
+ asOfTime: string | null;
3520
+ validAtTime: string | null;
3521
+ includeExpired: boolean;
3522
+ temporalMode: string;
3523
+ eventTimeRange: {
3524
+ from: string | null;
3525
+ to: string | null;
3526
+ } | null;
3527
+ ingestionTimeRange: {
3528
+ from: string | null;
3529
+ to: string | null;
3530
+ } | null;
3531
+ temporalFieldsIncluded: boolean;
3532
+ } | null;
3533
+ searchMethod?: string | undefined;
3248
3534
  }>>;
3249
3535
  /**
3250
3536
  *
3251
3537
  * @typedef {SearchResponse} searchResponse
3252
- * @property {Memory[]} - Search results
3253
- * @property {number} - Total number of results
3254
- * @property {any} - Search metadata
3538
+ * @property {SearchResult[]} - Search results with metadata
3539
+ * @property {string} - Search method used for this query
3540
+ * @property {SearchResponsePagination} - Pagination information
3541
+ * @property {TemporalMetadata} - Temporal query metadata (null for semantic/hybrid search)
3255
3542
  */
3256
3543
  type SearchResponse = z.infer<typeof searchResponse>;
3257
3544
 
@@ -3306,10 +3593,16 @@ declare class MemoriesService extends BaseService {
3306
3593
  */
3307
3594
  createMemory(body: CreateMemoryRequest, requestConfig?: RequestConfig): Promise<HttpResponse<CreateMemoryResponse>>;
3308
3595
  /**
3309
- * Search memories by content with different modes (unified, content, facts)
3310
- * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
3311
- * @returns {Promise<HttpResponse<SearchResponse>>} - Search results
3312
- */
3596
+ * Search memories using different search methods:- **keyword** (default): Traditional fulltext search using Lucene
3597
+ - **semantic**: Vector-based semantic search using OpenAI embeddings
3598
+ - **hybrid**: Combines semantic and keyword search with Reciprocal Rank Fusion
3599
+
3600
+ The `mode` parameter controls content filtering (unified, content, facts).
3601
+ The `searchMethod` parameter controls the search algorithm.
3602
+
3603
+ * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
3604
+ * @returns {Promise<HttpResponse<SearchResponse>>} - Search results
3605
+ */
3313
3606
  searchMemories(body: SearchRequest, requestConfig?: RequestConfig): Promise<HttpResponse<SearchResponse>>;
3314
3607
  }
3315
3608
 
@@ -3391,12 +3684,441 @@ declare enum Mode {
3391
3684
  FACTS = "facts"
3392
3685
  }
3393
3686
 
3687
+ declare enum SearchMethod {
3688
+ KEYWORD = "keyword",
3689
+ SEMANTIC = "semantic",
3690
+ HYBRID = "hybrid"
3691
+ }
3692
+
3394
3693
  declare enum TemporalMode {
3395
3694
  CURRENT = "current",
3396
3695
  HISTORICAL = "historical",
3397
3696
  EVOLUTION = "evolution"
3398
3697
  }
3399
3698
 
3699
+ /**
3700
+ * The shape of the model inside the application code - what the users use
3701
+ */
3702
+ declare const searchResult: z.ZodLazy<z.ZodObject<{
3703
+ memory: z.ZodLazy<z.ZodObject<{
3704
+ id: z.ZodString;
3705
+ content: z.ZodString;
3706
+ memoryType: z.ZodString;
3707
+ context: z.ZodOptional<z.ZodString>;
3708
+ topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3709
+ timestamp: z.ZodOptional<z.ZodString>;
3710
+ eventTime: z.ZodOptional<z.ZodString>;
3711
+ validFrom: z.ZodOptional<z.ZodString>;
3712
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3713
+ createdAt: z.ZodString;
3714
+ updatedAt: z.ZodString;
3715
+ }, "strip", z.ZodTypeAny, {
3716
+ id: string;
3717
+ createdAt: string;
3718
+ content: string;
3719
+ updatedAt: string;
3720
+ memoryType: string;
3721
+ context?: string | undefined;
3722
+ topics?: string[] | undefined;
3723
+ timestamp?: string | undefined;
3724
+ eventTime?: string | undefined;
3725
+ validFrom?: string | undefined;
3726
+ validTo?: string | null | undefined;
3727
+ }, {
3728
+ id: string;
3729
+ createdAt: string;
3730
+ content: string;
3731
+ updatedAt: string;
3732
+ memoryType: string;
3733
+ context?: string | undefined;
3734
+ topics?: string[] | undefined;
3735
+ timestamp?: string | undefined;
3736
+ eventTime?: string | undefined;
3737
+ validFrom?: string | undefined;
3738
+ validTo?: string | null | undefined;
3739
+ }>>;
3740
+ score: z.ZodNumber;
3741
+ entities: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
3742
+ name: z.ZodOptional<z.ZodString>;
3743
+ type: z.ZodOptional<z.ZodString>;
3744
+ }, "strip", z.ZodTypeAny, {
3745
+ name?: string | undefined;
3746
+ type?: string | undefined;
3747
+ }, {
3748
+ name?: string | undefined;
3749
+ type?: string | undefined;
3750
+ }>>, "many">>;
3751
+ topics: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
3752
+ name: z.ZodString;
3753
+ count: z.ZodNumber;
3754
+ }, "strip", z.ZodTypeAny, {
3755
+ name: string;
3756
+ count: number;
3757
+ }, {
3758
+ name: string;
3759
+ count: number;
3760
+ }>>, "many">>;
3761
+ searchMethod: z.ZodOptional<z.ZodString>;
3762
+ hybridScore: z.ZodOptional<z.ZodNumber>;
3763
+ vectorScore: z.ZodOptional<z.ZodNumber>;
3764
+ vectorRank: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3765
+ fulltextScore: z.ZodOptional<z.ZodNumber>;
3766
+ fulltextRank: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3767
+ explanation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
3768
+ matchReason: z.ZodString;
3769
+ matchedTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3770
+ semanticSimilarity: z.ZodOptional<z.ZodNumber>;
3771
+ contributingFactors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3772
+ }, "strip", z.ZodTypeAny, {
3773
+ matchReason: string;
3774
+ matchedTerms?: string[] | undefined;
3775
+ semanticSimilarity?: number | undefined;
3776
+ contributingFactors?: string[] | undefined;
3777
+ }, {
3778
+ matchReason: string;
3779
+ matchedTerms?: string[] | undefined;
3780
+ semanticSimilarity?: number | undefined;
3781
+ contributingFactors?: string[] | undefined;
3782
+ }>>>;
3783
+ }, "strip", z.ZodTypeAny, {
3784
+ memory: {
3785
+ id: string;
3786
+ createdAt: string;
3787
+ content: string;
3788
+ updatedAt: string;
3789
+ memoryType: string;
3790
+ context?: string | undefined;
3791
+ topics?: string[] | undefined;
3792
+ timestamp?: string | undefined;
3793
+ eventTime?: string | undefined;
3794
+ validFrom?: string | undefined;
3795
+ validTo?: string | null | undefined;
3796
+ };
3797
+ score: number;
3798
+ entities?: {
3799
+ name?: string | undefined;
3800
+ type?: string | undefined;
3801
+ }[] | undefined;
3802
+ topics?: {
3803
+ name: string;
3804
+ count: number;
3805
+ }[] | undefined;
3806
+ searchMethod?: string | undefined;
3807
+ hybridScore?: number | undefined;
3808
+ vectorScore?: number | undefined;
3809
+ vectorRank?: number | null | undefined;
3810
+ fulltextScore?: number | undefined;
3811
+ fulltextRank?: number | null | undefined;
3812
+ explanation?: {
3813
+ matchReason: string;
3814
+ matchedTerms?: string[] | undefined;
3815
+ semanticSimilarity?: number | undefined;
3816
+ contributingFactors?: string[] | undefined;
3817
+ } | undefined;
3818
+ }, {
3819
+ memory: {
3820
+ id: string;
3821
+ createdAt: string;
3822
+ content: string;
3823
+ updatedAt: string;
3824
+ memoryType: string;
3825
+ context?: string | undefined;
3826
+ topics?: string[] | undefined;
3827
+ timestamp?: string | undefined;
3828
+ eventTime?: string | undefined;
3829
+ validFrom?: string | undefined;
3830
+ validTo?: string | null | undefined;
3831
+ };
3832
+ score: number;
3833
+ entities?: {
3834
+ name?: string | undefined;
3835
+ type?: string | undefined;
3836
+ }[] | undefined;
3837
+ topics?: {
3838
+ name: string;
3839
+ count: number;
3840
+ }[] | undefined;
3841
+ searchMethod?: string | undefined;
3842
+ hybridScore?: number | undefined;
3843
+ vectorScore?: number | undefined;
3844
+ vectorRank?: number | null | undefined;
3845
+ fulltextScore?: number | undefined;
3846
+ fulltextRank?: number | null | undefined;
3847
+ explanation?: {
3848
+ matchReason: string;
3849
+ matchedTerms?: string[] | undefined;
3850
+ semanticSimilarity?: number | undefined;
3851
+ contributingFactors?: string[] | undefined;
3852
+ } | undefined;
3853
+ }>>;
3854
+ /**
3855
+ *
3856
+ * @typedef {SearchResult} searchResult
3857
+ * @property {SearchResultMemory} - The memory object
3858
+ * @property {number} - Relevance score for this result
3859
+ * @property {Entity[]} - Entities mentioned in this memory
3860
+ * @property {Topic[]} - Topics associated with this memory
3861
+ * @property {string} - Search method used to find this result
3862
+ * @property {number} - Combined RRF score for hybrid search
3863
+ * @property {number} - Vector similarity score (0-1)
3864
+ * @property {number} - Rank in vector search results
3865
+ * @property {number} - Fulltext search score
3866
+ * @property {number} - Rank in fulltext search results
3867
+ * @property {Explanation} - Detailed explanation of the match (only when explain=true)
3868
+ */
3869
+ type SearchResult = z.infer<typeof searchResult>;
3870
+
3871
+ /**
3872
+ * The shape of the model inside the application code - what the users use
3873
+ */
3874
+ declare const searchResultMemory: z.ZodLazy<z.ZodObject<{
3875
+ id: z.ZodString;
3876
+ content: z.ZodString;
3877
+ memoryType: z.ZodString;
3878
+ context: z.ZodOptional<z.ZodString>;
3879
+ topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3880
+ timestamp: z.ZodOptional<z.ZodString>;
3881
+ eventTime: z.ZodOptional<z.ZodString>;
3882
+ validFrom: z.ZodOptional<z.ZodString>;
3883
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3884
+ createdAt: z.ZodString;
3885
+ updatedAt: z.ZodString;
3886
+ }, "strip", z.ZodTypeAny, {
3887
+ id: string;
3888
+ createdAt: string;
3889
+ content: string;
3890
+ updatedAt: string;
3891
+ memoryType: string;
3892
+ context?: string | undefined;
3893
+ topics?: string[] | undefined;
3894
+ timestamp?: string | undefined;
3895
+ eventTime?: string | undefined;
3896
+ validFrom?: string | undefined;
3897
+ validTo?: string | null | undefined;
3898
+ }, {
3899
+ id: string;
3900
+ createdAt: string;
3901
+ content: string;
3902
+ updatedAt: string;
3903
+ memoryType: string;
3904
+ context?: string | undefined;
3905
+ topics?: string[] | undefined;
3906
+ timestamp?: string | undefined;
3907
+ eventTime?: string | undefined;
3908
+ validFrom?: string | undefined;
3909
+ validTo?: string | null | undefined;
3910
+ }>>;
3911
+ /**
3912
+ * The memory object
3913
+ * @typedef {SearchResultMemory} searchResultMemory - The memory object - The memory object
3914
+ * @property {string} - Unique memory identifier
3915
+ * @property {string} - Memory content
3916
+ * @property {MemoryMemoryType2} - Type of memory
3917
+ * @property {string} - Context or domain of the memory
3918
+ * @property {string[]} - Associated topics
3919
+ * @property {string} - System ingestion timestamp (when the system learned about this)
3920
+ * @property {string} - Event time (when the event actually occurred in reality)
3921
+ * @property {string} - Validity start time (when this fact becomes valid)
3922
+ * @property {string} - Validity end time (when this fact expires, null means never expires)
3923
+ * @property {string} - Creation timestamp
3924
+ * @property {string} - Last update timestamp
3925
+ */
3926
+ type SearchResultMemory = z.infer<typeof searchResultMemory>;
3927
+
3928
+ declare enum MemoryMemoryType2 {
3929
+ EPISODIC = "episodic",
3930
+ SEMANTIC = "semantic",
3931
+ PROCEDURAL = "procedural"
3932
+ }
3933
+
3934
+ /**
3935
+ * The shape of the model inside the application code - what the users use
3936
+ */
3937
+ declare const entity: z.ZodLazy<z.ZodObject<{
3938
+ name: z.ZodOptional<z.ZodString>;
3939
+ type: z.ZodOptional<z.ZodString>;
3940
+ }, "strip", z.ZodTypeAny, {
3941
+ name?: string | undefined;
3942
+ type?: string | undefined;
3943
+ }, {
3944
+ name?: string | undefined;
3945
+ type?: string | undefined;
3946
+ }>>;
3947
+ /**
3948
+ *
3949
+ * @typedef {Entity} entity
3950
+ * @property {string} - Entity name
3951
+ * @property {string} - Entity type
3952
+ */
3953
+ type Entity = z.infer<typeof entity>;
3954
+
3955
+ /**
3956
+ * The shape of the model inside the application code - what the users use
3957
+ */
3958
+ declare const explanation: z.ZodLazy<z.ZodObject<{
3959
+ matchReason: z.ZodString;
3960
+ matchedTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3961
+ semanticSimilarity: z.ZodOptional<z.ZodNumber>;
3962
+ contributingFactors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3963
+ }, "strip", z.ZodTypeAny, {
3964
+ matchReason: string;
3965
+ matchedTerms?: string[] | undefined;
3966
+ semanticSimilarity?: number | undefined;
3967
+ contributingFactors?: string[] | undefined;
3968
+ }, {
3969
+ matchReason: string;
3970
+ matchedTerms?: string[] | undefined;
3971
+ semanticSimilarity?: number | undefined;
3972
+ contributingFactors?: string[] | undefined;
3973
+ }>>;
3974
+ /**
3975
+ * Detailed explanation of the match (only when explain=true)
3976
+ * @typedef {Explanation} explanation - Detailed explanation of the match (only when explain=true) - Detailed explanation of the match (only when explain=true)
3977
+ * @property {string} - Human-readable explanation of why this result matched
3978
+ * @property {string[]} - Terms from the query that matched (for keyword search)
3979
+ * @property {number} - Cosine similarity score for semantic match (0-1)
3980
+ * @property {string[]} - Factors that contributed to the match
3981
+ */
3982
+ type Explanation = z.infer<typeof explanation>;
3983
+
3984
+ /**
3985
+ * The shape of the model inside the application code - what the users use
3986
+ */
3987
+ declare const searchResponsePagination: z.ZodLazy<z.ZodObject<{
3988
+ limit: z.ZodNumber;
3989
+ offset: z.ZodNumber;
3990
+ count: z.ZodNumber;
3991
+ }, "strip", z.ZodTypeAny, {
3992
+ count: number;
3993
+ limit: number;
3994
+ offset: number;
3995
+ }, {
3996
+ count: number;
3997
+ limit: number;
3998
+ offset: number;
3999
+ }>>;
4000
+ /**
4001
+ * Pagination information
4002
+ * @typedef {SearchResponsePagination} searchResponsePagination - Pagination information - Pagination information
4003
+ * @property {number} - Maximum number of items per page
4004
+ * @property {number} - Number of items to skip
4005
+ * @property {number} - Total number of items
4006
+ */
4007
+ type SearchResponsePagination = z.infer<typeof searchResponsePagination>;
4008
+
4009
+ /**
4010
+ * The shape of the model inside the application code - what the users use
4011
+ */
4012
+ declare const temporalMetadata: z.ZodLazy<z.ZodObject<{
4013
+ temporalMode: z.ZodString;
4014
+ asOfTime: z.ZodNullable<z.ZodString>;
4015
+ validAtTime: z.ZodNullable<z.ZodString>;
4016
+ eventTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
4017
+ from: z.ZodNullable<z.ZodString>;
4018
+ to: z.ZodNullable<z.ZodString>;
4019
+ }, "strip", z.ZodTypeAny, {
4020
+ from: string | null;
4021
+ to: string | null;
4022
+ }, {
4023
+ from: string | null;
4024
+ to: string | null;
4025
+ }>>>;
4026
+ ingestionTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
4027
+ from: z.ZodNullable<z.ZodString>;
4028
+ to: z.ZodNullable<z.ZodString>;
4029
+ }, "strip", z.ZodTypeAny, {
4030
+ from: string | null;
4031
+ to: string | null;
4032
+ }, {
4033
+ from: string | null;
4034
+ to: string | null;
4035
+ }>>>;
4036
+ includeExpired: z.ZodBoolean;
4037
+ temporalFieldsIncluded: z.ZodBoolean;
4038
+ }, "strip", z.ZodTypeAny, {
4039
+ asOfTime: string | null;
4040
+ validAtTime: string | null;
4041
+ includeExpired: boolean;
4042
+ temporalMode: string;
4043
+ eventTimeRange: {
4044
+ from: string | null;
4045
+ to: string | null;
4046
+ } | null;
4047
+ ingestionTimeRange: {
4048
+ from: string | null;
4049
+ to: string | null;
4050
+ } | null;
4051
+ temporalFieldsIncluded: boolean;
4052
+ }, {
4053
+ asOfTime: string | null;
4054
+ validAtTime: string | null;
4055
+ includeExpired: boolean;
4056
+ temporalMode: string;
4057
+ eventTimeRange: {
4058
+ from: string | null;
4059
+ to: string | null;
4060
+ } | null;
4061
+ ingestionTimeRange: {
4062
+ from: string | null;
4063
+ to: string | null;
4064
+ } | null;
4065
+ temporalFieldsIncluded: boolean;
4066
+ }>>;
4067
+ /**
4068
+ * Temporal query metadata (null for semantic/hybrid search)
4069
+ * @typedef {TemporalMetadata} temporalMetadata - Temporal query metadata (null for semantic/hybrid search) - Temporal query metadata (null for semantic/hybrid search)
4070
+ * @property {string} - Temporal query mode used
4071
+ * @property {string} - Point-in-time timestamp
4072
+ * @property {string} - Validity timestamp
4073
+ * @property {EventTimeRange} - Event time range filter
4074
+ * @property {IngestionTimeRange} - Ingestion time range filter
4075
+ * @property {boolean} - Whether expired facts are included
4076
+ * @property {boolean} - Whether temporal fields are included in results
4077
+ */
4078
+ type TemporalMetadata = z.infer<typeof temporalMetadata>;
4079
+
4080
+ /**
4081
+ * The shape of the model inside the application code - what the users use
4082
+ */
4083
+ declare const eventTimeRange: z.ZodLazy<z.ZodObject<{
4084
+ from: z.ZodNullable<z.ZodString>;
4085
+ to: z.ZodNullable<z.ZodString>;
4086
+ }, "strip", z.ZodTypeAny, {
4087
+ from: string | null;
4088
+ to: string | null;
4089
+ }, {
4090
+ from: string | null;
4091
+ to: string | null;
4092
+ }>>;
4093
+ /**
4094
+ * Event time range filter
4095
+ * @typedef {EventTimeRange} eventTimeRange - Event time range filter - Event time range filter
4096
+ * @property {string}
4097
+ * @property {string}
4098
+ */
4099
+ type EventTimeRange = z.infer<typeof eventTimeRange>;
4100
+
4101
+ /**
4102
+ * The shape of the model inside the application code - what the users use
4103
+ */
4104
+ declare const ingestionTimeRange: z.ZodLazy<z.ZodObject<{
4105
+ from: z.ZodNullable<z.ZodString>;
4106
+ to: z.ZodNullable<z.ZodString>;
4107
+ }, "strip", z.ZodTypeAny, {
4108
+ from: string | null;
4109
+ to: string | null;
4110
+ }, {
4111
+ from: string | null;
4112
+ to: string | null;
4113
+ }>>;
4114
+ /**
4115
+ * Ingestion time range filter
4116
+ * @typedef {IngestionTimeRange} ingestionTimeRange - Ingestion time range filter - Ingestion time range filter
4117
+ * @property {string}
4118
+ * @property {string}
4119
+ */
4120
+ type IngestionTimeRange = z.infer<typeof ingestionTimeRange>;
4121
+
3400
4122
  declare enum NoCache {
3401
4123
  _1 = "1",
3402
4124
  TRUE_ = "true"
@@ -4394,27 +5116,6 @@ declare class TopicsService extends BaseService {
4394
5116
  searchTopics(body: SearchTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<SearchTopicsOkResponse>>;
4395
5117
  }
4396
5118
 
4397
- /**
4398
- * The shape of the model inside the application code - what the users use
4399
- */
4400
- declare const topic: z.ZodLazy<z.ZodObject<{
4401
- name: z.ZodString;
4402
- count: z.ZodNumber;
4403
- }, "strip", z.ZodTypeAny, {
4404
- name: string;
4405
- count: number;
4406
- }, {
4407
- name: string;
4408
- count: number;
4409
- }>>;
4410
- /**
4411
- *
4412
- * @typedef {Topic} topic
4413
- * @property {string} - Topic name
4414
- * @property {number} - Number of memories associated with this topic
4415
- */
4416
- type Topic = z.infer<typeof topic>;
4417
-
4418
5119
  /**
4419
5120
  * The shape of the model inside the application code - what the users use
4420
5121
  */
@@ -4777,7 +5478,7 @@ declare const memory: z.ZodLazy<z.ZodObject<{
4777
5478
  * @typedef {Memory} memory
4778
5479
  * @property {string} - Unique memory identifier
4779
5480
  * @property {string} - Memory content
4780
- * @property {MemoryMemoryType} - Type of memory
5481
+ * @property {MemoryMemoryType1} - Type of memory
4781
5482
  * @property {string} - Context or domain of the memory
4782
5483
  * @property {string[]} - Associated topics
4783
5484
  * @property {string} - System ingestion timestamp (when the system learned about this)
@@ -4789,6 +5490,27 @@ declare const memory: z.ZodLazy<z.ZodObject<{
4789
5490
  */
4790
5491
  type Memory = z.infer<typeof memory>;
4791
5492
 
5493
+ /**
5494
+ * The shape of the model inside the application code - what the users use
5495
+ */
5496
+ declare const topic: z.ZodLazy<z.ZodObject<{
5497
+ name: z.ZodString;
5498
+ count: z.ZodNumber;
5499
+ }, "strip", z.ZodTypeAny, {
5500
+ name: string;
5501
+ count: number;
5502
+ }, {
5503
+ name: string;
5504
+ count: number;
5505
+ }>>;
5506
+ /**
5507
+ *
5508
+ * @typedef {Topic} topic
5509
+ * @property {string} - Topic name
5510
+ * @property {number} - Number of memories associated with this topic
5511
+ */
5512
+ type Topic = z.infer<typeof topic>;
5513
+
4792
5514
  declare class Error$1 extends ThrowableError {
4793
5515
  message: string;
4794
5516
  protected response?: unknown;
@@ -4818,4 +5540,4 @@ declare class Memnexus {
4818
5540
  set token(token: string);
4819
5541
  }
4820
5542
 
4821
- export { AnalyzeMemoryQualityOkResponse, AnalyzeMemoryQualityOkResponseData, AnalyzePatternsRequest, ApiKey, ApiKeysService, Artifact, ArtifactsService, BehaviorService, CalculateTopicSimilarityRequest, ClusterTopicsRequest, CommunitiesService, Community, CompilePatternsRequest, Conversation, ConversationsService, CreateApiKeyCreatedResponse, CreateApiKeyCreatedResponseData, CreateApiKeyRequest, CreateArtifactCreatedResponse, CreateArtifactRequest, CreateConversationCreatedResponse, CreateConversationRequest, CreateFactCreatedResponse, CreateFactRequest, CreateMemoryRequest, CreateMemoryRequestMemoryType, CreateMemoryResponse, CreateMemoryResponseMeta, DetectCommunitiesRequest, DetectPatternsRequest, DiscoverRelatedTopicsRequest, Environment, Error$1 as Error, EvaluateFeatureFlagRequest, ExecuteGraphRagQueryOkResponse, Fact, FactSearchRequest, FactsService, FindConversationsByTopicOkResponse, FindConversationsByTopicOkResponseMetadata, FindConversationsByTopicRequest, FindSimilarTopicsRequest, GetArtifactByIdOkResponse, GetCommunityByIdOkResponse, GetConversationSummaryOkResponse, GetConversationTimelineOkResponse, GetFactByIdOkResponse, GetTopicByIdOkResponse, GraphRagQueryRequest, GraphRagQueryResponse, GraphRagQueryResponseMetadata, GraphRagService, GroupBy, HealthCheck, HealthCheckStatus, HealthService, HttpError, HttpMetadata, HttpMethod, HttpResponse, ListApiKeysOkResponse, ListArtifactsOkResponse, ListCommunitiesOkResponse, ListCommunitiesOkResponsePagination, ListConversationsOkResponse, ListConversationsOkResponsePagination, ListFactsOkResponse, ListMemoriesOkResponse, ListPatternsOkResponse, ListPatternsOkResponsePagination, ListTopicsOkResponse, ListTopicsOkResponsePagination, Memnexus, MemoriesService, Memory, MemoryMemoryType, MergeCommunitiesOkResponse, MergeCommunitiesRequest, MergeTopicsRequest, Mode, NoCache, Pagination, Pattern, PatternsService, PruneMemoriesOkResponse, PruneMemoriesOkResponseData, PruneMemoriesRequest, QualityDistribution, QueryCommunitiesRequest, RecordPatternFeedbackRequest, RequestConfig, Results, RetryOptions, Role, SdkConfig, SearchConversationsOkResponse, SearchConversationsRequest, SearchFactsOkResponse, SearchFactsOkResponseMetadata, SearchRequest, SearchResponse, SearchTopicsOkResponse, SearchTopicsRequest, ServiceCheck, ServiceCheckStatus, SystemService, TemporalMode, Topic, TopicsService, UpdateArtifactOkResponse, UpdateArtifactRequest, UpdateBehavioralStateRequest, UpdateFactOkResponse, UpdateFactRequest, UpdateMemoryOkResponse, UpdateMemoryRequest, UpdateMemoryRequestMemoryType, UpdatePatternRequest, ValidationOptions };
5543
+ export { AnalyzeMemoryQualityOkResponse, AnalyzeMemoryQualityOkResponseData, AnalyzePatternsRequest, ApiKey, ApiKeysService, Artifact, ArtifactsService, BehaviorService, CalculateTopicSimilarityRequest, ClusterTopicsRequest, CommunitiesService, Community, CompilePatternsRequest, Conversation, ConversationsService, CreateApiKeyCreatedResponse, CreateApiKeyCreatedResponseData, CreateApiKeyRequest, CreateArtifactCreatedResponse, CreateArtifactRequest, CreateConversationCreatedResponse, CreateConversationRequest, CreateFactCreatedResponse, CreateFactRequest, CreateMemoryRequest, CreateMemoryRequestMemoryType, CreateMemoryResponse, CreateMemoryResponseMeta, DetectCommunitiesRequest, DetectPatternsRequest, DiscoverRelatedTopicsRequest, Entity, Environment, Error$1 as Error, EvaluateFeatureFlagRequest, EventTimeRange, ExecuteGraphRagQueryOkResponse, Explanation, Fact, FactSearchRequest, FactsService, FindConversationsByTopicOkResponse, FindConversationsByTopicOkResponseMetadata, FindConversationsByTopicRequest, FindSimilarTopicsRequest, GetArtifactByIdOkResponse, GetCommunityByIdOkResponse, GetConversationSummaryOkResponse, GetConversationTimelineOkResponse, GetFactByIdOkResponse, GetTopicByIdOkResponse, GraphRagQueryRequest, GraphRagQueryResponse, GraphRagQueryResponseMetadata, GraphRagService, GroupBy, HealthCheck, HealthCheckStatus, HealthService, HttpError, HttpMetadata, HttpMethod, HttpResponse, IngestionTimeRange, ListApiKeysOkResponse, ListArtifactsOkResponse, ListCommunitiesOkResponse, ListCommunitiesOkResponsePagination, ListConversationsOkResponse, ListConversationsOkResponsePagination, ListFactsOkResponse, ListMemoriesOkResponse, ListPatternsOkResponse, ListPatternsOkResponsePagination, ListTopicsOkResponse, ListTopicsOkResponsePagination, Memnexus, MemoriesService, Memory, MemoryMemoryType1, MemoryMemoryType2, MergeCommunitiesOkResponse, MergeCommunitiesRequest, MergeTopicsRequest, Mode, NoCache, Pagination, Pattern, PatternsService, PruneMemoriesOkResponse, PruneMemoriesOkResponseData, PruneMemoriesRequest, QualityDistribution, QueryCommunitiesRequest, RecordPatternFeedbackRequest, RequestConfig, Results, RetryOptions, Role, SdkConfig, SearchConversationsOkResponse, SearchConversationsRequest, SearchFactsOkResponse, SearchFactsOkResponseMetadata, SearchMethod, SearchRequest, SearchResponse, SearchResponsePagination, SearchResult, SearchResultMemory, SearchTopicsOkResponse, SearchTopicsRequest, ServiceCheck, ServiceCheckStatus, SystemService, TemporalMetadata, TemporalMode, Topic, TopicsService, UpdateArtifactOkResponse, UpdateArtifactRequest, UpdateBehavioralStateRequest, UpdateFactOkResponse, UpdateFactRequest, UpdateMemoryOkResponse, UpdateMemoryRequest, UpdateMemoryRequestMemoryType, UpdatePatternRequest, ValidationOptions };