Skip to content

Latest commit

 

History

History

opencsg

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Agentic OpenCSG Demo

Prerequisites

Quick Start

Run the Triage agent

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.

Add the CSGHub agent

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