@aws-sdk/client-bedrock-agent 3.705.0 → 3.709.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-cjs/index.js +154 -27
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +2 -1
- package/dist-es/models/models_0.js +5 -9
- package/dist-es/models/models_1.js +94 -1
- package/dist-types/commands/CreateDataSourceCommand.d.ts +12 -4
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +150 -2
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -2
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +75 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +12 -4
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +150 -2
- package/dist-types/models/models_0.d.ts +42 -59
- package/dist-types/models/models_1.d.ts +488 -4
- package/dist-types/ts3.4/models/models_0.d.ts +14 -14
- package/dist-types/ts3.4/models/models_1.d.ts +181 -4
- package/package.json +35 -35
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ContentDataSourceType, CustomDocumentIdentifier, FlowDefinition, FlowValidation,
|
|
2
|
+
import { AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentStatus, AgentVersion, AgentVersionSummary, ByteContentDoc, ContentDataSourceType, CustomDocumentIdentifier, FlowDefinition, FlowValidation, KnowledgeBaseDocumentDetail, KnowledgeBaseState, PromptInferenceConfiguration, PromptTemplateConfiguration, PromptTemplateType, S3Location, TextContentDoc } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const InlineContentType: {
|
|
8
|
+
readonly BYTE: "BYTE";
|
|
9
|
+
readonly TEXT: "TEXT";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type InlineContentType = (typeof InlineContentType)[keyof typeof InlineContentType];
|
|
15
|
+
/**
|
|
16
|
+
* <p>Contains information about content defined inline to ingest into a data source. Choose a <code>type</code> and include the field that corresponds to it.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface InlineContent {
|
|
20
|
+
/**
|
|
21
|
+
* <p>The type of inline content to define.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
type: InlineContentType | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>Contains information about content defined inline in bytes.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
byteContent?: ByteContentDoc | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>Contains information about content defined inline in text.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
textContent?: TextContentDoc | undefined;
|
|
35
|
+
}
|
|
3
36
|
/**
|
|
4
37
|
* <p>Contains information about the Amazon S3 location of the file containing the content to ingest into a knowledge base connected to a custom data source.</p>
|
|
5
38
|
* @public
|
|
@@ -312,11 +345,361 @@ export interface AssociateAgentKnowledgeBaseResponse {
|
|
|
312
345
|
*/
|
|
313
346
|
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
314
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* <p>Settings for an Amazon Kendra knowledge base.</p>
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
export interface KendraKnowledgeBaseConfiguration {
|
|
353
|
+
/**
|
|
354
|
+
* <p>The ARN of the Amazon Kendra index.</p>
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
kendraIndexArn: string | undefined;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* @enum
|
|
362
|
+
*/
|
|
363
|
+
export declare const RedshiftProvisionedAuthType: {
|
|
364
|
+
readonly IAM: "IAM";
|
|
365
|
+
readonly USERNAME: "USERNAME";
|
|
366
|
+
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
export type RedshiftProvisionedAuthType = (typeof RedshiftProvisionedAuthType)[keyof typeof RedshiftProvisionedAuthType];
|
|
372
|
+
/**
|
|
373
|
+
* <p>Contains configurations for authentication to an Amazon Redshift provisioned data warehouse. Specify the type of authentication to use in the <code>type</code> field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface RedshiftProvisionedAuthConfiguration {
|
|
377
|
+
/**
|
|
378
|
+
* <p>The type of authentication to use.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
type: RedshiftProvisionedAuthType | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The database username for authentication to an Amazon Redshift provisioned data warehouse.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
databaseUser?: string | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The ARN of an Secrets Manager secret for authentication.</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
usernamePasswordSecretArn?: string | undefined;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* <p>Contains configurations for a provisioned Amazon Redshift query engine.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
export interface RedshiftProvisionedConfiguration {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The ID of the Amazon Redshift cluster.</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
clusterIdentifier: string | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* <p>Specifies configurations for authentication to Amazon Redshift.</p>
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
authConfiguration: RedshiftProvisionedAuthConfiguration | undefined;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* @enum
|
|
412
|
+
*/
|
|
413
|
+
export declare const RedshiftServerlessAuthType: {
|
|
414
|
+
readonly IAM: "IAM";
|
|
415
|
+
readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export type RedshiftServerlessAuthType = (typeof RedshiftServerlessAuthType)[keyof typeof RedshiftServerlessAuthType];
|
|
421
|
+
/**
|
|
422
|
+
* <p>Specifies configurations for authentication to a Redshift Serverless. Specify the type of authentication to use in the <code>type</code> field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.</p>
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
export interface RedshiftServerlessAuthConfiguration {
|
|
426
|
+
/**
|
|
427
|
+
* <p>The type of authentication to use.</p>
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
type: RedshiftServerlessAuthType | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* <p>The ARN of an Secrets Manager secret for authentication.</p>
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
usernamePasswordSecretArn?: string | undefined;
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* <p>Contains configurations for authentication to Amazon Redshift Serverless.</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
export interface RedshiftServerlessConfiguration {
|
|
442
|
+
/**
|
|
443
|
+
* <p>The ARN of the Amazon Redshift workgroup.</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
workgroupArn: string | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* <p>Specifies configurations for authentication to an Amazon Redshift provisioned data warehouse.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
authConfiguration: RedshiftServerlessAuthConfiguration | undefined;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* @enum
|
|
456
|
+
*/
|
|
457
|
+
export declare const RedshiftQueryEngineType: {
|
|
458
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
459
|
+
readonly SERVERLESS: "SERVERLESS";
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export type RedshiftQueryEngineType = (typeof RedshiftQueryEngineType)[keyof typeof RedshiftQueryEngineType];
|
|
465
|
+
/**
|
|
466
|
+
* <p>Contains configurations for an Amazon Redshift query engine. Specify the type of query engine in <code>type</code> and include the corresponding field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
export interface RedshiftQueryEngineConfiguration {
|
|
470
|
+
/**
|
|
471
|
+
* <p>The type of query engine.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
type: RedshiftQueryEngineType | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>Specifies configurations for a serverless Amazon Redshift query engine.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
serverlessConfiguration?: RedshiftServerlessConfiguration | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* <p>Specifies configurations for a provisioned Amazon Redshift query engine.</p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
provisionedConfiguration?: RedshiftProvisionedConfiguration | undefined;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* <p>Contains configurations for a query, each of which defines information about example queries to help the query engine generate appropriate SQL queries.</p>
|
|
488
|
+
* @public
|
|
489
|
+
*/
|
|
490
|
+
export interface CuratedQuery {
|
|
491
|
+
/**
|
|
492
|
+
* <p>An example natural language query.</p>
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
naturalLanguage: string | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* <p>The SQL equivalent of the natural language query.</p>
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
sql: string | undefined;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* @enum
|
|
505
|
+
*/
|
|
506
|
+
export declare const IncludeExclude: {
|
|
507
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
508
|
+
readonly INCLUDE: "INCLUDE";
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
export type IncludeExclude = (typeof IncludeExclude)[keyof typeof IncludeExclude];
|
|
514
|
+
/**
|
|
515
|
+
* <p>Contains information about a column in the current table for the query engine to consider.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
export interface QueryGenerationColumn {
|
|
519
|
+
/**
|
|
520
|
+
* <p>The name of the column for which the other fields in this object apply.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
name?: string | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* <p>A description of the column that helps the query engine understand the contents of the column.</p>
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
description?: string | undefined;
|
|
529
|
+
/**
|
|
530
|
+
* <p>Specifies whether to include or exclude the column during query generation. If you specify <code>EXCLUDE</code>, the column will be ignored. If you specify <code>INCLUDE</code>, all other columns in the table will be ignored.</p>
|
|
531
|
+
* @public
|
|
532
|
+
*/
|
|
533
|
+
inclusion?: IncludeExclude | undefined;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* <p>Contains information about a table for the query engine to consider.</p>
|
|
537
|
+
* @public
|
|
538
|
+
*/
|
|
539
|
+
export interface QueryGenerationTable {
|
|
540
|
+
/**
|
|
541
|
+
* <p>The name of the table for which the other fields in this object apply.</p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
name: string | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* <p>A description of the table that helps the query engine understand the contents of the table.</p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
description?: string | undefined;
|
|
550
|
+
/**
|
|
551
|
+
* <p>Specifies whether to include or exclude the table during query generation. If you specify <code>EXCLUDE</code>, the table will be ignored. If you specify <code>INCLUDE</code>, all other tables will be ignored.</p>
|
|
552
|
+
* @public
|
|
553
|
+
*/
|
|
554
|
+
inclusion?: IncludeExclude | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* <p>An array of objects, each of which defines information about a column in the table.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
columns?: QueryGenerationColumn[] | undefined;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* <p>>Contains configurations for context to use during query generation.</p>
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
export interface QueryGenerationContext {
|
|
566
|
+
/**
|
|
567
|
+
* <p>An array of objects, each of which defines information about a table in the database.</p>
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
tables?: QueryGenerationTable[] | undefined;
|
|
571
|
+
/**
|
|
572
|
+
* <p>An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.</p>
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
575
|
+
curatedQueries?: CuratedQuery[] | undefined;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* <p>Contains configurations for query generation. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide..</p>
|
|
579
|
+
* @public
|
|
580
|
+
*/
|
|
581
|
+
export interface QueryGenerationConfiguration {
|
|
582
|
+
/**
|
|
583
|
+
* <p>The time after which query generation will time out.</p>
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
executionTimeoutSeconds?: number | undefined;
|
|
587
|
+
/**
|
|
588
|
+
* <p>Specifies configurations for context to use during query generation.</p>
|
|
589
|
+
* @public
|
|
590
|
+
*/
|
|
591
|
+
generationContext?: QueryGenerationContext | undefined;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* <p>Contains configurations for storage in Glue Data Catalog.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
export interface RedshiftQueryEngineAwsDataCatalogStorageConfiguration {
|
|
598
|
+
/**
|
|
599
|
+
* <p>A list of names of the tables to use.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
tableNames: string[] | undefined;
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* <p>Contains configurations for storage in Amazon Redshift.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
export interface RedshiftQueryEngineRedshiftStorageConfiguration {
|
|
609
|
+
/**
|
|
610
|
+
* <p>The name of the Amazon Redshift database.</p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
databaseName: string | undefined;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
* @enum
|
|
618
|
+
*/
|
|
619
|
+
export declare const RedshiftQueryEngineStorageType: {
|
|
620
|
+
readonly AWS_DATA_CATALOG: "AWS_DATA_CATALOG";
|
|
621
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
622
|
+
};
|
|
623
|
+
/**
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
export type RedshiftQueryEngineStorageType = (typeof RedshiftQueryEngineStorageType)[keyof typeof RedshiftQueryEngineStorageType];
|
|
627
|
+
/**
|
|
628
|
+
* <p>Contains configurations for Amazon Redshift data storage. Specify the data storage service to use in the <code>type</code> field and include the corresponding field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
export interface RedshiftQueryEngineStorageConfiguration {
|
|
632
|
+
/**
|
|
633
|
+
* <p>The data storage service to use.</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
type: RedshiftQueryEngineStorageType | undefined;
|
|
637
|
+
/**
|
|
638
|
+
* <p>Specifies configurations for storage in Glue Data Catalog.</p>
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
awsDataCatalogConfiguration?: RedshiftQueryEngineAwsDataCatalogStorageConfiguration | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* <p>Specifies configurations for storage in Amazon Redshift.</p>
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
redshiftConfiguration?: RedshiftQueryEngineRedshiftStorageConfiguration | undefined;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* <p>Contains configurations for an Amazon Redshift database. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
export interface RedshiftConfiguration {
|
|
653
|
+
/**
|
|
654
|
+
* <p>Specifies configurations for Amazon Redshift database storage.</p>
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
storageConfigurations: RedshiftQueryEngineStorageConfiguration[] | undefined;
|
|
658
|
+
/**
|
|
659
|
+
* <p>Specifies configurations for an Amazon Redshift query engine.</p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
queryEngineConfiguration: RedshiftQueryEngineConfiguration | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* <p>Specifies configurations for generating queries.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
queryGenerationConfiguration?: QueryGenerationConfiguration | undefined;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
* @enum
|
|
672
|
+
*/
|
|
673
|
+
export declare const QueryEngineType: {
|
|
674
|
+
readonly REDSHIFT: "REDSHIFT";
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
679
|
+
export type QueryEngineType = (typeof QueryEngineType)[keyof typeof QueryEngineType];
|
|
680
|
+
/**
|
|
681
|
+
* <p>Contains configurations for a knowledge base connected to an SQL database. Specify the SQL database type in the <code>type</code> field and include the corresponding field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
export interface SqlKnowledgeBaseConfiguration {
|
|
685
|
+
/**
|
|
686
|
+
* <p>The type of SQL database to connect to the knowledge base.</p>
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
type: QueryEngineType | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* <p>Specifies configurations for a knowledge base connected to an Amazon Redshift database.</p>
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
redshiftConfiguration?: RedshiftConfiguration | undefined;
|
|
695
|
+
}
|
|
315
696
|
/**
|
|
316
697
|
* @public
|
|
317
698
|
* @enum
|
|
318
699
|
*/
|
|
319
700
|
export declare const KnowledgeBaseType: {
|
|
701
|
+
readonly KENDRA: "KENDRA";
|
|
702
|
+
readonly SQL: "SQL";
|
|
320
703
|
readonly VECTOR: "VECTOR";
|
|
321
704
|
};
|
|
322
705
|
/**
|
|
@@ -366,6 +749,44 @@ export interface EmbeddingModelConfiguration {
|
|
|
366
749
|
*/
|
|
367
750
|
bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration | undefined;
|
|
368
751
|
}
|
|
752
|
+
/**
|
|
753
|
+
* @public
|
|
754
|
+
* @enum
|
|
755
|
+
*/
|
|
756
|
+
export declare const SupplementalDataStorageLocationType: {
|
|
757
|
+
readonly S3: "S3";
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
export type SupplementalDataStorageLocationType = (typeof SupplementalDataStorageLocationType)[keyof typeof SupplementalDataStorageLocationType];
|
|
763
|
+
/**
|
|
764
|
+
* <p>Contains information about a storage location for images extracted from multimodal documents in your data source.</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
export interface SupplementalDataStorageLocation {
|
|
768
|
+
/**
|
|
769
|
+
* <p>Specifies the storage service used for this location.</p>
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
type: SupplementalDataStorageLocationType | undefined;
|
|
773
|
+
/**
|
|
774
|
+
* <p>Contains information about the Amazon S3 location for the extracted images.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
s3Location?: S3Location | undefined;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* <p>Specifies configurations for the storage location of the images extracted from multimodal documents in your data source. These images can be retrieved and returned to the end user.</p>
|
|
781
|
+
* @public
|
|
782
|
+
*/
|
|
783
|
+
export interface SupplementalDataStorageConfiguration {
|
|
784
|
+
/**
|
|
785
|
+
* <p>A list of objects specifying storage locations for images extracted from multimodal documents in your data source.</p>
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
788
|
+
storageLocations: SupplementalDataStorageLocation[] | undefined;
|
|
789
|
+
}
|
|
369
790
|
/**
|
|
370
791
|
* <p>Contains details about the model used to create vector embeddings for the knowledge base.</p>
|
|
371
792
|
* @public
|
|
@@ -381,6 +802,11 @@ export interface VectorKnowledgeBaseConfiguration {
|
|
|
381
802
|
* @public
|
|
382
803
|
*/
|
|
383
804
|
embeddingModelConfiguration?: EmbeddingModelConfiguration | undefined;
|
|
805
|
+
/**
|
|
806
|
+
* <p>If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents. These images can be retrieved and returned to the end user. They can also be used in generation when using <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html">RetrieveAndGenerate</a>.</p>
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
supplementalDataStorageConfiguration?: SupplementalDataStorageConfiguration | undefined;
|
|
384
810
|
}
|
|
385
811
|
/**
|
|
386
812
|
* <p>Contains details about the vector embeddings configuration of the knowledge base.</p>
|
|
@@ -397,6 +823,16 @@ export interface KnowledgeBaseConfiguration {
|
|
|
397
823
|
* @public
|
|
398
824
|
*/
|
|
399
825
|
vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* <p>Settings for an Amazon Kendra knowledge base.</p>
|
|
828
|
+
* @public
|
|
829
|
+
*/
|
|
830
|
+
kendraKnowledgeBaseConfiguration?: KendraKnowledgeBaseConfiguration | undefined;
|
|
831
|
+
/**
|
|
832
|
+
* <p>Specifies configurations for a knowledge base connected to an SQL database.</p>
|
|
833
|
+
* @public
|
|
834
|
+
*/
|
|
835
|
+
sqlKnowledgeBaseConfiguration?: SqlKnowledgeBaseConfiguration | undefined;
|
|
400
836
|
}
|
|
401
837
|
/**
|
|
402
838
|
* <p>Contains the names of the fields to which to map information about the vector store.</p>
|
|
@@ -733,7 +1169,7 @@ export interface CreateKnowledgeBaseRequest {
|
|
|
733
1169
|
* <p>Contains details about the configuration of the vector database used for the knowledge base.</p>
|
|
734
1170
|
* @public
|
|
735
1171
|
*/
|
|
736
|
-
storageConfiguration
|
|
1172
|
+
storageConfiguration?: StorageConfiguration | undefined;
|
|
737
1173
|
/**
|
|
738
1174
|
* <p>Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.</p>
|
|
739
1175
|
* @public
|
|
@@ -795,7 +1231,7 @@ export interface KnowledgeBase {
|
|
|
795
1231
|
* <p>Contains details about the storage configuration of the knowledge base.</p>
|
|
796
1232
|
* @public
|
|
797
1233
|
*/
|
|
798
|
-
storageConfiguration
|
|
1234
|
+
storageConfiguration?: StorageConfiguration | undefined;
|
|
799
1235
|
/**
|
|
800
1236
|
* <p>The status of the knowledge base. The following statuses are possible:</p>
|
|
801
1237
|
* <ul>
|
|
@@ -1118,7 +1554,7 @@ export interface UpdateKnowledgeBaseRequest {
|
|
|
1118
1554
|
* <p>Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created.</p>
|
|
1119
1555
|
* @public
|
|
1120
1556
|
*/
|
|
1121
|
-
storageConfiguration
|
|
1557
|
+
storageConfiguration?: StorageConfiguration | undefined;
|
|
1122
1558
|
}
|
|
1123
1559
|
/**
|
|
1124
1560
|
* @public
|
|
@@ -1864,6 +2300,10 @@ export interface ListAgentVersionsResponse {
|
|
|
1864
2300
|
*/
|
|
1865
2301
|
nextToken?: string | undefined;
|
|
1866
2302
|
}
|
|
2303
|
+
/**
|
|
2304
|
+
* @internal
|
|
2305
|
+
*/
|
|
2306
|
+
export declare const InlineContentFilterSensitiveLog: (obj: InlineContent) => any;
|
|
1867
2307
|
/**
|
|
1868
2308
|
* @internal
|
|
1869
2309
|
*/
|
|
@@ -1892,6 +2332,50 @@ export declare const KnowledgeBaseDocumentFilterSensitiveLog: (obj: KnowledgeBas
|
|
|
1892
2332
|
* @internal
|
|
1893
2333
|
*/
|
|
1894
2334
|
export declare const IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog: (obj: IngestKnowledgeBaseDocumentsRequest) => any;
|
|
2335
|
+
/**
|
|
2336
|
+
* @internal
|
|
2337
|
+
*/
|
|
2338
|
+
export declare const QueryGenerationContextFilterSensitiveLog: (obj: QueryGenerationContext) => any;
|
|
2339
|
+
/**
|
|
2340
|
+
* @internal
|
|
2341
|
+
*/
|
|
2342
|
+
export declare const QueryGenerationConfigurationFilterSensitiveLog: (obj: QueryGenerationConfiguration) => any;
|
|
2343
|
+
/**
|
|
2344
|
+
* @internal
|
|
2345
|
+
*/
|
|
2346
|
+
export declare const RedshiftConfigurationFilterSensitiveLog: (obj: RedshiftConfiguration) => any;
|
|
2347
|
+
/**
|
|
2348
|
+
* @internal
|
|
2349
|
+
*/
|
|
2350
|
+
export declare const SqlKnowledgeBaseConfigurationFilterSensitiveLog: (obj: SqlKnowledgeBaseConfiguration) => any;
|
|
2351
|
+
/**
|
|
2352
|
+
* @internal
|
|
2353
|
+
*/
|
|
2354
|
+
export declare const KnowledgeBaseConfigurationFilterSensitiveLog: (obj: KnowledgeBaseConfiguration) => any;
|
|
2355
|
+
/**
|
|
2356
|
+
* @internal
|
|
2357
|
+
*/
|
|
2358
|
+
export declare const CreateKnowledgeBaseRequestFilterSensitiveLog: (obj: CreateKnowledgeBaseRequest) => any;
|
|
2359
|
+
/**
|
|
2360
|
+
* @internal
|
|
2361
|
+
*/
|
|
2362
|
+
export declare const KnowledgeBaseFilterSensitiveLog: (obj: KnowledgeBase) => any;
|
|
2363
|
+
/**
|
|
2364
|
+
* @internal
|
|
2365
|
+
*/
|
|
2366
|
+
export declare const CreateKnowledgeBaseResponseFilterSensitiveLog: (obj: CreateKnowledgeBaseResponse) => any;
|
|
2367
|
+
/**
|
|
2368
|
+
* @internal
|
|
2369
|
+
*/
|
|
2370
|
+
export declare const GetKnowledgeBaseResponseFilterSensitiveLog: (obj: GetKnowledgeBaseResponse) => any;
|
|
2371
|
+
/**
|
|
2372
|
+
* @internal
|
|
2373
|
+
*/
|
|
2374
|
+
export declare const UpdateKnowledgeBaseRequestFilterSensitiveLog: (obj: UpdateKnowledgeBaseRequest) => any;
|
|
2375
|
+
/**
|
|
2376
|
+
* @internal
|
|
2377
|
+
*/
|
|
2378
|
+
export declare const UpdateKnowledgeBaseResponseFilterSensitiveLog: (obj: UpdateKnowledgeBaseResponse) => any;
|
|
1895
2379
|
/**
|
|
1896
2380
|
* @internal
|
|
1897
2381
|
*/
|
|
@@ -764,6 +764,7 @@ export interface SharePointDataSourceConfiguration {
|
|
|
764
764
|
export declare const DataSourceType: {
|
|
765
765
|
readonly CONFLUENCE: "CONFLUENCE";
|
|
766
766
|
readonly CUSTOM: "CUSTOM";
|
|
767
|
+
readonly REDSHIFT_METADATA: "REDSHIFT_METADATA";
|
|
767
768
|
readonly S3: "S3";
|
|
768
769
|
readonly SALESFORCE: "SALESFORCE";
|
|
769
770
|
readonly SHAREPOINT: "SHAREPOINT";
|
|
@@ -867,14 +868,24 @@ export interface CustomTransformationConfiguration {
|
|
|
867
868
|
intermediateStorage: IntermediateStorage | undefined;
|
|
868
869
|
transformations: Transformation[] | undefined;
|
|
869
870
|
}
|
|
871
|
+
export declare const ParsingModality: {
|
|
872
|
+
readonly MULTIMODAL: "MULTIMODAL";
|
|
873
|
+
};
|
|
874
|
+
export type ParsingModality =
|
|
875
|
+
(typeof ParsingModality)[keyof typeof ParsingModality];
|
|
876
|
+
export interface BedrockDataAutomationConfiguration {
|
|
877
|
+
parsingModality?: ParsingModality | undefined;
|
|
878
|
+
}
|
|
870
879
|
export interface ParsingPrompt {
|
|
871
880
|
parsingPromptText: string | undefined;
|
|
872
881
|
}
|
|
873
882
|
export interface BedrockFoundationModelConfiguration {
|
|
874
883
|
modelArn: string | undefined;
|
|
875
884
|
parsingPrompt?: ParsingPrompt | undefined;
|
|
885
|
+
parsingModality?: ParsingModality | undefined;
|
|
876
886
|
}
|
|
877
887
|
export declare const ParsingStrategy: {
|
|
888
|
+
readonly BEDROCK_DATA_AUTOMATION: "BEDROCK_DATA_AUTOMATION";
|
|
878
889
|
readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
|
|
879
890
|
};
|
|
880
891
|
export type ParsingStrategy =
|
|
@@ -884,6 +895,9 @@ export interface ParsingConfiguration {
|
|
|
884
895
|
bedrockFoundationModelConfiguration?:
|
|
885
896
|
| BedrockFoundationModelConfiguration
|
|
886
897
|
| undefined;
|
|
898
|
+
bedrockDataAutomationConfiguration?:
|
|
899
|
+
| BedrockDataAutomationConfiguration
|
|
900
|
+
| undefined;
|
|
887
901
|
}
|
|
888
902
|
export interface VectorIngestionConfiguration {
|
|
889
903
|
chunkingConfiguration?: ChunkingConfiguration | undefined;
|
|
@@ -2981,17 +2995,6 @@ export interface ByteContentDoc {
|
|
|
2981
2995
|
export interface TextContentDoc {
|
|
2982
2996
|
data: string | undefined;
|
|
2983
2997
|
}
|
|
2984
|
-
export declare const InlineContentType: {
|
|
2985
|
-
readonly BYTE: "BYTE";
|
|
2986
|
-
readonly TEXT: "TEXT";
|
|
2987
|
-
};
|
|
2988
|
-
export type InlineContentType =
|
|
2989
|
-
(typeof InlineContentType)[keyof typeof InlineContentType];
|
|
2990
|
-
export interface InlineContent {
|
|
2991
|
-
type: InlineContentType | undefined;
|
|
2992
|
-
byteContent?: ByteContentDoc | undefined;
|
|
2993
|
-
textContent?: TextContentDoc | undefined;
|
|
2994
|
-
}
|
|
2995
2998
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2996
2999
|
export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
|
|
2997
3000
|
obj: CreateAgentActionGroupRequest
|
|
@@ -3192,6 +3195,3 @@ export declare const ByteContentDocFilterSensitiveLog: (
|
|
|
3192
3195
|
export declare const TextContentDocFilterSensitiveLog: (
|
|
3193
3196
|
obj: TextContentDoc
|
|
3194
3197
|
) => any;
|
|
3195
|
-
export declare const InlineContentFilterSensitiveLog: (
|
|
3196
|
-
obj: InlineContent
|
|
3197
|
-
) => any;
|