Expand description
Azure OpenAI / Foundry provider for Prompty.
This crate provides Azure OpenAI and Foundry executor and processor
implementations. It reuses the OpenAI wire format from prompty-openai
and adds Azure-specific URL construction and authentication.
Registered under keys "foundry" and "azure" (legacy alias).
§Usage
prompty_foundry::register();
// Now invoke/turn will use Azure OpenAI for agents with provider="foundry" or "azure"Re-exports§
pub use executor::FoundryExecutor;pub use models::list_models;pub use models::list_models_async;pub use processor::FoundryProcessor;
Modules§
- executor
- Foundry/Azure OpenAI executor — sends requests to Azure OpenAI endpoints.
- models
- Foundry/Azure OpenAI model discovery.
- processor
- Foundry/Azure OpenAI processor — delegates to the OpenAI processor.
Functions§
- register
- Register the Foundry executor and processor in the global registry.