OracleDocReader#
- class langchain_community.document_loaders.oracleai.OracleDocReader[source]#
Read a file
Methods
generate_object_id
([input_string])read_file
(conn,ย file_path,ย params)Read a file using OracleReader :param conn: Oracle Connection, :param file_path: Oracle Directory, :param params: ONNX file name.
- static generate_object_id(input_string: str | None = None) str [source]#
- Parameters:
input_string (str | None)
- Return type:
str
- static read_file(conn: Connection, file_path: str, params: dict) Document | None [source]#
Read a file using OracleReader :param conn: Oracle Connection, :param file_path: Oracle Directory, :param params: ONNX file name.
- Returns:
Plain text and metadata as Langchain Document.
- Parameters:
conn (Connection)
file_path (str)
params (dict)
- Return type:
Union[Document, None]