detroitnatif commited on
Commit
2d712d6
·
1 Parent(s): 786df00

Adding GroqSearch Space

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. requirements.txt +102 -2
  3. researcher.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
  from streamlit_chat import message
3
- from researcher import Researcher
4
  from dotenv import find_dotenv, load_dotenv
5
  load_dotenv(find_dotenv())
6
  st.set_page_config(layout="wide")
 
1
  import streamlit as st
2
  from streamlit_chat import message
3
+ from GroqSearch.researcher import Researcher
4
  from dotenv import find_dotenv, load_dotenv
5
  load_dotenv(find_dotenv())
6
  st.set_page_config(layout="wide")
requirements.txt CHANGED
@@ -284,7 +284,7 @@ tzlocal==5.2
284
  unstructured==0.12.5
285
  unstructured-client==0.21.0
286
  uri-template==1.3.0
287
- urllib3==1.26.18
288
  uvicorn==0.27.1
289
  uvloop==0.19.0
290
  validators==0.22.0
@@ -316,4 +316,104 @@ argon2-cffi-bindings==21.2.0
316
  arrow==1.3.0
317
  asgiref==3.7.2
318
  asttokens==2.0.8
319
- async-lru==2.0.4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  unstructured==0.12.5
285
  unstructured-client==0.21.0
286
  uri-template==1.3.0
287
+ urllib3>=1.25.8,<=1.26.18
288
  uvicorn==0.27.1
289
  uvloop==0.19.0
290
  validators==0.22.0
 
316
  arrow==1.3.0
317
  asgiref==3.7.2
318
  asttokens==2.0.8
319
+ async-lru==2.0.4async-timeout>=3.9.3
320
+ attrs>=23.2.0
321
+ autopep8>=1.7.0
322
+ azure-core>=1.25.0
323
+ azure-storage-blob>=12.13.1
324
+ Babel>=2.14.0
325
+ backcall>=0.2.0
326
+ backoff>=2.2.1
327
+ bcrypt>=4.1.2
328
+ beautifulsoup4>=4.11.1
329
+ bleach>=5.0.1
330
+ blinker>=1.7.0
331
+ bs4>=0.0.2
332
+ build>=1.1.1
333
+ cachetools>=5.3.3
334
+ certifi>=2024.2.2
335
+ cffi>=1.15.1
336
+ chardet>=5.2.0
337
+ charset-normalizer>=3.3.2
338
+ chroma-hnswlib>=0.7.3
339
+ chromadb>=0.4.24
340
+ click>=8.1.7
341
+ click-plugins>=1.1.1
342
+ cligj>=0.7.2
343
+ colorama>=0.4.6
344
+ coloredlogs>=15.0.1
345
+ comm>=0.2.1
346
+ cryptography>=37.0.4
347
+ cssselect>=1.2.0
348
+ cycler>=0.11.0
349
+ dataclasses-json>=0.6.4
350
+ datasets>=2.17.1
351
+ debugpy>=1.6.3
352
+ decorator>=5.1.1
353
+ defusedxml>=0.7.1
354
+ Deprecated>=1.2.14
355
+ deta>=1.2.0
356
+ dill>=0.3.8
357
+ distro>=1.9.0
358
+ docker-pycreds>=0.4.0
359
+ docstring-parser>=0.15
360
+ emoji>=2.10.1
361
+ entrypoints>=0.4
362
+ enum-compat>=0.0.3
363
+ evaluate>=0.4.1
364
+ exceptiongroup>=1.2.0
365
+ executing>=0.10.0
366
+ faiss-cpu>=1.8.0
367
+ fake-useragent>=1.4.0
368
+ fastapi>=0.110.0
369
+ fastjsonschema>=2.16.1
370
+ feedparser>=6.0.11
371
+ filelock>=3.13.1
372
+ filetype>=1.2.0
373
+ fiona>=1.9.6
374
+ flatbuffers>=23.5.26
375
+ fonttools>=4.36.0
376
+ fqdn>=1.5.1
377
+ frozendict>=2.4.0
378
+ frozenlist>=1.4.1
379
+ fsspec>=2023.10.0
380
+ geopandas>=0.14.3
381
+ gitdb>=4.0.11
382
+ GitPython>=3.1.42
383
+ google-auth>=2.28.1
384
+ googleapis-common-protos>=1.62.0
385
+ graphviz>=0.20.1
386
+ greenlet>=3.0.3
387
+ groq>=0.4.2
388
+ grpcio>=1.62.0
389
+ h11>=0.14.0
390
+ html5lib>=1.1
391
+ httpcore>=1.0.4
392
+ httptools>=0.6.1
393
+ httpx>=0.27.0
394
+ huggingface-hub>=0.21.4
395
+ humanfriendly>=10.0
396
+ idna>=3.6
397
+ importlib-metadata>=6.11.0
398
+ importlib_resources>=6.1.2
399
+ iniconfig>=1.1.1
400
+ ipykernel>=6.15.1
401
+ ipython>=8.4.0
402
+ ipython-genutils>=0.2.0
403
+ ipywidgets>=8.1.2
404
+ isodate>=0.6.1
405
+ isoduration>=20.11.0
406
+ jedi>=0.18.1
407
+ Jinja2>=3.1.2
408
+ joblib>=1.1.0
409
+ json5>=0.9.22
410
+ jsonpatch>=1.33
411
+ jsonpath-python>=1.0.6
412
+ jsonpointer>=2.4
413
+ jsonschema>=4.21.1
414
+ jsonschema-specifications>=2023.12.1
415
+ jupyter>=1.0.0
416
+ jupyter-console>=6.6.3
417
+ jupyter-events>=0.9.0
418
+ jupyter-lsp>=2.2.4
419
+
researcher.py CHANGED
@@ -54,7 +54,7 @@ class Researcher:
54
  print("Timeout Error:", e)
55
  except requests.exceptions.RequestException as e:
56
  print("Unexpected Error:", e)
57
- return {} # Return an empty dict in case of failure
58
 
59
 
60
  def research_answerer(self):
 
54
  print("Timeout Error:", e)
55
  except requests.exceptions.RequestException as e:
56
  print("Unexpected Error:", e)
57
+ # Return an empty dict in case of failure
58
 
59
 
60
  def research_answerer(self):