sci_watch.summarizers.openai_summarizers module
- class sci_watch.summarizers.openai_summarizers.GPTSummarizer(**kwargs)[source]
Bases:
AbstractSummarizer
GPT models wrapper
- batch_summarize(docs: list[sci_watch.source_wrappers.document.Document]) list[str] [source]
Summarize a list of documents
- Parameters:
docs (list[Document]) – List of documents to summarize
- Returns:
List of summarized documents
- Return type:
list[str]