NucliaTextTransformer#
- class langchain_community.document_transformers.nuclia_text_transform.NucliaTextTransformer(nua: NucliaUnderstandingAPI)[source]#
Nuclia Text Transformer.
The Nuclia Understanding API splits into paragraphs and sentences, identifies entities, provides a summary of the text and generates embeddings for all sentences.
Methods
__init__
(nua)atransform_documents
(documents, **kwargs)Asynchronously transform a list of documents.
transform_documents
(documents, **kwargs)Transform a list of documents.
- Parameters:
nua (NucliaUnderstandingAPI)
- __init__(nua: NucliaUnderstandingAPI)[source]#
- Parameters:
nua (NucliaUnderstandingAPI)
- async atransform_documents(documents: Sequence[Document], **kwargs: Any) Sequence[Document] [source]#
Asynchronously transform a list of documents.
Examples using NucliaTextTransformer