KnowledgeBaseListResponseKnowledgebasesInner

pydantic model openapi_client.models.knowledge_base_list_response_knowledgebases_inner.KnowledgeBaseListResponseKnowledgebasesInner

KnowledgeBaseListResponseKnowledgebasesInner

Fields:
field knowledgebase_id: Optional[StrictStr] = None (alias 'KnowledgebaseId')

Unique identifier of the knowledge base.

field knowledgebase_name: Optional[StrictStr] = None (alias 'KnowledgebaseName')

Name of the knowledge base.

field knowledgebase_type: Optional[StrictStr] = None (alias 'KnowledgebaseType')

Type of the knowledge base. Defaults to unstructured when unset on older items.

field description: Optional[StrictStr] = None (alias 'Description')

Description of the knowledge base.

field knowledgebase_status: Optional[StrictStr] = None (alias 'KnowledgebaseStatus')

Current Bedrock knowledge base status.

field embedding_model: Optional[StrictStr] = None (alias 'EmbeddingModel')

Embedding model used for unstructured knowledge bases. Omitted for structured items.

field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')

Last modified time of the knowledge base.

field access_type: Optional[StrictStr] = None (alias 'AccessType')

Caller’s permission on the knowledge base.

field smart_chunking: Optional[StrictBool] = None (alias 'SmartChunking')

LLM-assisted contextual chunking flag. Present only on unstructured items.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of KnowledgeBaseListResponseKnowledgebasesInner from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of KnowledgeBaseListResponseKnowledgebasesInner from a dict

Return type:

Optional[Self]