OracleSummary#

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

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: str | None = None)[source]#
Parameters:
  • conn (Connection) –

  • params (Dict[str, Any]) –

  • proxy (Optional[str]) –

get_summary(docs: Any) β†’ List[str][source]#

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]

Examples using OracleSummary