Spaces:
Runtime error
Runtime error
Update app.py
Browse files105 unmodified lines106107108109110111112105 unmodified linesreturn FAISS.from_documents(documents, embed)def get_response_with_search(query, system_prompt=DEFAULT_SYSTEM_PROMPT, model, num_calls=3, temperature=0.2, use_embeddings=True):search_results = duckduckgo_search(query)if use_embeddings:105 unmodified lines106107108109110111112105 unmodified linesreturn FAISS.from_documents(documents, embed)def get_response_with_search(query, model, system_prompt=DEFAULT_SYSTEM_PROMPT, num_calls=3, temperature=0.2, use_embeddings=True):search_results = duckduckgo_search(query)if use_embeddings:
app.py+1-1