NLQCompatible
Inheritance
Inheritance Chain:NLQCompatible- →
ABC
Descendants
Classes that implement NLQ compatibility:NLQCompatibleClauseHandlerBaseLooksLikeFilterClauseHardFilterClauseSimilarFilterClauseWeightBySpaceClause
Properties
Mapping of space annotations to their corresponding annotation strings.
Whether the type is mandatory in natural language queries.
List of natural language query annotations.
Methods
get_allowed_values()
The parameter to get allowed values for.
set[ParamInputType] - Set of allowed values for the parameter.
set_defaults_for_nlq()
Self - The instance with defaults set for natural language queries.
QueryClause
Inheritance
Inheritance Chain:QueryClause- →
ABC
Descendants
All query clause implementations:SingleValueParamQueryClauseWeightBySpaceClause
Properties
Sequence of parameters used by this query clause.
Static Methods
get_param()
The typed parameter to extract the Param from.
Param - The extracted parameter.
get_typed_param()
The typed parameter to extract the TypedParam from.
TypedParam - The extracted typed parameter.
Methods
alter_param_values()
The parameter values to alter.
Whether this is an override operation.
Self - The clause with altered parameter values.
get_altered_knn_search_params()
The KNN search parameters to modify.
KNNSearchClauseParams - The modified search parameters.
get_altered_metadata_extraction_params()
The metadata extraction parameters to modify.
MetadataExtractionClauseParams - The modified metadata extraction parameters.
get_altered_nql_params()
The NLQ clause parameters to modify.
NLQClauseParams - The modified NLQ parameters.
get_altered_query_vector_params()
The query vector parameters to modify.
The index node identifier.
The schema object for the query.
The storage manager instance.
QueryVectorClauseParams - The modified query vector parameters.
get_default_value_by_param_name()
dict[str, Any] - Mapping of parameter names to their default values.
get_param_value_by_param_name()
dict[str, ParamInputType] - Mapping of parameter names to their current values.
get_space_weight_param_name_by_space()
dict[Space, str] - Mapping of spaces to their weight parameter names.
get_weight_param_name_by_space()
dict[Space | None, str] - Mapping of spaces (or None) to their weight parameter names.