Unable to get an output from the final step of the # Chat example

Hello

Thanks for the great introduction!

I wanted some help with the last section called Chat. For the last chapter of the course where you have the complete Chat program, I am unable to get an output when I ask a question in the interface. The wheel spins but there is no output.

An output of the libraries and versions installed are below

Package Version


absl-py 1.4.0
accelerate 0.20.3
aioboto3 11.2.0
aiobotocore 2.5.0
aiohttp 3.8.4
aioitertools 0.11.0
aiosignal 1.3.1
anyio 3.5.0
appnope 0.1.2
argilla 1.12.0
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
asttokens 2.0.5
async-timeout 4.0.2
attrs 22.1.0
Babel 2.11.0
backcall 0.2.0
backoff 2.2.1
beautifulsoup4 4.12.2
bleach 4.1.0
bokeh 3.2.0
boto3 1.26.76
botocore 1.29.76
Brotli 1.0.9
brotlipy 0.7.0
bs4 0.0.1
certifi 2023.5.7
cffi 1.15.1
chardet 5.1.0
charset-normalizer 2.0.4
chromadb 0.3.26
click 8.1.3
clickhouse-connect 0.6.4
coloredlogs 15.0.1
comm 0.1.2
commonmark 0.9.1
contourpy 1.1.0
cryptography 39.0.1
dataclasses-json 0.5.9
datasets 2.11.0
debugpy 1.5.1
decorator 5.1.1
deeplake 3.6.8
defusedxml 0.7.1
Deprecated 1.2.14
dill 0.3.6
diskcache 5.6.1
docarray 0.32.1
duckdb 0.8.1
entrypoints 0.4
et-xmlfile 1.1.0
evaluate 0.4.0
exceptiongroup 1.1.2
executing 0.8.3
fastapi 0.99.1
fastjsonschema 2.16.2
ffmpeg 1.4
ffprobe 0.5
filelock 3.12.2
filetype 1.2.0
flatbuffers 23.5.26
fpdf 1.7.2
frozenlist 1.3.3
fsspec 2023.6.0
h11 0.14.0
hnswlib 0.7.0
httpcore 0.16.3
httptools 0.5.0
httpx 0.23.3
huggingface-hub 0.16.2
humanfriendly 10.0
humbug 0.3.1
idna 3.4
ipykernel 6.19.2
ipython 8.12.0
ipython-genutils 0.2.0
ipywidgets 8.0.7
jedi 0.18.1
Jinja2 3.1.2
jmespath 1.0.1
joblib 1.3.1
json5 0.9.6
jsonschema 4.17.3
jupyter 1.0.0
jupyter_client 8.1.0
jupyter-console 6.6.3
jupyter_core 5.3.0
jupyter-server 1.13.5
jupyterlab 3.3.2
jupyterlab-server 2.10.3
jupyterlab-widgets 3.0.8
langchain 0.0.222
langchainplus-sdk 0.0.19
linkify-it-py 2.0.2
llama-cpp-python 0.1.67
loralib 0.1.1
lxml 4.9.2
lz4 4.3.2
Markdown 3.4.3
markdown-it-py 3.0.0
MarkupSafe 2.1.1
marshmallow 3.19.0
marshmallow-enum 1.5.1
matplotlib-inline 0.1.6
mdit-py-plugins 0.4.0
mdurl 0.1.2
mistune 0.8.4
monotonic 1.6
mpmath 1.3.0
msg-parser 1.2.0
multidict 6.0.4
multiprocess 0.70.14
mutagen 1.46.0
mypy-extensions 1.0.0
nbclassic 0.5.5
nbconvert 5.5.0
nbformat 5.7.0
nest-asyncio 1.5.6
nltk 3.8.1
notebook 6.5.4
notebook_shim 0.2.2
numcodecs 0.11.0
numexpr 2.8.4
numpy 1.23.5
olefile 0.46
onnxruntime 1.15.1
openai 0.27.8
openapi-schema-pydantic 1.2.4
openpyxl 3.1.2
orjson 3.9.2
outcome 1.2.0
overrides 7.3.1
packaging 23.0
pandas 1.5.3
pandocfilters 1.5.0
panel 1.2.0
param 1.13.0
parso 0.8.3
pathos 0.3.0
pdf2image 1.16.3
pdfminer.six 20221105
peft 0.3.0
pexpect 4.8.0
pickleshare 0.7.5
Pillow 10.0.0
pip 23.1.2
platformdirs 2.5.2
portalocker 2.7.0
posthog 3.0.1
pox 0.3.2
ppft 1.7.6.6
prometheus-client 0.14.1
prompt-toolkit 3.0.36
protobuf 4.23.3
psutil 5.9.0
ptyprocess 0.7.0
pulsar-client 3.2.0
pure-eval 0.2.2
pyarrow 12.0.1
pycparser 2.21
pycryptodomex 3.18.0
pydantic 1.10.10
pydub 0.25.1
Pygments 2.15.1
PyJWT 2.7.0
pyOpenSSL 23.0.0
pypandoc 1.11
pypdf 3.12.0
pyrsistent 0.18.0
PySocks 1.7.1
python-dateutil 2.8.2
python-docx 0.8.11
python-dotenv 1.0.0
python-magic 0.4.27
python-pptx 0.6.21
pytz 2022.7
pyviz-comms 2.3.2
PyYAML 6.0
pyzmq 25.1.0
qtconsole 5.4.3
QtPy 2.3.1
regex 2023.6.3
requests 2.29.0
responses 0.18.0
rfc3986 1.5.0
rich 13.4.2
rouge-score 0.1.2
s3transfer 0.6.1
selenium 4.10.0
Send2Trash 1.8.0
setuptools 61.2.0
six 1.16.0
sniffio 1.2.0
sortedcontainers 2.4.0
soupsieve 2.4.1
SQLAlchemy 2.0.17
stack-data 0.2.0
starlette 0.27.0
sympy 1.12
tabulate 0.9.0
tenacity 8.2.2
terminado 0.17.1
testpath 0.6.0
tiktoken 0.4.0
tokenizers 0.13.3
torch 1.13.1
torchdata 0.5.1
tornado 6.2
tqdm 4.65.0
traitlets 5.7.1
transformers 4.27.2
trio 0.22.1
trio-websocket 0.10.3
typer 0.7.0
types-requests 2.31.0.1
types-urllib3 1.26.25.13
typing_extensions 4.6.3
typing-inspect 0.9.0
tzdata 2023.3
uc-micro-py 1.0.2
unstructured 0.7.12
urllib3 1.26.16
uvicorn 0.22.0
uvloop 0.17.0
watchfiles 0.19.0
wcwidth 0.2.5
webdriver-manager 3.8.6
webencodings 0.5.1
websocket-client 0.58.0
websockets 11.0.3
wget 3.2
wheel 0.37.1
widgetsnbextension 4.0.8
wrapt 1.14.1
wsproto 1.2.0
xlrd 2.0.1
XlsxWriter 3.1.2
xxhash 3.2.0
xyzservices 2023.5.0
yarl 1.9.2
yt-dlp 2023.7.6
zstandard 0.21.0

Same issue with me. Do not see any db accesses either on the database tab. To be clear, I am trying to run it locally on my machine as well. Works perfectly on the DLAI platform when I load my local file as well.

I have the same issue. Don’t know what’s going on.

Hi, Anyone managed to solve the above issue?

I have similar issue. copying the notebook with a clean virtual env (python3.11.8)
tried different combinations of packages versions, but nothing works, I always get errors when trying to run the panel.

It looks like the packages are outdated.
is there a newer, working notebook version ?