Skip to content

Latest commit

 

History

History
 
 

demo_light

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

STORM Minimal User Interface

This is a minimal user interface for STORMWikiRunner which includes the following features:

  1. Allowing user to create a new article through the "Create New Article" page.
  2. Showing the intermediate steps of STORMWikiRunner in real-time when creating an article.
  3. Displaying the written article and references side by side.
  4. Allowing user to view previously created articles through the "My Articles" page.

Setup

  1. Besides the required packages for STORMWikiRunner, you need to install additional packages:
    pip install -r requirements.txt
  2. Make sure you set up the API keys following the instructions in the main README file. Create a copy of secrets.toml and place it under .streamlit/.
  3. Run the following command to start the user interface:
    streamlit run storm.py
    The user interface will create a DEMO_WORKING_DIR directory in the current directory to store the outputs.

Customization

You can customize the STORMWikiRunner powering the user interface according to the guidelines in the main README file.

The STORMWikiRunner is initialized in set_storm_runner() in demo_util.py. You can change STORMWikiRunnerArguments, STORMWikiLMConfigs, or use a different retrieval model according to your need.