Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush3011 committed Dec 14, 2024
1 parent fe24791 commit 0d2ef2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def _construct_query(
query_type: CosmosDBQueryType,
embeddings: Optional[List[float]] = None,
search_text: Optional[str] = None,
pre_filter: Optional[Dict] = None,
pre_filter: Optional[Dict[str, Any]] = None,
offset_limit: Optional[str] = None,
projection_mapping: Optional[Dict[str, Any]] = None,
) -> Tuple[str, List[Dict[str, Any]]]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_vector_embedding_policy(
}


def get_full_text_policy():
def get_full_text_policy() -> dict:
return {
"defaultLanguage": "en-US",
"fullTextPaths": [{"path": "/text", "language": "en-US"}],
Expand Down

0 comments on commit 0d2ef2e

Please sign in to comment.