Check if the query contains an explicit vector. Returns: bool: True if `vector` is non-empty, False otherwise.
(self)
| 97 | return self.id is not None |
| 98 | |
| 99 | def has_vector(self) -> bool: |
| 100 | """Check if the query contains an explicit vector. |
| 101 | |
| 102 | Returns: |
| 103 | bool: True if `vector` is non-empty, False otherwise. |
| 104 | """ |
| 105 | return self.vector is not None and len(self.vector) > 0 |
| 106 | |
| 107 | def has_fts(self) -> bool: |
| 108 | """Check if the query contains an FTS (full-text search) condition. |
no outgoing calls