Skip to content

Commit

Permalink
working without inputs and chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
Nweaver412 committed Jan 16, 2025
1 parent 4afc6fd commit 10258cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def init_openai_client(self):
self.client = OpenAI(api_key=self._configuration.pswd_apiKey)


def get_embedding(self, text, model):
def get_embedding(self, text, model = 'text-embedding-3-small'):
if not text or not isinstance(text, str) or text.strip() == "":
return []
text = text.replace("\n", " ")
Expand Down

0 comments on commit 10258cb

Please sign in to comment.