New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

OpenCH

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

OpenCH

Conversational Health Agents (CHAs) are interactive systems designed to enhance personalhealthcare services by engaging in empathetic conversations and processing multimodal data.

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

Quick Start

  • Documentation page
  • User Guide
  • How to Contribute
  • API Docs
  • Examples

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 '.[all]'

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, based on what tasks you want to use, you may need to acquire some api_keys. For example, to get started using openAI GPT3.5 model as LLM in CHA, you need to signup in their website and get the api_key. Then you should add openAI api_key as environment vairable in your terminal:

export OPENAI_API_KEY="your api_key"

The same goes for using tasks like SerpAPI:

export SERPAPI_API_KEY="your api_key"

Finally, you can start running our framework with the following simple code:

from src.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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc