Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Azure OpenAI Provider
Use Azure-hosted OpenAI models with enterprise features.
Environment Variables
export AZURE_API_KEY=...
export AZURE_RESOURCE_NAME=your-resource
export AZURE_DEPLOYMENT_NAME=your-deployment
Supported Modalities
| Modality | Supported |
|---|
| Text/Chat | ✅ |
| Embeddings | ✅ |
| Image | ✅ |
| Tools | ✅ |
Quick Start
import { Agent } from 'praisonai';
const agent = new Agent({
name: 'AzureAgent',
instructions: 'You are a helpful assistant.',
llm: 'azure/gpt-4o',
llmConfig: {
resourceName: process.env.AZURE_RESOURCE_NAME,
deploymentName: process.env.AZURE_DEPLOYMENT_NAME,
}
});
const response = await agent.chat('Hello!');