File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
notebooks/langchain/multi-query-retriever-examples Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 2424 },
2525 {
2626 "cell_type" : " code" ,
27- "execution_count" : 12 ,
27+ "execution_count" : 2 ,
2828 "metadata" : {},
2929 "outputs" : [
3030 {
3838 }
3939 ],
4040 "source" : [
41- " !python3 -m pip install -qU lark elasticsearch langchain openai tiktoken\n " ,
41+ " !python3 -m pip install -qU lark elasticsearch langchain_openai tiktoken\n " ,
4242 " \n " ,
4343 " from langchain.schema import Document\n " ,
44- " from langchain .embeddings.openai import OpenAIEmbeddings\n " ,
44+ " from langchain_openai .embeddings import OpenAIEmbeddings\n " ,
4545 " from langchain.vectorstores import ElasticsearchStore\n " ,
46- " from langchain .chat_models import ChatOpenAI\n " ,
46+ " from langchain_openai .chat_models import ChatOpenAI\n " ,
4747 " from langchain.retrievers.multi_query import MultiQueryRetriever\n " ,
48- " from langchain.chains import LLMChain\n " ,
4948 " from getpass import getpass"
5049 ]
5150 },
5958 },
6059 {
6160 "cell_type" : " code" ,
62- "execution_count" : 13 ,
61+ "execution_count" : 3 ,
6362 "metadata" : {},
6463 "outputs" : [],
6564 "source" : [
141140 },
142141 {
143142 "cell_type" : " code" ,
144- "execution_count" : 14 ,
143+ "execution_count" : 4 ,
145144 "metadata" : {},
146145 "outputs" : [],
147146 "source" : [
178177 },
179178 {
180179 "cell_type" : " code" ,
181- "execution_count" : 15 ,
180+ "execution_count" : 5 ,
182181 "metadata" : {},
183182 "outputs" : [],
184183 "source" : [
202201 },
203202 {
204203 "cell_type" : " code" ,
205- "execution_count" : 16 ,
204+ "execution_count" : 6 ,
206205 "metadata" : {},
207206 "outputs" : [
208207 {
215214 {
216215 "data" : {
217216 "text/plain" : [
218- " 4 "
217+ " 1 "
219218 ]
220219 },
221- "execution_count" : 16 ,
220+ "execution_count" : 6 ,
222221 "metadata" : {},
223222 "output_type" : " execute_result"
224223 }
You can’t perform that action at this time.
0 commit comments