Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich committed Feb 28, 2024
1 parent f6bb399 commit a25b14a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _get_embedding(self, text: str, input_type: str):
return response["data"][0]["embedding"]

def _get_query_embedding(self, query: str) -> List[float]:
return self._get_embedding(text, input_type="query")
return self._get_embedding(query, input_type="query")

def _get_text_embedding(self, text: str) -> List[float]:
return self._get_embedding(text, input_type="passage")
Expand Down

0 comments on commit a25b14a

Please sign in to comment.