Skip to content

Commit

Permalink
Reordering imports since genai was needed in a previous step. (#231)
Browse files Browse the repository at this point in the history
* Importing google.generativeai

* Formatting
  • Loading branch information
Giom-V authored Jul 9, 2024
1 parent c3c8e54 commit cb06e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/qdrant/Qdrant_similarity_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@
"outputs": [],
"source": [
"from google.colab import userdata\n",
"import google.generativeai as genai\n",
"\n",
"GOOGLE_API_KEY=userdata.get('GOOGLE_API_KEY')\n",
"\n",
"genai.configure(api_key=GOOGLE_API_KEY)"
Expand Down Expand Up @@ -205,8 +207,6 @@
},
"outputs": [],
"source": [
"import google.generativeai as genai\n",
"\n",
"from bs4 import BeautifulSoup\n",
"from qdrant_client import models, QdrantClient\n",
"from urllib.request import urlopen"
Expand Down

0 comments on commit cb06e37

Please sign in to comment.