stanford-oval / storm

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.
http://storm.genie.stanford.edu
MIT License
12.19k stars 1.12k forks source link

There is no API used in the website. #223

Open huxinggg opened 3 days ago

huxinggg commented 3 days ago

Some of the interfaces in the demo website are not present in the code, such as filling the history record, retrieving information about the next expert, and the identification of citations.

website:https://storm.genie.stanford.edu

Yucheng-Jiang commented 2 days ago

Could you explain more about "filling the history record" and "identification of citations"?

Regarding retrieving information about the next expert, following code should help (thanks for your suggestion; we will add it to the interface later)

next_turn_policy = costorm_runner.discourse_manager.get_next_turn_policy(
      conversation_history=costorm_runner.conversation_history,
      dry_run=True,
  )
next_turn_expert_role = next_turn_policy.agent.role_name