Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def create_web_search_vectors(search_results):
|
|
106 |
|
107 |
return FAISS.from_documents(documents, embed)
|
108 |
|
109 |
-
def get_response_with_search(query, system_prompt=DEFAULT_SYSTEM_PROMPT,
|
110 |
search_results = duckduckgo_search(query)
|
111 |
|
112 |
if use_embeddings:
|
|
|
106 |
|
107 |
return FAISS.from_documents(documents, embed)
|
108 |
|
109 |
+
def get_response_with_search(query, model, system_prompt=DEFAULT_SYSTEM_PROMPT, num_calls=3, temperature=0.2, use_embeddings=True):
|
110 |
search_results = duckduckgo_search(query)
|
111 |
|
112 |
if use_embeddings:
|