fffiloni commited on
Commit
d080d10
1 Parent(s): 66112fc

Update tasks/ref_in_gpt3.py

Browse files
Files changed (1) hide show
  1. tasks/ref_in_gpt3.py +1 -0
tasks/ref_in_gpt3.py CHANGED
@@ -43,6 +43,7 @@ prompts.append("instruction: replace the red apple with a green one, task: (refe
43
  openai.api_type = "azure"
44
  openai.api_base = "https://xdecoder.openai.azure.com/"
45
  openai.api_version = "2022-12-01"
 
46
  openai.api_key = os.environ["OPENAI_API_KEY"]
47
 
48
  def get_gpt3_response(prompt):
 
43
  openai.api_type = "azure"
44
  openai.api_base = "https://xdecoder.openai.azure.com/"
45
  openai.api_version = "2022-12-01"
46
+ openai.organization = os.environ["OPENAI_ORG"]
47
  openai.api_key = os.environ["OPENAI_API_KEY"]
48
 
49
  def get_gpt3_response(prompt):