Skip to content

microsoft/geneva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GENEVA: a prototype tool for generating and visualizing complex story arcs

This is a web browser-based application that allows users to:

  • select arc stories generated by GPT-4 from a few input options
  • visualize logs of gameplots as networks, that is, graphs with nodes and edges

To run the application locally, you will need to install http-server.

Installation

  1. Install http-server by running the following command in your terminal: npm install http-server -g
  2. Clone this repository to your local machine.
  3. Navigate to the directory where the repository was cloned.
  4. Start the http-server by running the following command: http-server
  5. Open your web browser and navigate to http://localhost:8080/

Visualization

This application may load external data generated by GPT-4 for visualization.

Data

First and foremost, data may be stored in JSON files each corresponding to a graph, properly named, like:

  • frankenstein-1-2-4-21stcentury-graph
  • frankenstein-1-2-4-ancientrome-graph
  • jackandthebeanstalk-1-2-4-21stcentury-graph
  • jackandthebeanstalk-1-2-4-ancientrome-graph

These files must be located in the same directory as index.html. The data need will be parsed by a script, which will format the data properly as input to the application.

Usage

Load a graph

Upon opening your web browser on http://localhost:8080, the application will firstly load the dracula-1-2-4-21stcentury-graph.json as default. To switch to other graph, pick up the desired one in the drop files list selector.

View a node content

Hover over a node with your cursor to see its full associated beat as a phrase.

Project

This repo has been populated by an initial template to help get you started. Please make sure to update the content to build a great experience for community-building.

As the maintainer of this project, please make a few updates:

  • Improving this README.MD file to provide a great experience
  • Updating SUPPORT.MD with content about this project's support experience
  • Understanding the security reporting process in SECURITY.MD
  • Remove this section from the README

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

A prototype tool for generating and visualizing complex story arcs.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published