From 4a1bd9cacb8ee19d6f2cf8cd63475c076fc6aa5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fred=20Lef=C3=A9v=C3=A8re-Laoide?= <90181748+FredLL-Avaiga@users.noreply.github.com> Date: Tue, 5 Nov 2024 19:07:36 +0100 Subject: [PATCH] chat streaming example (#2213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chat streaming example * lint * Fab's comments * Fab's picky comments --------- Co-authored-by: Fred Lefévère-Laoide --- doc/gui/examples/controls/chat-streaming.py | 192 ++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 doc/gui/examples/controls/chat-streaming.py diff --git a/doc/gui/examples/controls/chat-streaming.py b/doc/gui/examples/controls/chat-streaming.py new file mode 100644 index 000000000..6faedc543 --- /dev/null +++ b/doc/gui/examples/controls/chat-streaming.py @@ -0,0 +1,192 @@ +# Copyright 2021-2024 Avaiga Private Limited +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on +# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the +# specific language governing permissions and limitations under the License. +# ----------------------------------------------------------------------------------------- +# To execute this script, make sure that the taipy-gui package is installed in your +# Python environment and run: +# python