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]