Ingest files for retrieval augmented generation (RAG) with open-source Large Language Models (LLMs), all without 3rd parties or sensitive data leaving your network.
Error Description:
Upon initially running local-rag, I get the following error:
Screenshot
TypeError: Object is not an iterable and could not be converted to one. Object: False
Traceback:
File "/.venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script
exec(code, module.__dict__)
File "/home/appuser/main.py", line 31, in <module>
sidebar()
File "/home/appuser/components/sidebar.py", line 16, in sidebar
settings()
File "/home/appuser/components/tabs/settings.py", line 23, in settings
st.selectbox(
File "/.venv/lib/python3.10/site-packages/streamlit/runtime/metrics_util.py", line 397, in wrapped_func
result = non_optional_func(*args, **kwargs)
File "/.venv/lib/python3.10/site-packages/streamlit/elements/widgets/selectbox.py", line 198, in selectbox
return self._selectbox(
File "/.venv/lib/python3.10/site-packages/streamlit/elements/widgets/selectbox.py", line 237, in _selectbox
opt = ensure_indexable(options)
File "/.venv/lib/python3.10/site-packages/streamlit/type_util.py", line 670, in ensure_indexable
it = ensure_iterable(obj)
File "/.venv/lib/python3.10/site-packages/streamlit/type_util.py", line 661, in ensure_iterable
raise TypeError(
Operating System
Host operating system: Windows 11 Pro 23H2
Windows Subsystem for Linux operating system: Debian 12.5
Docker Desktop version: 4.28.0
Please let me know what further info you need from me to help me troubleshoot.
Steps to reproduce the behavior:
In Windows 11 Pro, install WSL via Windows Store.
Install Debian Linux via Windows Store.
Install Docker Desktop.
Open PowerShell and run '''wsl'''.
In WSL (still within PowerShell) follow all local-rag installation pre-requirements as if it were a regular Debian OS.
In WSL, run the docker-compose for local-rag.
Launch browser and access local-rag and witness error.
Error Description: Upon initially running local-rag, I get the following error:
Screenshot
Operating System Host operating system: Windows 11 Pro 23H2 Windows Subsystem for Linux operating system: Debian 12.5 Docker Desktop version: 4.28.0
Please let me know what further info you need from me to help me troubleshoot.
Steps to reproduce the behavior: