Compare commits

...

1 Commits

Author SHA1 Message Date
Eugene Yurtsev
0d059c684f x 2024-01-11 15:04:15 -05:00

View File

@@ -233,7 +233,12 @@
"\n",
"In addition to streaming the final result, you can also stream tokens. This will require slightly more complicated parsing of the logs\n",
"\n",
"You will also need to make sure you set the LLM to be streaming"
"\n",
"::: {.callout-warning}\n",
"For versions of langchain prior to and include 0.1.0, please set `streaming=True`, on the LLM.\n",
"\n",
"llm = ChatOpenAI(model=\"gpt-3.5-turbo\", temperature=0, streaming=True)\n",
":::"
]
},
{
@@ -1099,7 +1104,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.1"
"version": "3.11.4"
}
},
"nbformat": 4,