Documentation Index
Fetch the complete documentation index at: https://docs.prism.byescaleira.com/llms.txt
Use this file to discover all available pages before exploring further.
PrismIntelligence
PrismIntelligence provides a single API surface for running machine learning and AI workloads across three backends — all without third-party dependencies.Local CoreML
Train and run classification/regression models on-device using CreateML. Zero network required.
Apple Intelligence
Access Apple’s FoundationModels framework for language generation, content tagging, and model adapters.
Remote LLM
Connect to remote language models via a provider protocol. Supports streaming and custom instructions.
Backend Kinds
Every operation routes through aPrismIntelligenceBackendKind:
Backend Selection
Capabilities
Each backend declares which capabilities it supports:Capabilities
Checking Backend Status
UsePrismIntelligenceStatus to query what’s available at runtime:
Status Check
PrismIntelligenceStatus includes:
| Property | Type | Description |
|---|---|---|
backend | PrismIntelligenceBackendKind | Which backend this status describes |
isAvailable | Bool | Whether the backend can accept requests |
reason | String? | Explanation when unavailable |
capabilities | [PrismIntelligenceCapability] | Supported operations |
modelID | String? | Model identifier |
modelName | String? | Human-readable model name |
supportsStreaming | Bool | Whether streaming responses work |
supportsCustomInstructions | Bool | Whether system instructions are supported |
supportsModelAdapters | Bool | Whether model adapters can be loaded |
Architecture
Next Steps
On-Device Training
Train text and tabular classifiers directly on the device using CreateML.
Apple Intelligence
Generate text with Apple’s FoundationModels framework and model adapters.
NLP & RAG
Sentiment analysis, entity extraction, embeddings, and retrieval-augmented generation.