docs: in chatbot tutorial, make docs consistent with code sample (#27042)

**Docs Chatbot Tutorial**

The docs state that you can omit the language parameter, but the code
sample to demonstrate, still contains it.

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Mathias Colpaert 2024-10-08 20:38:15 +02:00 committed by GitHub
parent c10e1f70fe
commit feb4be82aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -686,7 +686,7 @@
"\n",
"input_messages = [HumanMessage(query)]\n",
"output = app.invoke(\n",
" {\"messages\": input_messages, \"language\": language},\n",
" {\"messages\": input_messages},\n",
" config,\n",
")\n",
"output[\"messages\"][-1].pretty_print()"