orkgnlp.deepresearch.runner.DeepResearchRunner

class DeepResearchRunner[source]

Bases: ORKGNLPBaseRunner

Parameters:

model (Model object. See the inheriting classes for further information.) – The model to be run.

Methods

deep_research

generate_serp_queries

process_serp_result

release_memory

Releases the memory of all available attributes in a pipeline component.

run

write_final_answer

Generate a short and concise final answer based on learnings.

write_final_report

Generate a final report in markdown format based on learnings.

release_memory()

Releases the memory of all available attributes in a pipeline component.

run(raw_input, *args, **kwargs)[source]
Raise:

NotImplementedError

Return type:

Tuple[str, Dict[str, Any]]

async write_final_answer(prompt, learnings)[source]

Generate a short and concise final answer based on learnings.

Return type:

str

async write_final_report(prompt, learnings, visited_urls)[source]

Generate a final report in markdown format based on learnings.

Return type:

str