|
| 1 | +--- |
| 2 | +title: Experimental APIs |
| 3 | +description: APIs in development with limited support |
| 4 | +sidebar_label: Experimental |
| 5 | +sidebar_position: 1 |
| 6 | +--- |
| 7 | + |
| 8 | +# Experimental APIs |
| 9 | + |
| 10 | +This section contains APIs that are currently in development and may have limited support or stability. These APIs are available for testing and feedback but should not be used in production environments. |
| 11 | + |
| 12 | +:::warning Experimental Notice |
| 13 | +These APIs are experimental and may change without notice. Use with caution and provide feedback to help improve them. |
| 14 | +::: |
| 15 | + |
| 16 | +## Current Experimental APIs |
| 17 | + |
| 18 | +### Batch Inference API |
| 19 | +Run inference on a dataset of inputs in batch mode for improved efficiency. |
| 20 | + |
| 21 | +**Status:** In Development |
| 22 | +**Provider Support:** Limited |
| 23 | +**Use Case:** Large-scale inference operations |
| 24 | + |
| 25 | +**Features:** |
| 26 | +- Batch processing of multiple inputs |
| 27 | +- Optimized resource utilization |
| 28 | +- Progress tracking and monitoring |
| 29 | + |
| 30 | +### Batch Agents API |
| 31 | +Run agentic workflows on a dataset of inputs in batch mode. |
| 32 | + |
| 33 | +**Status:** In Development |
| 34 | +**Provider Support:** Limited |
| 35 | +**Use Case:** Large-scale agent operations |
| 36 | + |
| 37 | +**Features:** |
| 38 | +- Batch agent execution |
| 39 | +- Parallel processing capabilities |
| 40 | +- Result aggregation and analysis |
| 41 | + |
| 42 | +### Synthetic Data Generation API |
| 43 | +Generate synthetic data for model development and testing. |
| 44 | + |
| 45 | +**Status:** Early Development |
| 46 | +**Provider Support:** Very Limited |
| 47 | +**Use Case:** Training data augmentation |
| 48 | + |
| 49 | +**Features:** |
| 50 | +- Automated data generation |
| 51 | +- Quality control mechanisms |
| 52 | +- Customizable generation parameters |
| 53 | + |
| 54 | +### Batches API (OpenAI-compatible) |
| 55 | +OpenAI-compatible batch management for inference operations. |
| 56 | + |
| 57 | +**Status:** In Development |
| 58 | +**Provider Support:** Limited |
| 59 | +**Use Case:** OpenAI batch processing compatibility |
| 60 | + |
| 61 | +**Features:** |
| 62 | +- OpenAI batch API compatibility |
| 63 | +- Job scheduling and management |
| 64 | +- Status tracking and monitoring |
| 65 | + |
| 66 | +## Getting Started with Experimental APIs |
| 67 | + |
| 68 | +### Prerequisites |
| 69 | +- Llama Stack server running with experimental features enabled |
| 70 | +- Appropriate provider configurations |
| 71 | +- Understanding of API limitations |
| 72 | + |
| 73 | +### Configuration |
| 74 | +Experimental APIs may require special configuration flags or provider settings. Check the specific API documentation for setup requirements. |
| 75 | + |
| 76 | +### Usage Guidelines |
| 77 | +1. **Testing Only**: Use experimental APIs for testing and development only |
| 78 | +2. **Monitor Changes**: Watch for updates and breaking changes |
| 79 | +3. **Provide Feedback**: Report issues and suggest improvements |
| 80 | +4. **Backup Data**: Always backup important data when using experimental features |
| 81 | + |
| 82 | +## Feedback and Contribution |
| 83 | + |
| 84 | +We encourage feedback on experimental APIs to help improve them: |
| 85 | + |
| 86 | +### Reporting Issues |
| 87 | +- Use GitHub issues with the "experimental" label |
| 88 | +- Include detailed error messages and reproduction steps |
| 89 | +- Specify the API version and provider being used |
| 90 | + |
| 91 | +### Feature Requests |
| 92 | +- Submit feature requests through GitHub discussions |
| 93 | +- Provide use cases and expected behavior |
| 94 | +- Consider contributing implementations |
| 95 | + |
| 96 | +### Testing |
| 97 | +- Test experimental APIs in your environment |
| 98 | +- Report performance issues and optimization opportunities |
| 99 | +- Share success stories and use cases |
| 100 | + |
| 101 | +## Migration to Stable APIs |
| 102 | + |
| 103 | +As experimental APIs mature, they will be moved to the stable API section. When this happens: |
| 104 | + |
| 105 | +1. **Announcement**: We'll announce the promotion in release notes |
| 106 | +2. **Migration Guide**: Detailed migration instructions will be provided |
| 107 | +3. **Deprecation Timeline**: Experimental versions will be deprecated with notice |
| 108 | +4. **Support**: Full support will be available for stable versions |
| 109 | + |
| 110 | +## Provider Support |
| 111 | + |
| 112 | +Experimental APIs may have limited provider support. Check the specific API documentation for: |
| 113 | + |
| 114 | +- Supported providers |
| 115 | +- Configuration requirements |
| 116 | +- Known limitations |
| 117 | +- Performance characteristics |
| 118 | + |
| 119 | +## Roadmap |
| 120 | + |
| 121 | +Experimental APIs are part of our ongoing development roadmap: |
| 122 | + |
| 123 | +- **Q1 2024**: Batch Inference API stabilization |
| 124 | +- **Q2 2024**: Batch Agents API improvements |
| 125 | +- **Q3 2024**: Synthetic Data Generation API expansion |
| 126 | +- **Q4 2024**: Batches API full OpenAI compatibility |
| 127 | + |
| 128 | +For the latest updates, follow our [GitHub releases](https://github.com/llamastack/llama-stack/releases) and [roadmap discussions](https://github.com/llamastack/llama-stack/discussions). |
0 commit comments