SourceLocation¶
- class oci.generative_ai_agent_runtime.models.SourceLocation(**kwargs)¶
Bases:
objectThe location of the data files that the agent will use.
Attributes:
A constant which can be used with the source_location_type property of a SourceLocation.
A constant which can be used with the source_location_type property of a SourceLocation.
A constant which can be used with the source_location_type property of a SourceLocation.
[Required] Gets the source_location_type of this SourceLocation.
Methods:
__init__(**kwargs)Initializes a new SourceLocation object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- SOURCE_LOCATION_TYPE_OCI_DATABASE = 'OCI_DATABASE'¶
A constant which can be used with the source_location_type property of a SourceLocation. This constant has a value of “OCI_DATABASE”
- SOURCE_LOCATION_TYPE_OCI_OBJECT_STORAGE = 'OCI_OBJECT_STORAGE'¶
A constant which can be used with the source_location_type property of a SourceLocation. This constant has a value of “OCI_OBJECT_STORAGE”
- SOURCE_LOCATION_TYPE_OCI_OPEN_SEARCH = 'OCI_OPEN_SEARCH'¶
A constant which can be used with the source_location_type property of a SourceLocation. This constant has a value of “OCI_OPEN_SEARCH”
- __init__(**kwargs)¶
Initializes a new SourceLocation object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
source_location_type (str) – The value to assign to the source_location_type property of this SourceLocation. Allowed values for this property are: “OCI_OBJECT_STORAGE”, “OCI_OPEN_SEARCH”, “OCI_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property source_location_type¶
[Required] Gets the source_location_type of this SourceLocation. The type of the data source that contains data files for the agent.
Allowed values for this property are: “OCI_OBJECT_STORAGE”, “OCI_OPEN_SEARCH”, “OCI_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The source_location_type of this SourceLocation.
- Return type
str