Skip to content

levitation-opensource/Universal-Values-Assistant-Simulation

Repository files navigation

Project setup

This readme contains instructions for both Linux and Windows installation. Windows installation instructions are located after Linux installation instructions.

Installation under Linux

To setup the environment follow these steps:

  1. Install CPython. The code is tested with Python version 3.10.10. We do not recommend using Conda package manager.

Under Linux, run the following commands:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10 python3.10-dev python3.10-venv
sudo apt install curl
sudo curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10

  1. Get the code from repo:

sudo apt install git-all
Run git clone https://github.com/levitation-opensource/Universal-Values-Assistant-Simulation.git
Run cd Universal-Values-Assistant-Simulation

  1. Create a virtual python environment:

python3.10 -m venv_UVAS
source venv_UVAS/bin/activate

  1. Install dependencies by running:
    pip install -r requirements.txt

Installation under Windows

  1. Install CPython from python.org. The code is tested with Python version 3.10.10. We do not recommend using Conda package manager.

You can download the latest installer from https://www.python.org/downloads/release/python-31010/ or if you want to download a newer 3.10.x version then from https://github.com/adang1345/PythonWindows

  1. Get the code from repo:
  • Install Git from https://gitforwindows.org/
  • Open command prompt and navigate top the folder you want to use for repo
  • Run git clone https://github.com/levitation-opensource/Universal-Values-Assistant-Simulation.git
  • Run cd Universal-Values-Assistant-Simulation
  1. Create a virtual python environment by running:
    3.1. To activate VirtualEnv with Python 3.10:
          virtualenv -p python3.10 venv_UVAS
                (or if you want to use your default Python version:
                python -m venv venv_UVAS)
    3.2. venv_UVAS\scripts\activate

  2. Install dependencies by running:
    pip install -r requirements.txt

Executing Universal Values Assistant Simulation

Choose model in config.ini.

Set environment variable: OPENAI_API_KEY or ANTHROPIC_API_KEY.

Run
python Simulation.py

License

This project is licensed under the Mozilla Public License 2.0. You are free to use, modify, and distribute this code under the terms of this license.

For more details, see the LICENSE.txt file.

About

Universal Values Assistant Simulation. This code was developed based on research and ideas of Chad https://www.linkedin.com/in/chad-burghardt-723416142/ and coded by Roland https://github.com/levitation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages