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