Skip to main content

Crate everruns_bedrock

Crate everruns_bedrock 

Source
Expand description

AWS Bedrock Runtime provider driver for Everruns.

everruns-bedrock implements the ChatDriver contract from everruns-core using the AWS Bedrock Runtime ConverseStream API.

Credentials are encoded as JSON in the api_key field:

{"access_key_id":"...","secret_access_key":"...","session_token":"...","region":"us-east-1"}

session_token is optional. The base_url field is unused.

§Example

use everruns_bedrock::{BedrockChatDriver, register_driver};
use everruns_provider::DriverRegistry;

let mut registry = DriverRegistry::new();
register_driver(&mut registry);

Structs§

BedrockChatDriver
AWS Bedrock Runtime Chat Driver.
DriverRegistry
Registry for LLM drivers

Traits§

ChatDriver
Trait for LLM drivers

Functions§

register_driver
Register the Bedrock driver with the given registry.