协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
pamela-calls【开发与工程】Make AI-powered phone calls with Pamela's voice API. Create outbound calls, register custom tools for mid-call actions, handle webhooks, and build React UIs. Use when the user wants to make phone calls, integrate voice AI, build IVR systems, navigate phone menus, or automate phone tasks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Make AI-powered phone calls with native phone tree navigation.
Jump to: Installation · Quick Start · Use Cases · SDK Reference
JavaScript/TypeScript:
npm install @thisispamela/sdk
Python:
pip install thisispamela
React:
npm install @thisispamela/react @thisispamela/sdk
CLI:
npm install -g @thisispamela/cli
pk_live_) is only shown onceNote: Phone numbers must be in E.164 format (e.g., +1234567890).
import { PamelaClient } from '@thisispamela/sdk';
const client = new PamelaClient({ apiKey: 'pk_live_...' });
const call = await client.createCall({
to: '+1234567890',
task: 'Call the pharmacy and check if my prescription is ready',
voice: 'female',
agent_name: 'Pamela',
});
const status = await client.getCall(call.id);
console.log(status.transcript);
from pamela import PamelaClient
client = PamelaClient(api_key="pk_live_...")
call = client.create_call(
to="+1234567890",
task="Call the pharmacy and check if my prescription is ready",
voice="female",
agent_name="Pamela",
)
status = client.get_call(call["id"])
print(status["transcript"])
export PAMELA_API_KEY="pk_live_..."
thisispamela create-call \
--to "+1234567890" \
--task "Call the pharmacy and check if my prescription is ready"
| Use Case | Example Task |
|---|---|
| Appointment Scheduling | "Call the dentist and schedule a cleaning for next week" |
| Order Status | "Call the pharmacy and check if my prescription is ready" |
| Customer Support | "Navigate the IVR menu to reach billing department" |
| Information Gathering | "Call the restaurant and ask about vegetarian options" |
| Follow-ups | "Call to confirm the appointment for tomorrow at 2pm" |
| IVR Navigation | "Navigate the phone menu to reach a human representative" |
For detailed SDK documentation:
Pamela sends webhooks for call lifecycle events:
call.queued - Call created and queuedcall.started - Call connectedcall.completed - Call finished successfullycall.failed - Call failedcall.transcript_update - New transcript entriesVerify webhook signatures with the X-Pamela-Signature header.
"Invalid API key"
pk_live_"403 Forbidden"
"Invalid phone number"
+1234567890