Skip to content

Commit

Permalink
modernize init
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 25, 2023
1 parent 3d6435d commit 952fcba
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ def runtime_requirements(self):
no_network_fallback=False,
no_gui_fallback=True)

def __init__(self):
super().__init__("ChatGPT")
def initialize(self):
self.current_q = None
self.current_a = None

def initialize(self):
chat_engines = ["gpt-3.5-turbo"]
text_completions = ["ada", "babbage", "curie", "davinci",
"text-davinci-002", "text-davinci-003"]
Expand Down Expand Up @@ -71,7 +68,3 @@ def ask_chatgpt(self, message):
self.current_q = None
self.speak(answer)
return True


def create_skill():
return ChatGPTSkill()

0 comments on commit 952fcba

Please sign in to comment.