Spark Provider
Use Spark with PraisonAI TypeScript
Spark Provider
Environment Variables
export SPARK_API_KEY=...Quick Start
- Simple Usage
typescript import { Agent } from 'praisonai'; const agent = new Agent({ name: 'SparkAgent', instructions: 'You are a helpful assistant.', llm: 'spark/model' }); const response = await agent.chat('Hello!'); - With Configuration
Adjust provider credentials and model settings for production — see the sections above.