Spaces:
Runtime error
Runtime error
Commit
·
a83d32e
1
Parent(s):
66586fe
changed db path
Browse files- app.py +1 -1
- requirements.txt +119 -0
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def ingest(file_path,embeddings):
|
|
| 18 |
text_splitter = CharacterTextSplitter(chunk_size=1000) #Splitting the text and creating chunks
|
| 19 |
docs = text_splitter.split_documents(documents)
|
| 20 |
|
| 21 |
-
persist_directory =
|
| 22 |
print('persist dict: ')
|
| 23 |
print(persist_directory)
|
| 24 |
|
|
|
|
| 18 |
text_splitter = CharacterTextSplitter(chunk_size=1000) #Splitting the text and creating chunks
|
| 19 |
docs = text_splitter.split_documents(documents)
|
| 20 |
|
| 21 |
+
persist_directory = "myVectorDB"
|
| 22 |
print('persist dict: ')
|
| 23 |
print(persist_directory)
|
| 24 |
|
requirements.txt
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
aiohttp==3.8.6
|
| 2 |
+
aiosignal==1.3.1
|
| 3 |
+
altair==5.1.2
|
| 4 |
+
annotated-types==0.6.0
|
| 5 |
+
anyio==3.7.1
|
| 6 |
+
async-timeout==4.0.3
|
| 7 |
+
attrs==23.1.0
|
| 8 |
+
backoff==2.2.1
|
| 9 |
+
bcrypt==4.0.1
|
| 10 |
+
blinker==1.6.3
|
| 11 |
+
cachetools==5.3.2
|
| 12 |
+
certifi==2023.7.22
|
| 13 |
+
charset-normalizer==3.3.1
|
| 14 |
+
chroma-hnswlib==0.7.3
|
| 15 |
+
chromadb==0.4.15
|
| 16 |
+
click==8.1.7
|
| 17 |
+
cohere==4.32
|
| 18 |
+
coloredlogs==15.0.1
|
| 19 |
+
dataclasses-json==0.6.1
|
| 20 |
+
Deprecated==1.2.14
|
| 21 |
+
fastapi==0.104.0
|
| 22 |
+
fastavro==1.8.2
|
| 23 |
+
filelock==3.12.4
|
| 24 |
+
flatbuffers==23.5.26
|
| 25 |
+
frozenlist==1.4.0
|
| 26 |
+
fsspec==2023.10.0
|
| 27 |
+
gitdb==4.0.11
|
| 28 |
+
GitPython==3.1.40
|
| 29 |
+
google-auth==2.23.3
|
| 30 |
+
googleapis-common-protos==1.61.0
|
| 31 |
+
grpcio==1.59.0
|
| 32 |
+
h11==0.14.0
|
| 33 |
+
httptools==0.6.1
|
| 34 |
+
huggingface-hub==0.17.3
|
| 35 |
+
humanfriendly==10.0
|
| 36 |
+
idna==3.4
|
| 37 |
+
importlib-metadata==6.8.0
|
| 38 |
+
importlib-resources==6.1.0
|
| 39 |
+
Jinja2==3.1.2
|
| 40 |
+
jsonpatch==1.33
|
| 41 |
+
jsonpointer==2.4
|
| 42 |
+
jsonschema==4.19.1
|
| 43 |
+
jsonschema-specifications==2023.7.1
|
| 44 |
+
kubernetes==28.1.0
|
| 45 |
+
langchain==0.0.324
|
| 46 |
+
langsmith==0.0.52
|
| 47 |
+
markdown-it-py==3.0.0
|
| 48 |
+
MarkupSafe==2.1.3
|
| 49 |
+
marshmallow==3.20.1
|
| 50 |
+
mdurl==0.1.2
|
| 51 |
+
monotonic==1.6
|
| 52 |
+
mpmath==1.3.0
|
| 53 |
+
multidict==6.0.4
|
| 54 |
+
mypy-extensions==1.0.0
|
| 55 |
+
numpy==1.26.1
|
| 56 |
+
oauthlib==3.2.2
|
| 57 |
+
onnxruntime==1.16.1
|
| 58 |
+
openai==0.28.1
|
| 59 |
+
opentelemetry-api==1.20.0
|
| 60 |
+
opentelemetry-exporter-otlp-proto-common==1.20.0
|
| 61 |
+
opentelemetry-exporter-otlp-proto-grpc==1.20.0
|
| 62 |
+
opentelemetry-proto==1.20.0
|
| 63 |
+
opentelemetry-sdk==1.20.0
|
| 64 |
+
opentelemetry-semantic-conventions==0.41b0
|
| 65 |
+
overrides==7.4.0
|
| 66 |
+
packaging==23.2
|
| 67 |
+
pandas==2.1.2
|
| 68 |
+
Pillow==10.1.0
|
| 69 |
+
posthog==3.0.2
|
| 70 |
+
protobuf==4.24.4
|
| 71 |
+
pulsar-client==3.3.0
|
| 72 |
+
pyarrow==13.0.0
|
| 73 |
+
pyasn1==0.5.0
|
| 74 |
+
pyasn1-modules==0.3.0
|
| 75 |
+
pydantic==2.4.2
|
| 76 |
+
pydantic_core==2.10.1
|
| 77 |
+
pydeck==0.8.1b0
|
| 78 |
+
Pygments==2.16.1
|
| 79 |
+
PyPika==0.48.9
|
| 80 |
+
python-dateutil==2.8.2
|
| 81 |
+
python-dotenv==1.0.0
|
| 82 |
+
pytz==2023.3.post1
|
| 83 |
+
PyYAML==6.0.1
|
| 84 |
+
referencing==0.30.2
|
| 85 |
+
regex==2023.10.3
|
| 86 |
+
requests==2.31.0
|
| 87 |
+
requests-oauthlib==1.3.1
|
| 88 |
+
rich==13.6.0
|
| 89 |
+
rpds-py==0.10.6
|
| 90 |
+
rsa==4.9
|
| 91 |
+
six==1.16.0
|
| 92 |
+
smmap==5.0.1
|
| 93 |
+
sniffio==1.3.0
|
| 94 |
+
SQLAlchemy==2.0.22
|
| 95 |
+
starlette==0.27.0
|
| 96 |
+
streamlit==1.28.0
|
| 97 |
+
sympy==1.12
|
| 98 |
+
tenacity==8.2.3
|
| 99 |
+
tiktoken==0.5.1
|
| 100 |
+
tokenizers==0.14.1
|
| 101 |
+
toml==0.10.2
|
| 102 |
+
toolz==0.12.0
|
| 103 |
+
tornado==6.3.3
|
| 104 |
+
tqdm==4.66.1
|
| 105 |
+
typer==0.9.0
|
| 106 |
+
typing-inspect==0.9.0
|
| 107 |
+
typing_extensions==4.8.0
|
| 108 |
+
tzdata==2023.3
|
| 109 |
+
tzlocal==5.2
|
| 110 |
+
urllib3==1.26.18
|
| 111 |
+
uvicorn==0.23.2
|
| 112 |
+
uvloop==0.19.0
|
| 113 |
+
validators==0.22.0
|
| 114 |
+
watchfiles==0.21.0
|
| 115 |
+
websocket-client==1.6.4
|
| 116 |
+
websockets==12.0
|
| 117 |
+
wrapt==1.15.0
|
| 118 |
+
yarl==1.9.2
|
| 119 |
+
zipp==3.17.0
|