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:
Yinghao Zhu 2024-01-02 05:17:32 +08:00 committed by GitHub
parent fc8dc6bb39
commit 870b4033ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",
"```" "```"
] ]