module

Provider::Bedrock

Constants

SIMPLE_PARAMS = [{"max_tokens", "max_tokens", Int32}, {"stop_sequences", "stop_sequences", JSON::Any}, {"temperature", "temperature", Float64}, {"top_p", "top_p", Float64}]

Class methods

can_access(env : Hash(String, String)) : Bool
Source
extract_event_from_bedrock_response(event : AWS::BedrockRuntime::ConverseStreamEvent) : String | Iterator::Stop | Nil
Source
generic_json_schema_to_bedrock_tool(json_schema : JSON::Any) : JSON::Any
Source
generic_role_to_bedrock_role(role : String) : String
Source

Nested types