bx-ai-chatting
Installation
SKILL.md
bx-ai: Chatting with AI
Core BIF: aiChat()
// Signature
aiChat( message, params={}, options={} )
message— string or array of message structsparams— model parameters (temperature,max_tokens,model,top_p,stop, etc.)options— provider options (provider,apiKey,returnFormat,timeout)- Returns: string by default; array or struct depending on
returnFormat
Simple Usage
// Simplest call — uses configured default provider
answer = aiChat( "What is the capital of France?" )