mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
docs(ollama): Fix Documentation in CallbackManager
, missing ])
(#15380)
- **Description:** This PR corrects a documentation error in the `ollama` usage tutorial. Specifically, it fixes a missing `])` in the `CallbackManager()` example, ensuring that the code snippet is syntactically correct and can be successfully executed. - **Issue:** N/A - **Dependencies:** No additional dependencies are required for this change. - **Twitter handle:** My twitter is @yhzhu99
This commit is contained in:
parent
fc8dc6bb39
commit
870b4033ed
@ -72,8 +72,8 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"```\n",
|
"```\n",
|
||||||
"llm = Ollama(\n",
|
"llm = Ollama(\n",
|
||||||
" model=\"llama2\"\n",
|
" model=\"llama2\",\n",
|
||||||
" callback_manager=CallbackManager([StreamingStdOutCallbackHandler()\n",
|
" callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),\n",
|
||||||
")\n",
|
")\n",
|
||||||
"```"
|
"```"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user