Skip to content

Commit

Permalink
[easy][py] remove unused classes in openai.py
Browse files Browse the repository at this point in the history
couple of classes were defined but not used. Tested this by "find all references" on each class. No results showed up, so its safe to remove them
  • Loading branch information
Ankush Pala ankush@lastmileai.dev committed Jan 3, 2024
1 parent 8b10d3c commit bf4067d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions python/src/aiconfig/default_parsers/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,24 +366,6 @@ def id(self) -> str:
return self.model_id


class GPT4Parser(DefaultOpenAIParser):
def __init__(self):
model_id = "gpt-4"
super().__init__(model_id)


class GPT3TurboParser(DefaultOpenAIParser):
def __init__(self):
model_id = "gpt-3.5-turbo"
super().__init__(model_id)


class ChatGPTParser(DefaultOpenAIParser):
def __init__(self):
model_id = "ChatGPT"
super().__init__(model_id)


def reduce(acc, delta):
acc = copy.deepcopy(acc)

Expand Down

0 comments on commit bf4067d

Please sign in to comment.