bstraehle commited on
Commit
4b4e8c6
1 Parent(s): 270fa69

Update rag_langchain.py

Browse files
Files changed (1) hide show
  1. rag_langchain.py +1 -2
rag_langchain.py CHANGED
@@ -2,14 +2,13 @@ import os
2
 
3
  from langchain.callbacks import get_openai_callback
4
  from langchain.chains import LLMChain, RetrievalQA
5
- #from langchain.chat_models import ChatOpenAI
6
  from langchain.document_loaders import PyPDFLoader, WebBaseLoader
7
  from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
8
  from langchain.document_loaders.generic import GenericLoader
9
  from langchain.document_loaders.parsers import OpenAIWhisperParser
10
  from langchain.embeddings.openai import OpenAIEmbeddings
11
  from langchain.prompts import PromptTemplate
12
- from langchain_openai import ChatOpenAI
13
  from langchain.text_splitter import RecursiveCharacterTextSplitter
14
  from langchain.vectorstores import Chroma
15
  from langchain.vectorstores import MongoDBAtlasVectorSearch
 
2
 
3
  from langchain.callbacks import get_openai_callback
4
  from langchain.chains import LLMChain, RetrievalQA
5
+ from langchain.chat_models import ChatOpenAI
6
  from langchain.document_loaders import PyPDFLoader, WebBaseLoader
7
  from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
8
  from langchain.document_loaders.generic import GenericLoader
9
  from langchain.document_loaders.parsers import OpenAIWhisperParser
10
  from langchain.embeddings.openai import OpenAIEmbeddings
11
  from langchain.prompts import PromptTemplate
 
12
  from langchain.text_splitter import RecursiveCharacterTextSplitter
13
  from langchain.vectorstores import Chroma
14
  from langchain.vectorstores import MongoDBAtlasVectorSearch