Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.16 KB

Examples for @suiware/ai-tools

Available examples

Example Model Description
Simple balance tool Anthropic: claude-3-5-sonnet-latest Gets Sui wallet balance, no interactivity
Interactive agent (text streaming) Anthropic: claude-3-5-sonnet-latest Portfolio management agent with all tools enabled
Interactive agent (text streaming) OpenAI: gpt-3.5-turbo Portfolio management agent with all tools enabled
Interactive agent (text generating) OpenAI: gpt-3.5-turbo Portfolio management agent with all tools enabled

Usage

1. Install dependencies

pnpm install

2. Configure environment variables

cp .env.example .env

Then update the environment variables in the .env file.

3. Run examples

pnpm start:anthropic:simple:balance
# or
pnpm start || pnpm start:anthropic:streaming
# or 
pnpm start:openai:streaming
# or
pnpm start:openai:generating