# Integrating LLMs in VTK: Community feedback

**URL:** https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344
**Category:** Announcements
**Created:** [March 5, 2025, 11:05pm UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344 "2025-03-05T23:05:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![vbolea](https://discourse.vtk.org/user_avatar/discourse.vtk.org/vbolea/32/4060_2.png) [@vbolea](https://discourse.vtk.org/u/vbolea)
#### Post date: [March 5, 2025, 11:05pm UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/1 "2025-03-05T23:05:13Z")

</div>

Hi everyone,

From the Kitware VTK team we are excited to share some of our initial explorations into integrating Large Language Models (LLMs) with VTK. Our goal is to harness the power of LLMs to enhance the VTK user experience and streamline scientific visualization workflows. Here is a glimpse of what we have been working on:

## Current prototypes

- **Interactive Q&A** : Imagine having an AI assistant that can answer your VTK questions in real-time. From basic how-to to detailed explanations, this prototype aims to provide quick and accurate responses to user queries which could complement sites such as this discourse. As a proof of concept, we just launched a VTK [assistant](https://gurubase.io/g/vtk) that anyone can use! It’s built on the open-source [gurubase](https://gurubase.io/) platform and gets its info from VTK docs and examples, so you can have more targeted chats and get better answers around VTK. Give it a shot and let us know what works and what doesn’t – as VTK developers, we might have some biases in how we use it, so your feedback is super important for making it better. FYI, the assistant logs chats and answers to help us improve future versions and build test cases for evaluating future prototypes.  

- **LLM VTK interpreter** : Describe what you want to achieve in plain language, let the LLM generate the corresponding VTK code, and execute itself. This could significantly lower the barrier to entry for newcomers, add a whole new interface to interact with VTK, and boost productivity for experienced users.  

- **Sample File Generation** : Quickly generate VTK sample files based on textual descriptions. This could be a valuable tool for testing, experimentation, and education.

## We need your feedback

We believe that these prototypes have the potential to transform the way we interact with VTK, however, these are only a few instances that we came up with. We would like you to join us by asking you about new use cases and ideas on how LLMs could be leveraged within the VTK ecosystem.

Your feedback will play a crucial role in shaping the future of LLM integration in VTK. Let’s work together to push the boundaries of scientific visualization!

Please share your thoughts and ideas in the comments below.

We are looking forward to hearing from you! 🎉

Join us in the conversation

@will.schroeder @olearypatrick @Christos_Tsolakis @vbolea

---

<div class="post-metadata">

### Author: ![toddy](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/t/edb3f5/32.png) [@toddy](https://discourse.vtk.org/u/toddy)
#### Post date: [March 6, 2025, 4:29am UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/2 "2025-03-06T04:29:45Z")

</div>

Would it be possible to train the LLM on the subject matter being visualised? e.g. molecular structure. Then have the assistant describe features/anomalies in the data?  
Is that something more suited to ParaView and other downstream applications?

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/christos_tsolakis/32/2076_2.png) [@Christos\_Tsolakis](https://discourse.vtk.org/u/Christos_Tsolakis)
#### Post date: [March 6, 2025, 5:06pm UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/3 "2025-03-06T17:06:43Z")

</div>

In principle yes, I have seen models describing images in detail and literature using machine learning methods to extract features from CFD visualizations. This is certainly an interesting avenue but at this stage we will be looking into more basic use-cases.

A slightly related example is below where we tried to “enhance” existing LLMs by providing existing VTK examples as “context knowledge”. The LLMs were then able to suggest filters to use for replicating an image. It is of course not foolproof but a good start for someone who does not know the terminology in VTK terms:

 ![unnamed](https://discourse.vtk.org/uploads/default/original/2X/d/d27d23b17419391e8a7b73e242a3b6299784a5e2.jpeg)

 ![unnamed](https://discourse.vtk.org/uploads/default/original/2X/4/484d0bc224dde7b20f57cb730f54dadc0975ab08.jpeg)

---

<div class="post-metadata">

### Author: ![toddy](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/t/edb3f5/32.png) [@toddy](https://discourse.vtk.org/u/toddy)
#### Post date: [March 7, 2025, 1:43am UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/4 "2025-03-07T01:43:43Z")

</div>

Great. Perhaps another interesting example would be to take a DICOM image and train the assistant to peel away bone/muscle/tendons.

---

<div class="post-metadata">

### Author: ![QQBoxy\_Huang](https://discourse.vtk.org/user_avatar/discourse.vtk.org/qqboxy_huang/32/9376_2.png) [@QQBoxy\_Huang](https://discourse.vtk.org/u/QQBoxy_Huang)
#### Post date: [March 10, 2025, 9:05am UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/5 "2025-03-10T09:05:18Z")

</div>

That sounds great! Does this project incorporate VTK.js?

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/christos_tsolakis/32/2076_2.png) [@Christos\_Tsolakis](https://discourse.vtk.org/u/Christos_Tsolakis)
#### Post date: [March 11, 2025, 12:45pm UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/6 "2025-03-11T12:45:26Z")

</div>

Indeed, there are already some interesting projects for image segmentation like [https://totalsegmentator.com/](https://totalsegmentator.com/) that we could leverage.

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/christos_tsolakis/32/2076_2.png) [@Christos\_Tsolakis](https://discourse.vtk.org/u/Christos_Tsolakis)
#### Post date: [March 11, 2025, 12:45pm UTC](https://discourse.vtk.org/t/integrating-llms-in-vtk-community-feedback/15344/7 "2025-03-11T12:45:57Z")

</div>

Not yet, but we could look into it in the future.
