GenAIOps with AI Foundry
Introduction
GenAIOps with AI Foundry is a template project that helps you implement and manage AI operations efficiently using Azure AI services. This documentation provides comprehensive guides for setting up, configuring, and using the template.
Documentation Sections
1. Getting Started Guide
- Getting Started Guide
- Initial repository setup
- Basic configuration
- Fork and clone instructions
- GitHub actions setup
2. Infrastructure Setup
- Cloud Infrastructure Setup
- Azure resource provisioning
- Terraform configuration
- Infrastructure deployment steps
- Environment verification
3. Local Development Environment
4. Experimentation Guide
5. GitHub Integration
- GitHub Repository Setup
- Service principal creation
- Environment configuration
- Workflow setup
- CI/CD pipeline management
- Security best practices
Quick Links
Setup and Configuration
Development and Testing
Repo Structure
The repository has the following structure:
genaiops-azureaisdk-template/
├── .github/ # Contains github actions and workflows
├── docs/ # Contains documentation and guides
├── infra/ # Contains terraform code for building public infrastructure
├── lib/ # Contains reusable code for like custom evaluators
├── llmops/ # Main scripts for running experiments
├── math_coding/ # sample use case folder
├── tests/ # Contains unit tests for llmops scripts
├── .gitignore # Contains files and folders to ignore
├── .env.sample # Sample environment variables file
├── README.md # Main documentation file
The repository has the following structure for each use case:
use_case_name/
├── data/ # Contains datasets for evaluation
├── flows/ # Contains flow definitions for experiments
├── evaluation/ # Contains evaluation logic and scripts
├── online-evaluations/ # Contains scripts for online evaluations
├── deployment/ # Contains deployment scripts and configurations
├── experiment.yaml # Main configuration file for the experiment
├── experiment.<env>.yaml # Environment-specific configuration files
Getting Help
- Check the Troubleshooting section for common issues
- Review workflow logs for debugging information
- Ensure all environment variables are properly configured
- Verify Azure and GitHub permissions
Development Workflow
- Fork and clone the repository
- Set up local development environment
- Configure Azure infrastructure
- Set up GitHub environments and secrets
- Develop and test locally
- Create pull requests for changes
- Monitor CI/CD pipelines
- Deploy to production
Security Considerations
- Keep sensitive information in environment variables
- Use GitHub secrets for credentials
- Follow Azure security best practices
- Implement proper access controls
- Regular security updates
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
- Follow code review process
Next Steps
- Start with the Getting Started Guide
- Set up your Development Environment
- Configure Azure Infrastructure
- Begin Experimentation