Skip to content

Commit

Permalink
fix: TypeError wrt Instructor-Large (#35)
Browse files Browse the repository at this point in the history
### With the changes I made,
`$ codeqai search`
 
### worked just fine with "**Instructor-Large**" embedding model

Closes #34
  • Loading branch information
shreyahegde18 authored Feb 29, 2024
1 parent 1db7ca2 commit 428a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeqai/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
except ImportError:
self._install_instructor_embedding()

self.embeddings = HuggingFaceInstructEmbeddings()
self.embeddings = HuggingFaceEmbeddings()

def _install_sentence_transformers(self):
question = [
Expand Down

0 comments on commit 428a7dc

Please sign in to comment.