Skip to content

Commit

Permalink
fix full text search + 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwey committed Sep 15, 2023
1 parent 04fbd24 commit be3b5ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "starpoint"
version = "0.4.0"
version = "0.4.1"
authors = [{ name = "pointable", email = "package-maintainers@pointable.ai" }]
description = "SDK for Starpoint DB"
readme = "README.md"
Expand All @@ -14,7 +14,12 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = ["openai~=0.27", "requests~=2.31", "validators~=0.21", "pandas~=2.0"]
dependencies = [
"openai~=0.27",
"requests~=2.31",
"validators~=0.21",
"pandas~=2.0",
]

[project.optional-dependencies]
dev = ["pip-tools~=6.14", "pre-commit~=3.3", "pytest-cov~=4.1", "pytest~=7.3"]
Expand Down
2 changes: 2 additions & 0 deletions python/starpoint/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def query(
collection_name: Optional[str] = None,
query_embedding: Optional[List[float]] = None,
params: Optional[List[Any]] = None,
text_search_query: Optional[str] = None,
) -> Dict[Any, Any]:
"""Queries a collection. This could be by sql or query embeddings.
Expand Down Expand Up @@ -83,6 +84,7 @@ def query(
query_embedding=query_embedding,
sql=sql,
params=params,
text_search_query=text_search_query,
)
try:
response = requests.post(
Expand Down

0 comments on commit be3b5ef

Please sign in to comment.