Update search_model.py

Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
Kaveen Kumarasinghe 2 years ago committed by GitHub
parent fccda65f43
commit b7b7a5f5c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -201,7 +201,7 @@ class Search:
llm_predictor = LLMPredictor(llm=OpenAI(model_name="text-davinci-003"))
try:
llm_predictor_presearch = OpenAI(
max_tokens=40, temperature=0, model_name="text-davinci-003"
max_tokens=50, temperature=0.25, presence_penalty=0.65, model_name="text-davinci-003"
)
# Refine a query to send to google custom search API

Loading…
Cancel
Save