get_literature_answers#

async metabeeai.metabeeai_llm.get_literature_answers(json_path, relevance_model=None, answer_model=None)[source]#

Processes the entire hierarchical question tree defined in QUESTIONS and returns the collected answers.

Parameters:
  • json_path – Path to the JSON file containing text chunks

  • relevance_model – Model to use for chunk selection (defaults to config)

  • answer_model – Model to use for answer generation and reflection (defaults to config)