mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-13 08:27:03 +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",
|
||||
"llm = Ollama(\n",
|
||||
" model=\"llama2\"\n",
|
||||
" callback_manager=CallbackManager([StreamingStdOutCallbackHandler()\n",
|
||||
" model=\"llama2\",\n",
|
||||
" callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),\n",
|
||||
")\n",
|
||||
"```"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user