Skip to content

Commit 2e6bd42

Browse files
committed
Rename ChatGPTClient
This commit renames `ChatGPTClient` to `ReverseEngineeredChatGPTClient`.
1 parent 3a2b8f0 commit 2e6bd42

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

aishell/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typer
44
from rich.console import Console
55

6-
from aishell.query_clients import ChatGPTClient, GPT3Client, QueryClient
6+
from aishell.query_clients import GPT3Client, QueryClient, ReverseEngineeredChatGPTClient
77

88
cli_app = typer.Typer()
99

@@ -12,7 +12,7 @@
1212
def ask(question: str, use_chatgpt: bool = False):
1313
query_client: QueryClient
1414
if use_chatgpt:
15-
query_client = ChatGPTClient()
15+
query_client = ReverseEngineeredChatGPTClient()
1616
else:
1717
query_client = GPT3Client()
1818

aishell/query_clients/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from .chatgpt_client import ChatGPTClient as ChatGPTClient
21
from .gpt3_client import GPT3Client as GPT3Client
32
from .query_client import QueryClient as QueryClient
3+
from .reverse_engineered_chatgpt_client import ReverseEngineeredChatGPTClient as ReverseEngineeredChatGPTClient

aishell/query_clients/chatgpt_client.py renamed to aishell/query_clients/reverse_engineered_chatgpt_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .query_client import QueryClient
99

1010

11-
class ChatGPTClient(QueryClient):
11+
class ReverseEngineeredChatGPTClient(QueryClient):
1212
access_key: str
1313

1414
def __init__(

0 commit comments

Comments
 (0)