Skip to content

Commit 8928c6f

Browse files
Merge pull request #6 from ptptiwari/main
More improvements in the code
2 parents 01815a5 + 7f50092 commit 8928c6f

File tree

2 files changed

+56
-122
lines changed

2 files changed

+56
-122
lines changed

python-rag-chatbot/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
- check you config_rag.py file and make sure your api endpoint belong to chicago region and db which you want to use like chroma db or oracle db
1717
- set your compartment_id ocid inside the file i.e. init_rag_streamlit_exp.py and init_rag.py file
1818
- Changing the db type you need to modify at config file and you see the logic inside create_vector_store
19-
- podman run -d --name 23ai -p 1521:1521 -e ORACLE_PWD=<password> -v oracle-volume:/Users/pparkins/oradata container-registry.oracle.com/database/free:latest
20-
- create/config vector tablespace and user
21-
- add oracle database info for use in init_rag_streamlit.py / init_rag_streamlit_exp.py
19+
- provide the username, password and dsn for the oracle 23ai DB
20+
- Inside the init_rag_streamlit_exp.py file method name i.e. OracleVS.from_documents, put your table name which you want. Currently the table name is oravs.
2221
- run ./run_oracle_bot_exp.sh
2322

2423

python-rag-chatbot/requirements.txt

Lines changed: 54 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -63,31 +63,20 @@ gitdb==4.0.11
6363
GitPython==3.1.41
6464
google-auth==2.29.0
6565
googleapis-common-protos==1.63.0
66-
greenlet== 3.0.3
67-
grpcio== 1.59.0
68-
h11== 0.14.0
69-
halo== 0.0.31
70-
httpcore== 1.0.5
71-
httptools== 0.6.0
72-
httpx== 0.27.0
73-
httpx-sse== 0.4.0
74-
huggingface-hub== 0.23.2
75-
humanfriendly== 10.0
76-
importlib-metadata== 6.8.0
77-
importlib-resources== 6.1.0
78-
inference-tools== 0.13.0
79-
IProgress== 0.4
80-
ipykernel== 6.25.2
81-
ipython== 8.16.1
82-
ipywidgets== 8.1.1
83-
isoduration== 20.11.0
84-
jedi== 0.19.1
85-
jmespath== 1.0.1
86-
joblib== 1.3.2
87-
json5== 0.9.14
88-
jsonpatch== 1.33
89-
jsonpointer== 2.4
90-
jsonschema== 4.19.1
66+
httpcore==1.0.5
67+
httptools==0.6.0
68+
httpx==0.27.0
69+
httpx-sse==0.4.0
70+
ipython==8.16.1
71+
ipywidgets==8.1.1
72+
isoduration==20.11.0
73+
jedi==0.19.1
74+
jmespath==1.0.1
75+
joblib==1.3.2
76+
json5==0.9.14
77+
jsonpatch==1.33
78+
jsonpointer==2.4
79+
jsonschema==4.19.1
9180
jsonschema-specifications==2023.7.1
9281
kiwisolver==1.4.5
9382
kubernetes==29.0.0
@@ -103,92 +92,46 @@ langserve==0.2.1
10392
langsmith==0.1.67
10493
libcst==1.4.0
10594
log-symbols==0.0.14
106-
loguru== 0.7.2
107-
lxml== 4.9.3
108-
markdown-it-py== 3.0.0
109-
MarkupSafe== 2.1.3
110-
marshmallow== 3.20.1
111-
matplotlib== 3.9.0
112-
matplotlib-inline== 0.1.6
113-
mdurl== 0.1.2
114-
mention== 0.1
115-
mistune== 3.0.2
116-
mmh3== 4.1.0
117-
modules== 1.0.0
118-
monotonic== 1.6
119-
mpmath== 1.3.0
120-
multidict== 6.0.4
121-
mypy-extensions== 1.0.0
122-
nbclient== 0.8.0
123-
nbconvert== 7.9.2
124-
nbformat== 5.9.2
125-
nest-asyncio== 1.5.8
126-
networkx== 3.1
127-
notebook_shim== 0.2.3
128-
numpy== 1.26.1
129-
oauthlib== 3.2.2
130-
oci== 2.126.4
131-
onnxruntime== 1.18.0
132-
openai== 0.28.1
133-
opentelemetry-api== 1.24.0
134-
opentelemetry-exporter-otlp-proto-common== 1.24.0
135-
opentelemetry-exporter-otlp-proto-grpc== 1.24.0
136-
opentelemetry-instrumentation== 0.45b0
137-
opentelemetry-instrumentation-asgi== 0.45b0
138-
opentelemetry-instrumentation-fastapi== 0.45b0
139-
opentelemetry-proto== 1.24.0
140-
opentelemetry-sdk== 1.24.0
141-
opentelemetry-semantic-conventions== 0.45b0
142-
opentelemetry-util-http== 0.45b0
143-
oracledb== 2.2.1
144-
orjson== 3.10.3
145-
overrides== 7.4.0
146-
packaging== 23.2
147-
page== 0.2
148-
pages== 0.3
149-
pandas== 2.1.1
150-
pandocfilters== 1.5.0
151-
parso== 0.8.3
152-
path== 16.14.0
153-
pathspec== 0.11.2
154-
pexpect== 4.8.0
155-
pickleshare== 0.7.5
156-
piglet-templates== 1.3.1
157-
pip== 24.1.1
158-
platformdirs== 3.11.0
159-
posthog== 3.0.2
160-
prometheus-client== 0.17.1
161-
prompt-toolkit== 3.0.39
162-
protobuf== 4.24.4
163-
psutil== 5.9.6
164-
ptyprocess== 0.7.0
165-
pulsar-client== 3.5.0
166-
pure-eval== 0.2.2
167-
pyarrow== 16.1.0
168-
pyasn1== 0.6.0
169-
pyasn1_modules== 0.4.0
170-
pycparser== 2.21
171-
pydantic== 2.4.2
172-
pydantic_core== 2.10.1
173-
pydeck== 0.8.1b0
174-
Pygments== 2.16.1
175-
pyOpenSSL== 23.2.0
176-
pyparsing== 3.1.2
177-
pypdf== 3.17.0
178-
PyPika== 0.48.9
179-
pyproject_hooks== 1.1.0
180-
pyproject-toml== 0.0.10
181-
python-dateutil== 2.8.2
182-
python-dotenv== 1.0.0
183-
python-iso639== 2023.6.15
184-
python-json-logger== 2.0.7
185-
python-magic== 0.4.27
186-
python-multipart== 0.0.9
187-
pytz== 2023.3.post1
188-
PyYAML== 6.0.1
189-
pyzmq== 25.1.1
190-
rapidfuzz== 3.4.0
191-
referencing== 0.30.2
95+
oci==2.126.4
96+
onnxruntime==1.18.0
97+
oracledb==2.2.1
98+
orjson==3.10.3
99+
overrides==7.4.0
100+
packaging==23.2
101+
page==0.2
102+
pip==24.1.1
103+
platformdirs==3.11.0
104+
posthog==3.0.2
105+
prometheus-client==0.17.1
106+
prompt-toolkit==3.0.39
107+
protobuf==4.24.4
108+
psutil==5.9.6
109+
ptyprocess==0.7.0
110+
pulsar-client==3.5.0
111+
pure-eval==0.2.2
112+
pyarrow==16.1.0
113+
pyasn1==0.6.0
114+
pyasn1_modules==0.4.0
115+
pycparser==2.21
116+
pydantic==2.4.2
117+
pydantic_core==2.10.1
118+
pydeck==0.8.1b0
119+
Pygments==2.16.1
120+
pyOpenSSL==23.2.0
121+
pyparsing==3.1.2
122+
pypdf==3.17.0
123+
PyPika==0.48.9
124+
pyproject_hooks==1.1.0
125+
pyproject-toml==0.0.10
126+
python-dateutil==2.8.2
127+
python-dotenv==1.0.0
128+
python-iso639==2023.6.15
129+
python-json-logger==2.0.7
130+
python-magic==0.4.27
131+
python-multipart==0.0.9
132+
pytz==2023.3.post1
133+
PyYAML==6.0.1
134+
pyzmq==25.1.1
192135
regex==2023.10.3
193136
rfc3339-validator==0.1.4
194137
rfc3986-validator==0.1.1
@@ -248,11 +191,3 @@ watchfiles==0.21.0
248191
wcwidth==0.2.8
249192
webcolors==1.13
250193
webencodings==0.5.1
251-
websocket-client==1.6.4
252-
websockets==11.0.3
253-
wheel==0.43.0
254-
widgetsnbextension==4.0.9
255-
wrapt==1.16.0
256-
xmltodict==0.13.0
257-
yarl==1.9.2
258-
zipp==3.17.0

0 commit comments

Comments
 (0)