Upload 2 files
Browse files- ReadMe.md +21 -0
- requirements.txt +96 -1
ReadMe.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DOCUMENTATION
|
| 2 |
+
Before running the notebook:
|
| 3 |
+
open CMD get to the dir of where you save the file and
|
| 4 |
+
Create a virtual environment with : python -m venv venv
|
| 5 |
+
and activate it : venv\Scripts\activate
|
| 6 |
+
|
| 7 |
+
then install the requirements.txt file containing all the packages and their version using: pip install -r requirement.txt
|
| 8 |
+
|
| 9 |
+
For futher information on:
|
| 10 |
+
AI AGENTS : https://www.langchain.com/langchain
|
| 11 |
+
|
| 12 |
+
API KEYS
|
| 13 |
+
OPENAI_API_KEY: chat.openai.com
|
| 14 |
+
|
| 15 |
+
SERPAPI_API_KEY: serpapi.com
|
| 16 |
+
|
| 17 |
+
TRANSFORMERS MODEL: https://huggingface.co/Dzeniks/alberta_fact_checking
|
| 18 |
+
|
| 19 |
+
OTHERS OPEN-SOURCE TRANSFORMERS MODELS AVAILABLE AT : https://huggingface.co/docs/transformers/index
|
| 20 |
+
|
| 21 |
+
After finishing gathering information test the code file typing in cmd : python ABL-Agent.py to run it
|
requirements.txt
CHANGED
|
@@ -1 +1,96 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# Use "pip install -r requirements.txt "
|
| 3 |
+
# to install packages
|
| 4 |
+
|
| 5 |
+
aiohttp==3.9.5
|
| 6 |
+
aiosignal==1.3.1
|
| 7 |
+
annotated-types==0.7.0
|
| 8 |
+
anyio==4.3.0
|
| 9 |
+
asttokens==2.4.1
|
| 10 |
+
async-timeout==4.0.3
|
| 11 |
+
attrs==23.2.0
|
| 12 |
+
beautifulsoup4==4.12.3
|
| 13 |
+
bs4==0.0.2
|
| 14 |
+
certifi==2024.2.2
|
| 15 |
+
charset-normalizer==3.3.2
|
| 16 |
+
colorama==0.4.6
|
| 17 |
+
comm==0.2.2
|
| 18 |
+
dataclasses-json==0.6.6
|
| 19 |
+
debugpy==1.8.1
|
| 20 |
+
decorator==5.1.1
|
| 21 |
+
distro==1.9.0
|
| 22 |
+
dnspython==2.6.1
|
| 23 |
+
elastic-transport==8.13.1
|
| 24 |
+
elasticsearch==8.13.2
|
| 25 |
+
exceptiongroup==1.2.1
|
| 26 |
+
executing==2.0.1
|
| 27 |
+
filelock==3.14.0
|
| 28 |
+
frozenlist==1.4.1
|
| 29 |
+
fsspec==2024.5.0
|
| 30 |
+
google-search-results==2.4.2
|
| 31 |
+
greenlet==3.0.3
|
| 32 |
+
h11==0.14.0
|
| 33 |
+
httpcore==1.0.5
|
| 34 |
+
httpx==0.27.0
|
| 35 |
+
huggingface-hub==0.23.2
|
| 36 |
+
idna==3.7
|
| 37 |
+
importlib-metadata==7.1.0
|
| 38 |
+
install==1.3.5
|
| 39 |
+
ipykernel==6.29.4
|
| 40 |
+
ipython==8.18.1
|
| 41 |
+
jedi==0.19.1
|
| 42 |
+
jsonpatch==1.33
|
| 43 |
+
jsonpointer==2.4
|
| 44 |
+
jupyter-client==8.6.2
|
| 45 |
+
jupyter-core==5.7.2
|
| 46 |
+
langchain==0.2.0
|
| 47 |
+
langchain-community==0.2.1
|
| 48 |
+
langchain-core==0.2.0
|
| 49 |
+
langchain-openai==0.1.7
|
| 50 |
+
langchain-text-splitters==0.2.0
|
| 51 |
+
langsmith==0.1.60
|
| 52 |
+
marshmallow==3.21.2
|
| 53 |
+
matplotlib-inline==0.1.7
|
| 54 |
+
multidict==6.0.5
|
| 55 |
+
mypy-extensions==1.0.0
|
| 56 |
+
nest-asyncio==1.6.0
|
| 57 |
+
numexpr==2.10.0
|
| 58 |
+
numpy==1.26.4
|
| 59 |
+
openai==1.30.1
|
| 60 |
+
orjson==3.10.3
|
| 61 |
+
packaging==23.2
|
| 62 |
+
parso==0.8.4
|
| 63 |
+
platformdirs==4.2.2
|
| 64 |
+
prompt-toolkit==3.0.43
|
| 65 |
+
psutil==5.9.8
|
| 66 |
+
pure-eval==0.2.2
|
| 67 |
+
pydantic==2.7.1
|
| 68 |
+
pydantic-core==2.18.2
|
| 69 |
+
pygments==2.18.0
|
| 70 |
+
PyMySQL==1.1.1
|
| 71 |
+
python-dateutil==2.9.0.post0
|
| 72 |
+
python-dotenv==1.0.1
|
| 73 |
+
pywin32==306
|
| 74 |
+
PyYAML==6.0.1
|
| 75 |
+
pyzmq==26.0.3
|
| 76 |
+
regex==2024.5.15
|
| 77 |
+
requests==2.32.1
|
| 78 |
+
safetensors==0.4.3
|
| 79 |
+
six==1.16.0
|
| 80 |
+
sniffio==1.3.1
|
| 81 |
+
soupsieve==2.5
|
| 82 |
+
SQLAlchemy==2.0.30
|
| 83 |
+
stack-data==0.6.3
|
| 84 |
+
tenacity==8.3.0
|
| 85 |
+
tiktoken==0.7.0
|
| 86 |
+
tokenizers==0.19.1
|
| 87 |
+
tornado==6.4
|
| 88 |
+
tqdm==4.66.4
|
| 89 |
+
traitlets==5.14.3
|
| 90 |
+
transformers==4.41.1
|
| 91 |
+
typing-extensions==4.11.0
|
| 92 |
+
typing-inspect==0.9.0
|
| 93 |
+
urllib3==2.2.1
|
| 94 |
+
wcwidth==0.2.13
|
| 95 |
+
yarl==1.9.4
|
| 96 |
+
zipp==3.19.0
|