diff --git a/shared_resources.py b/shared_resources.py index 6019561..350efcc 100644 --- a/shared_resources.py +++ b/shared_resources.py @@ -11,7 +11,7 @@ import glob import json from typing import List, Tuple, Dict -from langchain.embeddings import LlamaCppEmbeddings +from langchain_community.embeddings import LlamaCppEmbeddings from decouple import config from fastapi import HTTPException @@ -150,4 +150,4 @@ def load_model(llm_model_name: str, raise_http_exception: bool = True): else: raise FileNotFoundError(f"No model file found matching: {llm_model_name}") - \ No newline at end of file +