KnowledgeBase
¶
Source code in docs_src/capo_bedrock_agent/types/knowledge_base.py
description
instance-attribute
¶
description: NotRequired[Description]
The description of the knowledge base.
failure_reasons
instance-attribute
¶
failure_reasons: NotRequired[FailureReasons]
A list of reasons that the API operation on the knowledge base failed.
knowledge_base_arn
instance-attribute
¶
knowledge_base_arn: KnowledgeBaseArn
The Amazon Resource Name (ARN) of the knowledge base.
knowledge_base_configuration
instance-attribute
¶
knowledge_base_configuration: KnowledgeBaseConfiguration
Contains details about the embeddings configuration of the knowledge base.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: Id
The unique identifier of the knowledge base.
metadata_configurations
instance-attribute
¶
metadata_configurations: NotRequired[MetadataConfigurations]
The custom metadata field configurations of the knowledge base. Each configuration specifies whether its field is searchable (ENABLED or DISABLED).
If the update fails, the knowledge base status becomes UPDATE_UNSUCCESSFUL, the field configurations revert to their previous values, and failureReasons describes the cause. You can retry the update from UPDATE_UNSUCCESSFUL.
role_arn
instance-attribute
¶
role_arn: KnowledgeBaseRoleArn
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
status
instance-attribute
¶
status: KnowledgeBaseStatus
The status of the knowledge base. The following statuses are possible:
-
CREATING – The knowledge base is being created.
-
ACTIVE – The knowledge base is ready to be queried.
-
DELETING – The knowledge base is being deleted.
-
UPDATING – The knowledge base is being updated.
-
FAILED – The knowledge base API operation failed.
storage_configuration
instance-attribute
¶
storage_configuration: NotRequired[StorageConfiguration]
Contains details about the storage configuration of the knowledge base.
trusted_identity_sources
instance-attribute
¶
trusted_identity_sources: NotRequired[TrustedIdentitySources]
The identity sources that your knowledge base trusts for identity-enhanced sessions, in addition to identity sources in your account.
updated_at
instance-attribute
¶
updated_at: DateTimestamp
The time the knowledge base was last updated.
user_context_mode_for_retrieval
instance-attribute
¶
user_context_mode_for_retrieval: NotRequired[UserContextModeForRetrieval]
The end-user identity that your knowledge base uses to filter retrieval results by document access controls.