NLQCompatibleClauseHandler

NLQCompatibleClauseHandler(clause)

Parameters

clause
QueryClause
required
The query clause to handle for NLQ processing.

Inheritance

Inheritance Chain:
  • NLQCompatibleClauseHandler
  • NLQCompatible
  • ABC

Properties

annotation_by_space_annotation
dict[str, str]
Mapping of space annotations to their corresponding annotation strings.
clause
QueryClause
The query clause being handled.
nlq_annotations
list[NLQAnnotation]
List of NLQ annotations associated with this clause handler.
params
Sequence[TypedParam | Evaluated[TypedParam]]
Sequence of parameters used by this clause handler.

Static Methods

from_clauses()

from_clauses(clauses) -> list[NLQCompatibleClauseHandler]
clauses
Sequence[QueryClause]
required
The query clauses to create handlers for.
Returns: list[NLQCompatibleClauseHandler] - List of clause handlers for NLQ-compatible clauses.