-
Install conda-forge for Windows from https://conda-forge.org/
-
Install Git for desktop from https://git-scm.com/downloads/win
-
Open mini-forge command prompt and type in the below commands:
conda create -n openvino python=3.11 conda activate openvino conda install jupyterlab ipywidgets git clone https://github.com/openvinotoolkit/openvino_notebooks.git git clone https://github.com/intel/AI-PC_Notebooks.git
-
Make sure you are in the root of your home directory.
jupyter lab
-
Once you open the Jupyter lab, navigate to:
openvino_notebooks/notebooks/llm-agent-react
and run thellm-agent-react-langchain.ipynb
notebook.
-
Open File->New->Terminal
-
Type in the below commands:
conda create -n gpu_llmsycl python=3.11 conda activate gpu_llmsycl
-
Install llama-cpp-python:
git clone https://github.com/intel/AI-PC_Notebooks.git source /opt/intel/oneapi/setvars.sh --force CMAKE_ARGS="-DGGML_SYCL=on -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx" pip install llama-cpp-python -U --force --no-cache-dir --verbose
-
Create a ipykernel as below
python -m ipykernel install --user --name=gpu_llmsycl
-
Navigate to:
AI-PC_Notebooks/AI-Travel-Agent/
and runpip install -r requirements.txt python -m ipykernel install --user --name=gpu_llmsycl