diff --git a/.gitignore b/.gitignore index fddad46..b82587e 100644 --- a/.gitignore +++ b/.gitignore @@ -168,3 +168,4 @@ __pycache__/ BTExpansionCode/llm_test/LLM_Evaluation_Kit/llms/gpt3.py BTExpansionCode/llm_test/LLM_Evaluation_Kit_最终存档0627/apis/ERNIE_KEYS.txt BTExpansionCode/llm_test/LLM_Evaluation_Kit_最终存档0627/llms/gpt3.py +BTExpansionCode/llm_test/LLM_Evaluation_Kit/llms/gpt3_old.py diff --git a/BTExpansionCode/llm_test/LLM_Evaluation_Kit/llms/gpt3_old.py b/BTExpansionCode/llm_test/LLM_Evaluation_Kit/llms/gpt3_old.py index c9039d4..85b4295 100644 --- a/BTExpansionCode/llm_test/LLM_Evaluation_Kit/llms/gpt3_old.py +++ b/BTExpansionCode/llm_test/LLM_Evaluation_Kit/llms/gpt3_old.py @@ -6,7 +6,7 @@ from openai import OpenAI class LLMGPT3(): def __init__(self): self.client = OpenAI( - base_url="", api_key="" + base_url="https://api.chatgptid.net/v1", api_key="sk-U3lHYdKBlISo2gssCa715e292bF5463bAb5898638eC3D0Ea" ) def request(self,message): # question