Merge branch 'main' into patch-1

This commit is contained in:
Pratyush Verma
2024-08-28 15:46:39 +01:00
committed by GitHub
+5 -5
View File
@@ -96,7 +96,7 @@
")\n",
"llm = ChatFireworks(\n",
" model=\"accounts/fireworks/models/mixtral-8x7b-instruct\",\n",
" model_kwargs={\"max_tokens\": 32768},\n",
" max_tokens=32768\n",
")\n",
"generate = prompt | llm"
]
@@ -334,13 +334,13 @@
}
],
"source": [
"async for event in graph.astream(\n",
" [\n",
"async for event in graph.astream({\n",
" \"messages\": [\n",
" HumanMessage(\n",
" content=\"Generate an essay on the topicality of The Little Prince and its message in modern life\"\n",
" )\n",
" ],\n",
"):\n",
"}):\n",
" print(event)\n",
" print(\"---\")"
]
@@ -534,7 +534,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.11.9"
}
},
"nbformat": 4,