Toggle Menu
Prev Up Next

# `langchain_community.utilities.oracleai`.OracleSummary

class langchain_community.utilities.oracleai.OracleSummary(conn: Connection, params: Dict[str, Any], proxy: Optional[str] = None)

  Get Summary :param conn: Oracle Connection, :param params: Summary parameters, :param proxy: Proxy

  Methods

  `__init__`(conn, params[, proxy]) |
  `get_summary`(docs) | Get the summary of the input docs. :param docs: The documents to generate summary for. Allowed input types: str, Document, List[str], List[Document].

  Parameters

    - conn (Connection) –

    - params (Dict[str, Any]) –

    - proxy (Optional[str]) –

  __init__(conn: Connection, params: Dict[str, Any], proxy: Optional[str] = None)
    Parameters

      - conn (Connection) –

      - params (Dict[str, Any]) –

      - proxy (Optional[str]) –

  get_summary(docs: Any) → List[str]

    Get the summary of the input docs. :param docs: The documents to generate summary for.

    > Allowed input types: str, Document, List[str], List[Document]

    Returns

      List of summary text, one for each input doc.

    Parameters

      docs (Any) –

    Return type

      List[str]