Skip to content

Commit

Permalink
Update notebooks/integrations/gemini/qa-langchain-gemini-elasticsearc…
Browse files Browse the repository at this point in the history
…h.ipynb

Co-authored-by: Max Jakob <[email protected]>
  • Loading branch information
ashishtiwari1993 and maxjakob authored Jan 25, 2024
1 parent 9ba4151 commit f7755fd
Showing 1 changed file with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,18 @@
"metadata": {},
"outputs": [],
"source": [
"import google.generativeai as genai\n",
"import google.ai.generativelanguage as glm\n",
"from elasticsearch import Elasticsearch, helpers\n",
"from langchain.vectorstores import ElasticsearchStore\n",
"from langchain.text_splitter import CharacterTextSplitter\n",
"from langchain_google_genai import GoogleGenerativeAIEmbeddings\n",
"from langchain_google_genai import ChatGoogleGenerativeAI\n",
"import json\n",
"import os\n",
"from getpass import getpass\n",
"from urllib.request import urlopen\n",
"\n",
"from langchain.prompts import ChatPromptTemplate\n",
"from langchain.prompts import PromptTemplate\n",
"from langchain.schema.output_parser import StrOutputParser\n",
"from langchain.schema.runnable import RunnablePassthrough\n",
"from langchain.schema.runnable import RunnableLambda\n",
"from langchain.schema import HumanMessage\n",
"from urllib.request import urlopen\n",
"from getpass import getpass\n",
"import json, os"
"from langchain.text_splitter import CharacterTextSplitter\n",
"from langchain.vectorstores import ElasticsearchStore\n",
"from langchain_google_genai import ChatGoogleGenerativeAI\n",
"from langchain_google_genai import GoogleGenerativeAIEmbeddings",
]
},
{
Expand Down

0 comments on commit f7755fd

Please sign in to comment.