Replies: 3 comments 1 reply
-
Running with CLI also not working (phidata) C:\projects\phidata\phidata>python cookbook/examples/local_rag/cli.py |
Beta Was this translation helpful? Give feedback.
-
@Verfinix please can you try the cookbook at llms/ollama/rag: https://github.com/phidatahq/phidata/tree/main/cookbook/llms/ollama/rag The local_rag is an older example but the new ollama/rag is the same but with a website uploader and llama3 support |
Beta Was this translation helpful? Give feedback.
-
@Verfinix im removing the local_rag cookbook in this PR: #192 Please use cookbook/llms/ollama/rag: https://github.com/phidatahq/phidata/tree/main/cookbook/llms/ollama/rag |
Beta Was this translation helpful? Give feedback.
-
I am running from the current path like below
(phidata) C:\projects\phidata\phidata\cookbook\examples\local_rag>streamlit run app.py
But getting error, any one encounter this error ? or anyone can advise me show to resolve this ?
2024-04-25 16:50:03.767 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\kceng.conda\envs\phidata\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "C:\projects\phidata\phidata\cookbook\examples\local_rag\app.py", line 13, in
from assistant import get_local_rag_assistant # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\projects\phidata\phidata\cookbook\examples\local_rag\assistant.py", line 10, in
from resources import vector_db # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'resources'
Beta Was this translation helpful? Give feedback.
All reactions