Topic sample queries

Luke Bowerman · Friday Demos · April 18, 2025 · 4:05

It can sometimes be tricky to immediately understand the types of queries possible. Sample queries offer a way to curate out examples to enable better end user self-service. Also a little…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. One thing we Jamie built actually a little while ago was a really nice ability to um save sample topics for AI. Um it doesn't or sample queries for AI but it doesn't really have a lot of use case in the UI quite yet. Um Jamie was kind enough to build us uh a little couple additions so you actually could choose how this is going to get used.

  2. So, I can say don't use this one for AI context perhaps, but do use it for um sorry, I'm grabbing text. Sheesh, sorry, long demo. Um, do go ahead and use this as display a topic overview, which we'll see here in a second. Um, and I'm just going to go, let's say, overview query. And if I go ahead and make a new query on this, we'll see we get this new entry page for a topic.

  3. So, um, we automatically actually add a preview sample question. Um, and then we also this overview query I just saved. Um, the preview can actually be replaced. So, if you don't want a preview on yours or you want a different preview, um, this is actually pretty straightforward what you can do. Um, just to show you the YAML, they're just sample queries in here.

  4. Um, you'll see there isn't a preview. If I go ahead and just cheat and say I don't want that preview. I want this in my preview. I'm on that adoptions one. I can say save. I have to know this kind of secret, which is if I name it preview, um, I'm going to leave that in actually. Um, I it'll go ahead and override the preview.

  5. And I can also in the same way if I want to Oh, sorry. So many things in here. Um, where's the adoptions topic? There it is. If I go in here and I go ahead and say hidden through. See if that works. Oh, army. Okay. Um I can go back to my workbook over here somewhere. Is that the one?

  6. Um and we'll see preview's gone. So basically you can exclude preview if you want to by basically creating a query creating a sample query that is hidden. So you can pull it out if you want to. So you kind of have full control what this looks like. This is my description that I pasted into my topic. I can put any text I want there.

  7. Doesn't support markdown, but it does support line breaks. We can get fancier later if folks want. Um, and yeah, so it kind of gets the beginning of sort of a topic curation of sort of entry points. Um, slight gap where clicking these doesn't quite work yet. Uh, Gemini and I will finish that in a couple hours. Um, and one last bit.

  8. Uh, we had a customer find a fun bug with the query view stuff. Let me go. Yeah, this demo got too long. I apologize. Um, where's my query view? Oh my god. Uh, volunteer effects. If I go ahead and edit this. So, again, I'm just opening up query view to mess around with it. Um, in the background, I make a terrible choice of deleting that.

  9. Um, so now this tab won't work. I reload. We have a nice little thing. We tell you the story. Um, so volunteer fact is missing and Pac-Man's eating the ghosts. Um, not much you can do here except for close. Um, and we do there should be a close button that we need to put back in, but it does at least save you uh from just a total collapse.

  10. So yeah, lots of polish around that. Um, thanks so much to Alyssa for tons of help as well as Jamie for building us a few little APIs power. And topic editing should ship early next week, the basic version that we'll be adding lots more soon.