# Building Modular AI Chatbots

**URL:** https://meta.discourse.org/t/building-modular-ai-chatbots/361807
**Category:** Support
**Tags:** ai, ai-bot
**Created:** [April 14, 2025, 9:05pm UTC](https://meta.discourse.org/t/building-modular-ai-chatbots/361807 "2025-04-14T21:05:12Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 23, 2025, 11:34pm UTC](https://meta.discourse.org/t/building-modular-ai-chatbots/361807/10 "2025-04-23T23:34:20Z")

</div>

Hmm… I think we can sort this out with a custom tool today!

1. Upload all the documents to the custom tool
2. Give the custom tool the params “semantic\_query” and “vaccine\_name” (enum)
3. Then in the custom JS run the search on the vaccine\_name upload and inject that particular piece into the context

That ensures you only get context for the specific subset.

---

_[View the full topic](https://meta.discourse.org/t/building-modular-ai-chatbots/361807)._
