Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ def create_web_search_vectors(search_results):
|
|
| 95 |
|
| 96 |
return FAISS.from_documents(documents, embed)
|
| 97 |
|
| 98 |
-
def get_response_with_search(query, model, num_calls=3, temperature=0.2, use_embeddings=True, system_prompt
|
| 99 |
search_results = duckduckgo_search(query)
|
| 100 |
|
| 101 |
if use_embeddings:
|
|
|
|
| 95 |
|
| 96 |
return FAISS.from_documents(documents, embed)
|
| 97 |
|
| 98 |
+
def get_response_with_search(query, model, num_calls=3, temperature=0.2, use_embeddings=True, system_prompt):
|
| 99 |
search_results = duckduckgo_search(query)
|
| 100 |
|
| 101 |
if use_embeddings:
|