Skip to content

Commit

Permalink
Remove temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
shilpakancharla committed May 30, 2024
1 parent 86412bf commit 3834eb8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions examples/prompting/Basic_Information_Extraction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
"- List each item one under another with a checkbox [].\n",
"\"\"\"\n",
"\n",
"shopping_list_model = genai.GenerativeModel(model_name='gemini-1.5-flash-latest', generation_config={\"temperature\": 0},\n",
"shopping_list_model = genai.GenerativeModel(model_name='gemini-1.5-flash-latest',\n",
" system_instruction=shopping_list_system_prompt)"
]
},
Expand All @@ -246,7 +246,27 @@
"outputs": [
{
"data": {
"text/markdown": "## PRODUCE\n- [ ] 3 garlic cloves\n- [ ] knob of fresh ginger\n- [ ] 3 spring onions\n- [ ] 1 orange\n- [ ] 20 button mushrooms\n- [ ] 20 cherry tomatoes\n- [ ] 2 large red peppers\n\n## PANTRY\n- [ ] 2 tbsp clear honey\n- [ ] 1 tbsp light soy sauce\n- [ ] 2 tbsp vegetable oil\n\n## MEAT\n- [ ] 4 small chicken breast fillets\n\n## OTHER\n- [ ] 20 wooden skewers \n",
"text/markdown": [
"## PRODUCE\n",
"- [ ] 3 garlic cloves\n",
"- [ ] knob of fresh ginger\n",
"- [ ] 3 spring onions\n",
"- [ ] 1 orange\n",
"- [ ] 20 button mushrooms\n",
"- [ ] 20 cherry tomatoes\n",
"- [ ] 2 large red peppers\n",
"\n",
"## PANTRY\n",
"- [ ] 2 tbsp clear honey\n",
"- [ ] 1 tbsp light soy sauce\n",
"- [ ] 2 tbsp vegetable oil\n",
"\n",
"## MEAT\n",
"- [ ] 4 small chicken breast fillets\n",
"\n",
"## OTHER\n",
"- [ ] 20 wooden skewers \n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
Expand Down

0 comments on commit 3834eb8

Please sign in to comment.