Skip to content

Commit

Permalink
Forgot some renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Mar 18, 2024
1 parent 5e346f6 commit 2678a50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion radis/rag/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def collect_tasks(self, job: RagJob) -> Iterator[RagTask]:
search = Search(
query=job.query,
offset=0,
size=100,
limit=100,
filters=SearchFilters(
study_date_from=job.study_date_from,
study_date_till=job.study_date_till,
Expand Down
2 changes: 1 addition & 1 deletion radis/rag/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _estimate_retrieval_count(self, data: dict) -> int:
search = Search(
query=data["query"],
offset=0,
size=0,
limit=0,
filters=SearchFilters(
study_date_from=data["study_date_from"],
study_date_till=data["study_date_till"],
Expand Down
2 changes: 1 addition & 1 deletion radis/search/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get(self, request: AuthenticatedHttpRequest, *args, **kwargs):
search = Search(
query=query,
offset=offset,
size=page_size,
limit=page_size,
filters=SearchFilters(
study_date_from=study_date_from,
study_date_till=study_date_till,
Expand Down

0 comments on commit 2678a50

Please sign in to comment.