Step 1: Extract the zip file into any directory.
Step 2: Install the 'assistants itl'.
- This is a wrapper for HuggingFace Agents. It lets you create & run agents by pushing configuration files, and it lets you add tools to agents via streams.
pip install --upgrade git+https://github.com/ThatOneAI/assistants_itl
Step 3: Initialize the infra.
./initialize.sh
Step 3: Run everything
export OPENAI_API_KEY="put your openai api key here"
PYTHONPATH=src python3 -m pydoc_itl
Step 4: Deploy the configs + test it out in a separate terminal
python3 -m itlmon
# Do the rest in itlmon:
/cluster assistants apply secrets/assistants-loop.yaml
/cluster assistants apply sample-configs/resources
/cluster assistants apply sample-configs/chatbots
# Switch to the "chat-stream" channel and ask:
What's in the 'transformers.tools' module?