Skip to main content

Crate specado

Crate specado 

Source
Expand description

Public Specado API re-exported for downstream consumers.

This crate wraps the internal specado-core implementation and exposes the same types and helpers while reserving the specado name on crates.io.

Modules§

adapter
auth
circuit_breaker
error
hot_reload
http
retry
router
transformer
types

Structs§

AdapterRegistry
AdapterSelection
AuthHandler
Capabilities
CircuitBreaker
Constraints
EndpointConfig
Endpoints
ExecuteOptions
Options for steering name-based provider resolution.
Extensions
JsonSchema
LossinessEntry
LossinessReport
Mappings
Message
ModelConfig
PrimaryFallbackRouter
PromptBuilder
Structured options for building a prompt specification.
PromptSpec
ProviderSpec
RequestMapping
ResponseConfig
ResponseMapping
RetryPolicy
SamplingConfig
SimplePromptOptions
Convenience options for constructing a simple user/system prompt.
SupportFlags
Tool
UniformResponse
Usage

Enums§

AdapterMatchRule
AuthError
AuthScheme
Error
FinishReason
HttpMethod
LossinessCode
LossinessLevel
MessageRole
ProviderApi
ProviderErrorKind
ResponseFormat
StrictMode
ToolChoice
ToolChoiceString

Traits§

Router

Functions§

create_prompt
Construct a prompt specification from the provided builder options.
execute
Execute a prompt using a provider identified by name or path.
execute_from_path
Execute a prompt using an explicit provider spec path.
load_prompt_from_path
Load a prompt specification (YAML or JSON) from disk.
simple_prompt
Create a minimal prompt specification from simple text inputs.
translate

Type Aliases§

Result