Spaces:
Sleeping
Sleeping
Commit
·
719cb62
1
Parent(s):
145b42f
AIE1 midterm submission
Browse files- .env +0 -1
- .gitignore +164 -0
- requirements.txt +90 -10
.env
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
OPENAI_API_KEY = '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'
|
|
|
|
.gitignore
ADDED
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Byte-compiled / optimized / DLL files
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
|
6 |
+
|
7 |
+
.DS_Store
|
8 |
+
|
9 |
+
|
10 |
+
# C extensions
|
11 |
+
*.so
|
12 |
+
|
13 |
+
# Distribution / packaging
|
14 |
+
.Python
|
15 |
+
build/
|
16 |
+
develop-eggs/
|
17 |
+
dist/
|
18 |
+
downloads/
|
19 |
+
eggs/
|
20 |
+
.eggs/
|
21 |
+
lib/
|
22 |
+
lib64/
|
23 |
+
parts/
|
24 |
+
sdist/
|
25 |
+
var/
|
26 |
+
wheels/
|
27 |
+
share/python-wheels/
|
28 |
+
*.egg-info/
|
29 |
+
.installed.cfg
|
30 |
+
*.egg
|
31 |
+
MANIFEST
|
32 |
+
|
33 |
+
# PyInstaller
|
34 |
+
# Usually these files are written by a python script from a template
|
35 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
36 |
+
*.manifest
|
37 |
+
*.spec
|
38 |
+
|
39 |
+
# Installer logs
|
40 |
+
pip-log.txt
|
41 |
+
pip-delete-this-directory.txt
|
42 |
+
|
43 |
+
# Unit test / coverage reports
|
44 |
+
htmlcov/
|
45 |
+
.tox/
|
46 |
+
.nox/
|
47 |
+
.coverage
|
48 |
+
.coverage.*
|
49 |
+
.cache
|
50 |
+
nosetests.xml
|
51 |
+
coverage.xml
|
52 |
+
*.cover
|
53 |
+
*.py,cover
|
54 |
+
.hypothesis/
|
55 |
+
.pytest_cache/
|
56 |
+
cover/
|
57 |
+
|
58 |
+
# Translations
|
59 |
+
*.mo
|
60 |
+
*.pot
|
61 |
+
|
62 |
+
# Django stuff:
|
63 |
+
*.log
|
64 |
+
local_settings.py
|
65 |
+
db.sqlite3
|
66 |
+
db.sqlite3-journal
|
67 |
+
|
68 |
+
# Flask stuff:
|
69 |
+
instance/
|
70 |
+
.webassets-cache
|
71 |
+
|
72 |
+
# Scrapy stuff:
|
73 |
+
.scrapy
|
74 |
+
|
75 |
+
# Sphinx documentation
|
76 |
+
docs/_build/
|
77 |
+
|
78 |
+
# PyBuilder
|
79 |
+
.pybuilder/
|
80 |
+
target/
|
81 |
+
|
82 |
+
# Jupyter Notebook
|
83 |
+
.ipynb_checkpoints
|
84 |
+
|
85 |
+
# IPython
|
86 |
+
profile_default/
|
87 |
+
ipython_config.py
|
88 |
+
|
89 |
+
# pyenv
|
90 |
+
# For a library or package, you might want to ignore these files since the code is
|
91 |
+
# intended to run in multiple environments; otherwise, check them in:
|
92 |
+
# .python-version
|
93 |
+
|
94 |
+
# pipenv
|
95 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
96 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
97 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
98 |
+
# install all needed dependencies.
|
99 |
+
#Pipfile.lock
|
100 |
+
|
101 |
+
# poetry
|
102 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
103 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
104 |
+
# commonly ignored for libraries.
|
105 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
106 |
+
#poetry.lock
|
107 |
+
|
108 |
+
# pdm
|
109 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
110 |
+
#pdm.lock
|
111 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
112 |
+
# in version control.
|
113 |
+
# https://pdm.fming.dev/#use-with-ide
|
114 |
+
.pdm.toml
|
115 |
+
|
116 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
117 |
+
__pypackages__/
|
118 |
+
|
119 |
+
# Celery stuff
|
120 |
+
celerybeat-schedule
|
121 |
+
celerybeat.pid
|
122 |
+
|
123 |
+
# SageMath parsed files
|
124 |
+
*.sage.py
|
125 |
+
|
126 |
+
# Environments
|
127 |
+
.env
|
128 |
+
.venv
|
129 |
+
env/
|
130 |
+
venv/
|
131 |
+
ENV/
|
132 |
+
env.bak/
|
133 |
+
venv.bak/
|
134 |
+
|
135 |
+
# Spyder project settings
|
136 |
+
.spyderproject
|
137 |
+
.spyproject
|
138 |
+
|
139 |
+
# Rope project settings
|
140 |
+
.ropeproject
|
141 |
+
|
142 |
+
# mkdocs documentation
|
143 |
+
/site
|
144 |
+
|
145 |
+
# mypy
|
146 |
+
.mypy_cache/
|
147 |
+
.dmypy.json
|
148 |
+
dmypy.json
|
149 |
+
|
150 |
+
# Pyre type checker
|
151 |
+
.pyre/
|
152 |
+
|
153 |
+
# pytype static type analyzer
|
154 |
+
.pytype/
|
155 |
+
|
156 |
+
# Cython debug symbols
|
157 |
+
cython_debug/
|
158 |
+
|
159 |
+
# PyCharm
|
160 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
161 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
162 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
163 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
164 |
+
#.idea/
|
requirements.txt
CHANGED
@@ -1,10 +1,90 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
chainlit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiofiles==23.2.1
|
2 |
+
aiohttp==3.9.3
|
3 |
+
aiosignal==1.3.1
|
4 |
+
annotated-types==0.6.0
|
5 |
+
anyio==3.7.1
|
6 |
+
asyncer==0.0.2
|
7 |
+
attrs==23.2.0
|
8 |
+
bidict==0.23.1
|
9 |
+
certifi==2024.2.2
|
10 |
+
chainlit==1.0.401
|
11 |
+
charset-normalizer==3.3.2
|
12 |
+
chevron==0.14.0
|
13 |
+
click==8.1.7
|
14 |
+
dataclasses-json==0.5.14
|
15 |
+
Deprecated==1.2.14
|
16 |
+
distro==1.9.0
|
17 |
+
faiss-cpu==1.8.0
|
18 |
+
fastapi==0.108.0
|
19 |
+
fastapi-socketio==0.0.10
|
20 |
+
filetype==1.2.0
|
21 |
+
frozenlist==1.4.1
|
22 |
+
googleapis-common-protos==1.63.0
|
23 |
+
greenlet==3.0.3
|
24 |
+
grpcio==1.62.1
|
25 |
+
h11==0.14.0
|
26 |
+
httpcore==1.0.4
|
27 |
+
httpx==0.27.0
|
28 |
+
idna==3.6
|
29 |
+
importlib-metadata==6.11.0
|
30 |
+
jsonpatch==1.33
|
31 |
+
jsonpointer==2.4
|
32 |
+
langchain==0.1.12
|
33 |
+
langchain-community==0.0.28
|
34 |
+
langchain-core==0.1.31
|
35 |
+
langchain-openai==0.0.8
|
36 |
+
langchain-text-splitters==0.0.1
|
37 |
+
langsmith==0.1.24
|
38 |
+
Lazify==0.4.0
|
39 |
+
literalai==0.0.300
|
40 |
+
marshmallow==3.21.1
|
41 |
+
multidict==6.0.5
|
42 |
+
mypy-extensions==1.0.0
|
43 |
+
nest-asyncio==1.6.0
|
44 |
+
numpy==1.26.4
|
45 |
+
openai==1.13.3
|
46 |
+
opentelemetry-api==1.23.0
|
47 |
+
opentelemetry-exporter-otlp==1.23.0
|
48 |
+
opentelemetry-exporter-otlp-proto-common==1.23.0
|
49 |
+
opentelemetry-exporter-otlp-proto-grpc==1.23.0
|
50 |
+
opentelemetry-exporter-otlp-proto-http==1.23.0
|
51 |
+
opentelemetry-instrumentation==0.44b0
|
52 |
+
opentelemetry-proto==1.23.0
|
53 |
+
opentelemetry-sdk==1.23.0
|
54 |
+
opentelemetry-semantic-conventions==0.44b0
|
55 |
+
orjson==3.9.15
|
56 |
+
packaging==23.2
|
57 |
+
protobuf==4.25.3
|
58 |
+
pydantic==2.6.4
|
59 |
+
pydantic_core==2.16.3
|
60 |
+
PyJWT==2.8.0
|
61 |
+
PyMuPDF==1.23.26
|
62 |
+
PyMuPDFb==1.23.22
|
63 |
+
python-dotenv==1.0.1
|
64 |
+
python-engineio==4.9.0
|
65 |
+
python-graphql-client==0.4.3
|
66 |
+
python-multipart==0.0.9
|
67 |
+
python-socketio==5.11.1
|
68 |
+
PyYAML==6.0.1
|
69 |
+
regex==2023.12.25
|
70 |
+
requests==2.31.0
|
71 |
+
simple-websocket==1.0.0
|
72 |
+
sniffio==1.3.1
|
73 |
+
SQLAlchemy==2.0.28
|
74 |
+
starlette==0.32.0.post1
|
75 |
+
syncer==2.0.3
|
76 |
+
tenacity==8.2.3
|
77 |
+
tiktoken==0.6.0
|
78 |
+
tomli==2.0.1
|
79 |
+
tqdm==4.66.2
|
80 |
+
typing-inspect==0.9.0
|
81 |
+
typing_extensions==4.10.0
|
82 |
+
uptrace==1.22.0
|
83 |
+
urllib3==2.2.1
|
84 |
+
uvicorn==0.25.0
|
85 |
+
watchfiles==0.20.0
|
86 |
+
websockets==12.0
|
87 |
+
wrapt==1.16.0
|
88 |
+
wsproto==1.2.0
|
89 |
+
yarl==1.9.4
|
90 |
+
zipp==3.18.0
|