anpigon commited on
Commit
819498b
1 Parent(s): c2c8656

chore: Update langchain_community.retrievers imports

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import gradio as gr
5
  from dotenv import load_dotenv
6
  from langchain.callbacks.base import BaseCallbackHandler
7
  from langchain.embeddings import CacheBackedEmbeddings
8
- from langchain_community.retrievers import BM25Retriever, EnsembleRetriever
 
9
  from langchain.storage import LocalFileStore
10
  from langchain_anthropic import ChatAnthropic
11
  from langchain_community.chat_models import ChatOllama
 
5
  from dotenv import load_dotenv
6
  from langchain.callbacks.base import BaseCallbackHandler
7
  from langchain.embeddings import CacheBackedEmbeddings
8
+ from langchain_community.retrievers import BM25Retriever
9
+ from langchain.retrievers import EnsembleRetriever
10
  from langchain.storage import LocalFileStore
11
  from langchain_anthropic import ChatAnthropic
12
  from langchain_community.chat_models import ChatOllama