Changed requirement to python 3.10 (#3496)

### What problem does this PR solve?

Changed requirement to python 3.10.
Changed image base to Ubuntu 22.04 since it contains python 3.10.

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2024-11-19 18:25:04 +08:00
committed by GitHub
parent 16fbe9920d
commit 0cd5b64c3b
8 changed files with 203 additions and 141 deletions

View File

@ -44,7 +44,7 @@ class SparseVector:
class MatchTextExpr(ABC):
def __init__(
self,
fields: str,
fields: list[str],
matching_text: str,
topn: int,
extra_options: dict = dict(),