it should be easy, you can just load a different LLM and pass that in the same way an example huggingface hub notebook here: https://
langchain.readthedocs.io/en/latest/modu
les/llms/integrations/huggingface_hub.html
…
Loading Different LLMs with Hugging Face Hub Integration
By
–