Skip to content

Commit

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

* Importing google.generativeai

* Formatting
  • Loading branch information
Giom-V authored Jul 9, 2024
1 parent 216cf11 commit fbf3cc2
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 fbf3cc2

Please sign in to comment.