Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no API used in the website. #223

Open
huxinggg opened this issue Oct 18, 2024 · 1 comment
Open

There is no API used in the website. #223

huxinggg opened this issue Oct 18, 2024 · 1 comment

Comments

@huxinggg
Copy link

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
Copy link
Collaborator

Yucheng-Jiang commented Oct 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants