- Install
coagent
(see Installation). - Start a NATS server (see Distributed).
Run the OpenCSG triage agent:
export MODEL_ID="your-model-id"
export MODEL_BASE_URL="your-base-url"
export MODEL_API_VERSION="your-api-version"
export MODEL_API_KEY="your-api-key"
python examples/opencsg/opencsg.py team1
Then start a client in another terminal:
python examples/rich_client.py opencsg
Input: Search wukong-1b model
You will not get any useful information since the triage agent itself has no knowledge of the OpenCSG's models.
Run the CSGHub agent:
export MODEL_ID="your-model-id"
export MODEL_BASE_URL="your-base-url"
export MODEL_API_VERSION="your-api-version"
export MODEL_API_KEY="your-api-key"
python examples/opencsg/csghub.py team1.csghub
Then search in the client terminal, then you will get a professional answer from CSGHub:
python examples/rich_client.py opencsg
Input: Search wukong-1b model