Toggle Menu
Prev Up Next

# `langchain_community.document_loaders.oracleai`.OracleDocReader

class langchain_community.document_loaders.oracleai.OracleDocReader

  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: Optional[str] = None) → str
    Parameters

      input_string (Optional[str]) –

    Return type

      str

  static read_file(conn: Connection, file_path: str, params: dict) → Union[Document, None]

    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]