orkgnlp.deepresearch.deepresearch.DeepResearch

class DeepResearch(openai_api_key=None, firecrawl_api_key=None, research_provider='orkg', openai_endpoint='https://api.openai.com/v1', custom_model='o3-mini', *args, **kwargs)[source]

Bases: ORKGNLPBaseService

Parameters:
  • service – Service name.

  • force_download – Indicates whether the required files are to be downloaded again. Defaults to False.

  • batch_size – Size of the batches used during model prediction. This argument is used by services that applies batch evaluation. Defaults to 16.

Methods

release_memory

Releases the memory of all available executors.

Attributes

SERVICE_NAME

__call__(query, depth=2, breadth=4, report_type='report')[source]

Call self as a function.

release_memory()

Releases the memory of all available executors.