Skip to content

Commit

Permalink
Passing proper variable (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishtiwari1993 authored Jan 22, 2024
1 parent a6f2c79 commit fb40a18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"q = \"How's weather in India?\"\n",
"\n",
"embedding = genai.embed_content(model=model,\n",
" content=sample_text,\n",
" content=q,\n",
" task_type=\"retrieval_query\")\n",
"\n",
"resp = es.search(\n",
Expand Down

0 comments on commit fb40a18

Please sign in to comment.