pvanand commited on
Commit
d2b43f4
·
1 Parent(s): add5800

Update model to davinci-003

Browse files
Files changed (1) hide show
  1. actions/actions.py +1 -1
actions/actions.py CHANGED
@@ -31,7 +31,7 @@ secret_value_0 = os.environ.get("openai")
31
  openai.api_key = secret_value_0
32
  # Provide your OpenAI API key
33
 
34
- def generate_openai_response(query, model_engine="text-davinci-002", max_tokens=124, temperature=0.8):
35
  """Generate a response using the OpenAI API."""
36
 
37
  # Run the main function from search_content.py and store the results in a variable
 
31
  openai.api_key = secret_value_0
32
  # Provide your OpenAI API key
33
 
34
+ def generate_openai_response(query, model_engine="text-davinci-003", max_tokens=124, temperature=0.8):
35
  """Generate a response using the OpenAI API."""
36
 
37
  # Run the main function from search_content.py and store the results in a variable