Skip to content

Conversational Health Agents: A Personalized LLM-powered Agent Framework

License

Notifications You must be signed in to change notification settings

Laurenceshao/CHA

Repository files navigation

Quick Start

To use CHA in a safe and stable way, ensure you have Python 3.10 or higher installed. First, create a virtual environment:

# Create the virtual environment
python -m venv /path/to/new/virtual/environment

# Activate the virtual environment
source /path/to/new/virtual/environment/bin/activate

Now, install the CHA package. Unfortunately, currently due to PyPi registration problem, we could not upload our package to be installed via pip directly. For now you can simply clone our code and do the installation as follows:

git clone https://github.com/Institute4FutureHealth/CHA.git
cd CHA
pip install .

To simplify installation with minimum requirements and be ready to go, you can use the following command. This installs OpenAI, React Planner, as well as SerpAPI (search) and Playwright (browser) tasks:

pip install '.[minimum]'

If you want to install all requirements for all tasks and other components, use the following command:

pip install '.[all]'

After installing the package, you can start running our framework with the following simple code:

from CHA import CHA

cha = CHA()
cha.run_with_interface()

This code will run the default interface, and you can access it at the following URL:

http://127.0.0.1:7860

For more examples, visit the Examples page.

Alt Text

About

Conversational Health Agents: A Personalized LLM-powered Agent Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%