Class: Aws::BedrockAgentRuntime::Types::RetrievalFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::RetrievalFilter
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
RetrievalFilter is a union - when making an API calls you must set exactly one of the members.
Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see Query configurations.
This data type is used in the following API operations:
Retrieve request – in the
filter
fieldRetrieveAndGenerate request – in the
filter
field
Direct Known Subclasses
AndAll, Equals, GreaterThan, GreaterThanOrEquals, In, LessThan, LessThanOrEquals, NotEquals, NotIn, OrAll, StartsWith, Unknown
Defined Under Namespace
Classes: AndAll, Equals, GreaterThan, GreaterThanOrEquals, In, LessThan, LessThanOrEquals, NotEquals, NotIn, OrAll, StartsWith, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#and_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are returned.
-
#equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value matches thevalue
in this object are returned. -
#greater_than ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value is greater than thevalue
in this object are returned. -
#greater_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value is greater than or equal to thevalue
in this object are returned. -
#in ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value is in the list specified in thevalue
in this object are returned. -
#less_than ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value is less than thevalue
in this object are returned. -
#less_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value is less than or equal to thevalue
in this object are returned. -
#not_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value doesn't match thevalue
in this object are returned. -
#not_in ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value isn't in the list specified in thevalue
in this object are returned. -
#or_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
-
#starts_with ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose name matches the
key
and whose value starts with thevalue
in this object are returned. -
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#and_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources whose metadata attributes fulfill all the filter conditions inside this list are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value matches the value
in this
object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#greater_than ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value is greater than the value
in this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#greater_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value is greater than or equal to
the value
in this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#in ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value is in the list specified in
the value
in this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#less_than ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value is less than the value
in
this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#less_than_or_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value is less than or equal to the
value
in this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#not_equals ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value doesn't match the value
in
this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#not_in ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value isn't in the list specified
in the value
in this object are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#or_all ⇒ Array<Types::RetrievalFilter>
Knowledge base data sources whose metadata attributes fulfill at least one of the filter conditions inside this list are returned.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#starts_with ⇒ Types::FilterAttribute
Knowledge base data sources that contain a metadata attribute whose
name matches the key
and whose value starts with the value
in
this object are returned. This filter is currently only supported
for Amazon OpenSearch Serverless vector stores.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 class RetrievalFilter < Struct.new( :and_all, :equals, :greater_than, :greater_than_or_equals, :in, :less_than, :less_than_or_equals, :not_equals, :not_in, :or_all, :starts_with, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AndAll < RetrievalFilter; end class Equals < RetrievalFilter; end class GreaterThan < RetrievalFilter; end class GreaterThanOrEquals < RetrievalFilter; end class In < RetrievalFilter; end class LessThan < RetrievalFilter; end class LessThanOrEquals < RetrievalFilter; end class NotEquals < RetrievalFilter; end class NotIn < RetrievalFilter; end class OrAll < RetrievalFilter; end class StartsWith < RetrievalFilter; end class Unknown < RetrievalFilter; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1802 1803 1804 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 1802 def unknown @unknown end |