OracleDocReader#
- class langchain_community.document_loaders.oracleai.OracleDocReader[source]#
Read a file
Methods
__init__
()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.
- __init__()#
- 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]