The named tuple returned by `ext::ai::search` cannot have `order by` (and probably other) methods chained on it.
Open
- Dominant language
- Python
- Stars
- 415
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Attempting to use the AI search function like:
```python
search_results = ai.search(default.Chunk, std.str("tigers")).order_by(distance="asc").limit(3)
result = await client.query(
search_results.select(
object=lambda s: s.object.select(content=True)
)
)
```
Fails with this error:
```
AttributeError: type object 'ObjectDistance_Tuple_4ZKj8w' has no attribute 'order_by'
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.