InputConfiguration¶
-
class
oci.ai_language.models.
InputConfiguration
(**kwargs)¶ Bases:
object
input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types
Methods
__init__
(**kwargs)Initializes a new InputConfiguration object with values from keyword arguments. Attributes
configuration
Gets the configuration of this InputConfiguration. document_types
Gets the document_types of this InputConfiguration. -
__init__
(**kwargs)¶ Initializes a new InputConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - document_types (list[str]) – The value to assign to the document_types property of this InputConfiguration.
- configuration (dict(str, DocumentsConfiguration)) – The value to assign to the configuration property of this InputConfiguration.
-
configuration
¶ Gets the configuration of this InputConfiguration. meta data about documents
For CSV valid JSON format is {“CSV” :{inputColumn: “reviewDetails”, rowId: “reviewId”, copyColumnsToOutput: [“reviewId” “userId”] , delimiter: “,”}Note: In future if new file types added we will update here in documentation about input file meta data
Returns: The configuration of this InputConfiguration. Return type: dict(str, DocumentsConfiguration)
-
document_types
¶ Gets the document_types of this InputConfiguration. Type of documents supported for this release only TXT,CSV and one element is allowed here. for future scope this is marked as list
Returns: The document_types of this InputConfiguration. Return type: list[str]
-