KnowledgeBaseMetadataValue¶
-
class
oci.generative_ai_agent_runtime.models.
KnowledgeBaseMetadataValue
(**kwargs)¶ Bases:
object
Represents a metadata value and the number of appearances in knowledge base.
Methods
__init__
(**kwargs)Initializes a new KnowledgeBaseMetadataValue object with values from keyword arguments. Attributes
count
[Required] Gets the count of this KnowledgeBaseMetadataValue. value
[Required] Gets the value of this KnowledgeBaseMetadataValue. -
__init__
(**kwargs)¶ Initializes a new KnowledgeBaseMetadataValue object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - value (str) – The value to assign to the value property of this KnowledgeBaseMetadataValue.
- count (int) – The value to assign to the count property of this KnowledgeBaseMetadataValue.
-
count
¶ [Required] Gets the count of this KnowledgeBaseMetadataValue. Number of documents where this value exists
Returns: The count of this KnowledgeBaseMetadataValue. Return type: int
-
value
¶ [Required] Gets the value of this KnowledgeBaseMetadataValue. The value of the metadata
Returns: The value of this KnowledgeBaseMetadataValue. Return type: str
-