RakeshUtekar commited on
Commit
a72afcb
·
verified ·
1 Parent(s): d99038b

Update generate.py

Browse files
Files changed (1) hide show
  1. generate.py +1 -1
generate.py CHANGED
@@ -9,7 +9,7 @@ load_dotenv()
9
  # Retrieve the OpenAI API key from the environment variable
10
  openai.api_key = os.getenv('api_key')
11
 
12
- def generate_response(retrieved_texts, query, max_tokens=150):
13
  """
14
  Generates a response based on the retrieved texts and query.
15
 
 
9
  # Retrieve the OpenAI API key from the environment variable
10
  openai.api_key = os.getenv('api_key')
11
 
12
+ def generate_response(retrieved_texts, query, max_tokens=2000):
13
  """
14
  Generates a response based on the retrieved texts and query.
15