pvanand commited on
Commit
7afd176
·
1 Parent(s): ceafde2

Update gpt - 3.5 turbo

Browse files
Files changed (1) hide show
  1. actions/actions.py +2 -1
actions/actions.py CHANGED
@@ -31,7 +31,8 @@ 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=256, 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
+ #model_engine="text-davinci-002"
35
+ def generate_openai_response(query, model_engine="gpt-3.5-turbo", max_tokens=256, temperature=0.8):
36
  """Generate a response using the OpenAI API."""
37
 
38
  # Run the main function from search_content.py and store the results in a variable