| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stratosphere.Bedrock.PromptVersion.PromptTemplateConfigurationProperty
Documentation
data SystemContentBlockProperty Source #
Constructors
| SystemContentBlockProperty | |
Fields
| |
Instances
data ContentBlockProperty Source #
Constructors
| ContentBlockProperty | |
Fields
| |
Instances
| ToJSON ContentBlockProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ContentBlockProperty Methods toJSON :: ContentBlockProperty -> Value # toEncoding :: ContentBlockProperty -> Encoding # toJSONList :: [ContentBlockProperty] -> Value # toEncodingList :: [ContentBlockProperty] -> Encoding # omitField :: ContentBlockProperty -> Bool # | |||||
| Show ContentBlockProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ContentBlockProperty Methods showsPrec :: Int -> ContentBlockProperty -> ShowS # show :: ContentBlockProperty -> String # showList :: [ContentBlockProperty] -> ShowS # | |||||
| Eq ContentBlockProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ContentBlockProperty Methods (==) :: ContentBlockProperty -> ContentBlockProperty -> Bool # (/=) :: ContentBlockProperty -> ContentBlockProperty -> Bool # | |||||
| ToResourceProperties ContentBlockProperty Source # | |||||
| Property "CachePoint" ContentBlockProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ContentBlockProperty Associated Types
Methods set :: PropertyType "CachePoint" ContentBlockProperty -> ContentBlockProperty -> ContentBlockProperty # | |||||
| Property "Text" ContentBlockProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ContentBlockProperty Associated Types
Methods set :: PropertyType "Text" ContentBlockProperty -> ContentBlockProperty -> ContentBlockProperty # | |||||
| type PropertyType "CachePoint" ContentBlockProperty Source # | |||||
| type PropertyType "Text" ContentBlockProperty Source # | |||||
data ToolChoiceProperty Source #
Constructors
| ToolChoiceProperty | |
Fields
| |
Instances
| ToJSON ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Methods toJSON :: ToolChoiceProperty -> Value # toEncoding :: ToolChoiceProperty -> Encoding # toJSONList :: [ToolChoiceProperty] -> Value # toEncodingList :: [ToolChoiceProperty] -> Encoding # omitField :: ToolChoiceProperty -> Bool # | |||||
| Show ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Methods showsPrec :: Int -> ToolChoiceProperty -> ShowS # show :: ToolChoiceProperty -> String # showList :: [ToolChoiceProperty] -> ShowS # | |||||
| Eq ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Methods (==) :: ToolChoiceProperty -> ToolChoiceProperty -> Bool # (/=) :: ToolChoiceProperty -> ToolChoiceProperty -> Bool # | |||||
| ToResourceProperties ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Methods toResourceProperties :: ToolChoiceProperty -> ResourceProperties # | |||||
| Property "Any" ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Associated Types
Methods set :: PropertyType "Any" ToolChoiceProperty -> ToolChoiceProperty -> ToolChoiceProperty # | |||||
| Property "Auto" ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Associated Types
Methods set :: PropertyType "Auto" ToolChoiceProperty -> ToolChoiceProperty -> ToolChoiceProperty # | |||||
| Property "Tool" ToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolChoiceProperty Associated Types
Methods set :: PropertyType "Tool" ToolChoiceProperty -> ToolChoiceProperty -> ToolChoiceProperty # | |||||
| type PropertyType "Any" ToolChoiceProperty Source # | |||||
| type PropertyType "Auto" ToolChoiceProperty Source # | |||||
| type PropertyType "Tool" ToolChoiceProperty Source # | |||||
data ChatPromptTemplateConfigurationProperty Source #
Constructors
| ChatPromptTemplateConfigurationProperty | |
Instances
| ToJSON ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty Methods toJSON :: ChatPromptTemplateConfigurationProperty -> Value # toEncoding :: ChatPromptTemplateConfigurationProperty -> Encoding # toJSONList :: [ChatPromptTemplateConfigurationProperty] -> Value # toEncodingList :: [ChatPromptTemplateConfigurationProperty] -> Encoding # omitField :: ChatPromptTemplateConfigurationProperty -> Bool # | |||||
| Show ChatPromptTemplateConfigurationProperty Source # | |||||
| Eq ChatPromptTemplateConfigurationProperty Source # | |||||
| ToResourceProperties ChatPromptTemplateConfigurationProperty Source # | |||||
| Property "InputVariables" ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty Associated Types
Methods set :: PropertyType "InputVariables" ChatPromptTemplateConfigurationProperty -> ChatPromptTemplateConfigurationProperty -> ChatPromptTemplateConfigurationProperty # | |||||
| Property "Messages" ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty Associated Types
| |||||
| Property "System" ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty Associated Types
| |||||
| Property "ToolConfiguration" ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty Associated Types
Methods set :: PropertyType "ToolConfiguration" ChatPromptTemplateConfigurationProperty -> ChatPromptTemplateConfigurationProperty -> ChatPromptTemplateConfigurationProperty # | |||||
| type PropertyType "InputVariables" ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty type PropertyType "InputVariables" ChatPromptTemplateConfigurationProperty = [PromptInputVariableProperty] | |||||
| type PropertyType "Messages" ChatPromptTemplateConfigurationProperty Source # | |||||
| type PropertyType "System" ChatPromptTemplateConfigurationProperty Source # | |||||
| type PropertyType "ToolConfiguration" ChatPromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ChatPromptTemplateConfigurationProperty type PropertyType "ToolConfiguration" ChatPromptTemplateConfigurationProperty = ToolConfigurationProperty | |||||
data MessageProperty Source #
Constructors
| MessageProperty | |
Fields
| |
Instances
| ToJSON MessageProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.MessageProperty Methods toJSON :: MessageProperty -> Value # toEncoding :: MessageProperty -> Encoding # toJSONList :: [MessageProperty] -> Value # toEncodingList :: [MessageProperty] -> Encoding # omitField :: MessageProperty -> Bool # | |||||
| Show MessageProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.MessageProperty Methods showsPrec :: Int -> MessageProperty -> ShowS # show :: MessageProperty -> String # showList :: [MessageProperty] -> ShowS # | |||||
| Eq MessageProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.MessageProperty Methods (==) :: MessageProperty -> MessageProperty -> Bool # (/=) :: MessageProperty -> MessageProperty -> Bool # | |||||
| ToResourceProperties MessageProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.MessageProperty Methods toResourceProperties :: MessageProperty -> ResourceProperties # | |||||
| Property "Content" MessageProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.MessageProperty Associated Types
Methods set :: PropertyType "Content" MessageProperty -> MessageProperty -> MessageProperty # | |||||
| Property "Role" MessageProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.MessageProperty Associated Types
Methods set :: PropertyType "Role" MessageProperty -> MessageProperty -> MessageProperty # | |||||
| type PropertyType "Content" MessageProperty Source # | |||||
| type PropertyType "Role" MessageProperty Source # | |||||
data ToolConfigurationProperty Source #
Constructors
| ToolConfigurationProperty | |
Fields
| |
Instances
| ToJSON ToolConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolConfigurationProperty Methods toJSON :: ToolConfigurationProperty -> Value # toEncoding :: ToolConfigurationProperty -> Encoding # toJSONList :: [ToolConfigurationProperty] -> Value # | |||||
| Show ToolConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolConfigurationProperty Methods showsPrec :: Int -> ToolConfigurationProperty -> ShowS # show :: ToolConfigurationProperty -> String # showList :: [ToolConfigurationProperty] -> ShowS # | |||||
| Eq ToolConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolConfigurationProperty Methods (==) :: ToolConfigurationProperty -> ToolConfigurationProperty -> Bool # (/=) :: ToolConfigurationProperty -> ToolConfigurationProperty -> Bool # | |||||
| ToResourceProperties ToolConfigurationProperty Source # | |||||
| Property "ToolChoice" ToolConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolConfigurationProperty Associated Types
Methods set :: PropertyType "ToolChoice" ToolConfigurationProperty -> ToolConfigurationProperty -> ToolConfigurationProperty # | |||||
| Property "Tools" ToolConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolConfigurationProperty Associated Types
Methods set :: PropertyType "Tools" ToolConfigurationProperty -> ToolConfigurationProperty -> ToolConfigurationProperty # | |||||
| type PropertyType "ToolChoice" ToolConfigurationProperty Source # | |||||
| type PropertyType "Tools" ToolConfigurationProperty Source # | |||||
data SpecificToolChoiceProperty Source #
Constructors
| SpecificToolChoiceProperty | |
Instances
| ToJSON SpecificToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.SpecificToolChoiceProperty Methods toJSON :: SpecificToolChoiceProperty -> Value # toEncoding :: SpecificToolChoiceProperty -> Encoding # toJSONList :: [SpecificToolChoiceProperty] -> Value # toEncodingList :: [SpecificToolChoiceProperty] -> Encoding # | |||||
| Show SpecificToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.SpecificToolChoiceProperty Methods showsPrec :: Int -> SpecificToolChoiceProperty -> ShowS # show :: SpecificToolChoiceProperty -> String # showList :: [SpecificToolChoiceProperty] -> ShowS # | |||||
| Eq SpecificToolChoiceProperty Source # | |||||
| ToResourceProperties SpecificToolChoiceProperty Source # | |||||
| Property "Name" SpecificToolChoiceProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.SpecificToolChoiceProperty Associated Types
Methods set :: PropertyType "Name" SpecificToolChoiceProperty -> SpecificToolChoiceProperty -> SpecificToolChoiceProperty # | |||||
| type PropertyType "Name" SpecificToolChoiceProperty Source # | |||||
data ToolProperty Source #
Constructors
| ToolProperty | |
Fields | |
Instances
| ToJSON ToolProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolProperty Methods toJSON :: ToolProperty -> Value # toEncoding :: ToolProperty -> Encoding # toJSONList :: [ToolProperty] -> Value # toEncodingList :: [ToolProperty] -> Encoding # omitField :: ToolProperty -> Bool # | |||||
| Show ToolProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolProperty Methods showsPrec :: Int -> ToolProperty -> ShowS # show :: ToolProperty -> String # showList :: [ToolProperty] -> ShowS # | |||||
| Eq ToolProperty Source # | |||||
| ToResourceProperties ToolProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolProperty Methods toResourceProperties :: ToolProperty -> ResourceProperties # | |||||
| Property "CachePoint" ToolProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolProperty Associated Types
Methods set :: PropertyType "CachePoint" ToolProperty -> ToolProperty -> ToolProperty # | |||||
| Property "ToolSpec" ToolProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolProperty Associated Types
Methods set :: PropertyType "ToolSpec" ToolProperty -> ToolProperty -> ToolProperty # | |||||
| type PropertyType "CachePoint" ToolProperty Source # | |||||
| type PropertyType "ToolSpec" ToolProperty Source # | |||||
data ToolInputSchemaProperty Source #
Constructors
| ToolInputSchemaProperty | |
Fields
| |
Instances
| ToJSON ToolInputSchemaProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolInputSchemaProperty Methods toJSON :: ToolInputSchemaProperty -> Value # toEncoding :: ToolInputSchemaProperty -> Encoding # toJSONList :: [ToolInputSchemaProperty] -> Value # | |||||
| Show ToolInputSchemaProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolInputSchemaProperty Methods showsPrec :: Int -> ToolInputSchemaProperty -> ShowS # show :: ToolInputSchemaProperty -> String # showList :: [ToolInputSchemaProperty] -> ShowS # | |||||
| Eq ToolInputSchemaProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolInputSchemaProperty Methods (==) :: ToolInputSchemaProperty -> ToolInputSchemaProperty -> Bool # (/=) :: ToolInputSchemaProperty -> ToolInputSchemaProperty -> Bool # | |||||
| ToResourceProperties ToolInputSchemaProperty Source # | |||||
| Property "Json" ToolInputSchemaProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolInputSchemaProperty Associated Types
Methods set :: PropertyType "Json" ToolInputSchemaProperty -> ToolInputSchemaProperty -> ToolInputSchemaProperty # | |||||
| type PropertyType "Json" ToolInputSchemaProperty Source # | |||||
data ToolSpecificationProperty Source #
Constructors
| ToolSpecificationProperty | |
Fields
| |
Instances
| ToJSON ToolSpecificationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolSpecificationProperty Methods toJSON :: ToolSpecificationProperty -> Value # toEncoding :: ToolSpecificationProperty -> Encoding # toJSONList :: [ToolSpecificationProperty] -> Value # | |||||
| Show ToolSpecificationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolSpecificationProperty Methods showsPrec :: Int -> ToolSpecificationProperty -> ShowS # show :: ToolSpecificationProperty -> String # showList :: [ToolSpecificationProperty] -> ShowS # | |||||
| Eq ToolSpecificationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolSpecificationProperty Methods (==) :: ToolSpecificationProperty -> ToolSpecificationProperty -> Bool # (/=) :: ToolSpecificationProperty -> ToolSpecificationProperty -> Bool # | |||||
| ToResourceProperties ToolSpecificationProperty Source # | |||||
| Property "Description" ToolSpecificationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolSpecificationProperty Associated Types
Methods set :: PropertyType "Description" ToolSpecificationProperty -> ToolSpecificationProperty -> ToolSpecificationProperty # | |||||
| Property "InputSchema" ToolSpecificationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolSpecificationProperty Associated Types
Methods set :: PropertyType "InputSchema" ToolSpecificationProperty -> ToolSpecificationProperty -> ToolSpecificationProperty # | |||||
| Property "Name" ToolSpecificationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.ToolSpecificationProperty Associated Types
Methods set :: PropertyType "Name" ToolSpecificationProperty -> ToolSpecificationProperty -> ToolSpecificationProperty # | |||||
| type PropertyType "Description" ToolSpecificationProperty Source # | |||||
| type PropertyType "InputSchema" ToolSpecificationProperty Source # | |||||
| type PropertyType "Name" ToolSpecificationProperty Source # | |||||
mkChatPromptTemplateConfigurationProperty :: [MessageProperty] -> ChatPromptTemplateConfigurationProperty Source #
mkMessageProperty :: [ContentBlockProperty] -> Value Text -> MessageProperty Source #
mkToolSpecificationProperty :: ToolInputSchemaProperty -> Value Text -> ToolSpecificationProperty Source #
data PromptTemplateConfigurationProperty Source #
Constructors
| PromptTemplateConfigurationProperty | |
Fields | |
Instances
| ToJSON PromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.PromptTemplateConfigurationProperty | |||||
| Show PromptTemplateConfigurationProperty Source # | |||||
| Eq PromptTemplateConfigurationProperty Source # | |||||
| ToResourceProperties PromptTemplateConfigurationProperty Source # | |||||
| Property "Chat" PromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.PromptTemplateConfigurationProperty Associated Types
| |||||
| Property "Text" PromptTemplateConfigurationProperty Source # | |||||
Defined in Stratosphere.Bedrock.PromptVersion.PromptTemplateConfigurationProperty Associated Types
| |||||
| type PropertyType "Chat" PromptTemplateConfigurationProperty Source # | |||||
| type PropertyType "Text" PromptTemplateConfigurationProperty Source # | |||||