Skip to content

Commit

Permalink
Update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExplainthis committed Mar 23, 2023
1 parent e857a6a commit 569b09c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service/website.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, model=None):
self.text_length_limit = 1800

def send_msg(self, msg):
role, content = self.model.chat_completion(msg)
role, content = self.model.chat_completions(msg)
return role, content

def summarize(self, chunks):
Expand Down
2 changes: 1 addition & 1 deletion src/service/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, model=None):
self.model = model

def send_msg(self, msg):
role, content = self.model.chat_completion(msg)
role, content = self.model.chat_completions(msg)
return role, content

def summarize(self, chunks):
Expand Down

0 comments on commit 569b09c

Please sign in to comment.