| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This readme contains instructions for both Linux and Windows installation. Windows installation instructions are located after Linux installation instructions.
To setup the environment follow these steps:
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
sudo apt install git-all
Run git clone https://github.com/levitation-opensource/Universal-Values-Assistant-Simulation.git
Run cd Universal-Values-Assistant-Simulation
python3.10 -m venv_UVAS
source venv_UVAS/bin/activate
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
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
Install dependencies by running:
pip install -r requirements.txt
Choose model in config.ini.
Set environment variable: OPENAI_API_KEY or ANTHROPIC_API_KEY.
Ensure you have loaded credits on your corresponding LLM API account, else you will get "rate limit errors".
Run
python Simulation.py
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.
| Back | FazBrowse Home | New Git URL |