diff --git a/docs/knowledge_base/demos/images/talk_to_taipy_example.gif b/docs/knowledge_base/demos/images/talk_to_taipy_example.gif new file mode 100644 index 000000000..5063eeeb7 Binary files /dev/null and b/docs/knowledge_base/demos/images/talk_to_taipy_example.gif differ diff --git a/docs/knowledge_base/demos/images/talk_to_taipy_image.jpeg b/docs/knowledge_base/demos/images/talk_to_taipy_image.jpeg new file mode 100644 index 000000000..c2e59c09d Binary files /dev/null and b/docs/knowledge_base/demos/images/talk_to_taipy_image.jpeg differ diff --git a/docs/knowledge_base/demos/index.md b/docs/knowledge_base/demos/index.md index e37b7bed9..6e2e17570 100644 --- a/docs/knowledge_base/demos/index.md +++ b/docs/knowledge_base/demos/index.md @@ -55,10 +55,10 @@ Let's explore demos of applications made with Taipy.

Sales Dashboard

Front-end | Back-end

Check out our Sales Dashboard demo. It reads Excel files and shows valuable insights. - You can filter data by city, customer, and gender to find specific metrics and use + You can filter data by city, customer, and gender to find specific metrics and use two dynamic charts for trend analysis.

- + @@ -70,10 +70,10 @@ Let's explore demos of applications made with Taipy.

Tweet Generation

Front-end | Back-end -

Experience the AI-powered Tweet Generation. Create compelling Tweets effortlessly - using GPT-3's Davinci engine for text and DALL·E for images. +

Experience the AI-powered Tweet Generation. Create compelling Tweets effortlessly + using GPT-3's Davinci engine for text and DALL·E for images.

-
+ @@ -87,7 +87,7 @@ Let's explore demos of applications made with Taipy. Front-end | Back-end

Background Remover simplifies background removal of your images with automatic detection, an interactive interface, and efficient Python code.

- + @@ -99,10 +99,10 @@ Let's explore demos of applications made with Taipy.

Real-time Face Recognition

Front-end | Back-end -

Explore real-time face detection and recognition demo. Learn how to create custom UI +

Explore real-time face detection and recognition demo. Learn how to create custom UI components and use OpenCV for accurate face identification.

-
+ @@ -114,10 +114,10 @@ Let's explore demos of applications made with Taipy.

Sentiment Analysis: Detect emotional tones from a text

Front-end | Back-end -

Explore the power of Taipy's sentiment analysis capabilities with our two-page - application. Analyze user input and uploaded text to uncover sentiments effortlessly. +

Explore the power of Taipy's sentiment analysis capabilities with our two-page + application. Analyze user input and uploaded text to uncover sentiments effortlessly.

-
+ @@ -129,11 +129,11 @@ Let's explore demos of applications made with Taipy.

Optimize Bar Cut Sizes

Front-end | Back-end -

Try out our Bar Cut Optimization demo. It uses Taipy to optimize bar cut sizes for two - scenarios with distinct algorithms that reduces raw material waste in a visually +

Try out our Bar Cut Optimization demo. It uses Taipy to optimize bar cut sizes for two + scenarios with distinct algorithms that reduces raw material waste in a visually intuitive way.

-
+ @@ -145,10 +145,10 @@ Let's explore demos of applications made with Taipy.

Image Classification

Front-end | Back-end -

Explore our interactive image classification application built with Taipy, Nvidia CUDA, +

Explore our interactive image classification application built with Taipy, Nvidia CUDA, and TensorFlow.

-
+ @@ -161,10 +161,10 @@ Let's explore demos of applications made with Taipy.

Churn Classification

Front-end | Back-end

Explore our Churn Classification demo. Use Taipy for data analysis, model management, - and model comparison in churn prediction. Witness the capabilities of Taipy in + and model comparison in churn prediction. Witness the capabilities of Taipy in streamlining and improving decision-making.

- + @@ -176,10 +176,10 @@ Let's explore demos of applications made with Taipy.

Production Planning

Front-end | Back-end -

Discover our Production Planning demo application that optimize production, reduce - costs, and simulate manufacturing scenarios. +

Discover our Production Planning demo application that optimize production, reduce + costs, and simulate manufacturing scenarios.

-
+ @@ -191,10 +191,10 @@ Let's explore demos of applications made with Taipy.

Stock Visualization

Front-end | Back-end -

Explore the Stock Visualization Dashboard that leverages Taipy GUI and Prophet to +

Explore the Stock Visualization Dashboard that leverages Taipy GUI and Prophet to visualize historical stock data and make predictions over 5 years.

-
+ @@ -207,10 +207,10 @@ Let's explore demos of applications made with Taipy.

Covid Dashboard

Front-end | Back-end

Discover our minimalist yet powerful COVID-19 dashboard. View and forecast COVID-19 - data for various countries, interact with maps, and gain insights into the global + data for various countries, interact with maps, and gain insights into the global pandemic impact.

- + @@ -222,13 +222,13 @@ Let's explore demos of applications made with Taipy.

Movie Genre Selector

Front-end | Back-end -

Explore Movie Genre Selector demo. See how this user-friendly tool helps you +

Explore Movie Genre Selector demo. See how this user-friendly tool helps you effortlessly discover movies from your favorite movie genres.

-
+ - +
  • @@ -241,10 +241,10 @@ Let's explore demos of applications made with Taipy. pipelines in a Taipy application by using the example of detecting drift on a dataset.

    - +
  • - +
  • @@ -256,7 +256,21 @@ Let's explore demos of applications made with Taipy.

    Displays real-time pollution data from sensors around a factory. The data is streamed from another server and displayed in a dashboard.

    - + +
    +
  • + +
  • + +
    + +
    +
    +

    TalkToTaipy

    + Front-end +

    Explore datasets using only natural language using TalkToTaipy! +

    +
  • diff --git a/docs/knowledge_base/demos/talk_to_taipy.md b/docs/knowledge_base/demos/talk_to_taipy.md new file mode 100644 index 000000000..f2a0c0be2 --- /dev/null +++ b/docs/knowledge_base/demos/talk_to_taipy.md @@ -0,0 +1,17 @@ +Explore datasets using only natural language using TalkToTaipy! + +[Try it live](https://talk-to-taipy.taipy.cloud/){: .tp-btn target='blank' } + +# Understanding the Application +This application allows users to enter a prompt to manipulate or visualize data such +as "Plot sales by product line in a pie chart" and the app will generate the +appropriate visualization. + +This works by calling a quantized version of HuggingFace's StarCoder code generation +LLM model hosted on Azure. The user prompt entered on the Taipy app gets sent to the +model which uses few-shot learning to generate pandas code to manipulate the data and +Taipy code to create the visualization. + +![An example use of TTT](images/talk_to_taipy_example.gif){width=100%} + +![What are the 5 most profitable cities?](images/talk_to_taipy_image.jpeg){width=100%} diff --git a/docs/knowledge_base/index.md b/docs/knowledge_base/index.md index 0839021d0..a4bac1e6e 100644 --- a/docs/knowledge_base/index.md +++ b/docs/knowledge_base/index.md @@ -505,19 +505,24 @@ hide: -
  • - +
  • +
    -

    LLM ChatBot

    -

    A chatbot that uses OpenAI's API with GPT-3. Can be used as a template for implementing apps that use LLM inference. +

    TalkToTaipy

    +

    Explore datasets using only natural language using TalkToTaipy!

  • +
  • + +

    LLM ChatBot

    +

    A chatbot that uses OpenAI's API with GPT-3. Can be used as a template for implementing apps that use LLM inference. +

  • diff --git a/mkdocs.yml_template b/mkdocs.yml_template index 52ca0f63f..8f2abd2e9 100644 --- a/mkdocs.yml_template +++ b/mkdocs.yml_template @@ -58,7 +58,8 @@ nav: - "Drift Detection": knowledge_base/demos/drift_detection.md - "Realtime Pollution Dashboard" : knowledge_base/demos/pollution_sensors.md - "Background Remover" : knowledge_base/demos/background_remover.md - - "LLM ChatBot" : knowledge_base/demos/chatbot.md + - "TalkToTaipy" : knowledge_base/demos/talk_to_taipy.md + - "Creating an LLM Chatbot" : knowledge_base/demos/chatbot.md - "Fraud Detection": knowledge_base/demos/fraud_detection.md - "Tips and tricks": - "Tips and tricks": knowledge_base/tips/index.md