KnowledgeBaseCollection

class oci.generative_ai_agent.models.KnowledgeBaseCollection(**kwargs)

Bases: object

Results of a knowledge base search. Contains both KnowledgeBaseSummary items and other information, such as metadata.

Methods

__init__(**kwargs) Initializes a new KnowledgeBaseCollection object with values from keyword arguments.

Attributes

items [Required] Gets the items of this KnowledgeBaseCollection.
__init__(**kwargs)

Initializes a new KnowledgeBaseCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:items (list[oci.generative_ai_agent.models.KnowledgeBaseSummary]) – The value to assign to the items property of this KnowledgeBaseCollection.
items

[Required] Gets the items of this KnowledgeBaseCollection. List of knowledge bases.

Returns:The items of this KnowledgeBaseCollection.
Return type:list[oci.generative_ai_agent.models.KnowledgeBaseSummary]