# Internal knowledgebase vs Perplexity through a custom action

**URL:** https://community.pickaxe.co/t/internal-knowledgebase-vs-perplexity-through-a-custom-action/3532
**Category:** General
**Created:** [January 13, 2025, 8:08pm UTC](https://community.pickaxe.co/t/internal-knowledgebase-vs-perplexity-through-a-custom-action/3532 "2025-01-13T20:08:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zaidazam](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.pickaxe.co/zaidazam/32/1829_2.png) [@zaidazam](https://community.pickaxe.co/u/zaidazam)
#### Post date: [January 13, 2025, 8:08pm UTC](https://community.pickaxe.co/t/internal-knowledgebase-vs-perplexity-through-a-custom-action/3532/1 "2025-01-13T20:08:51Z")

</div>

Hi All- I am creating a custom action for perplexity. How does the chatbot determine when to use the internal KB vs perplexity?

Does it always use the internal KB first?

---

<div class="post-metadata">

### Author: ![bruno12345](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.pickaxe.co/bruno12345/32/4277_2.png) [@bruno12345](https://community.pickaxe.co/u/bruno12345)
#### Post date: [January 13, 2025, 9:15pm UTC](https://community.pickaxe.co/t/internal-knowledgebase-vs-perplexity-through-a-custom-action/3532/2 "2025-01-13T21:15:36Z")

</div>

Hi, for this you must be specific in the prompt whenever you want to use either of the two actions. You can also configure the trigger when creating the Perplexity action.

---

<div class="post-metadata">

### Author: ![zaidazam](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.pickaxe.co/zaidazam/32/1829_2.png) [@zaidazam](https://community.pickaxe.co/u/zaidazam)
#### Post date: [January 13, 2025, 9:48pm UTC](https://community.pickaxe.co/t/internal-knowledgebase-vs-perplexity-through-a-custom-action/3532/3 "2025-01-13T21:48:54Z")

</div>

oh I see. so if I don’t specify any detail, where does it check? is there any scenario where it checks to see if the KB has enough info and if it feels it doesn’t, then goes to perplexity or any other LLM?

So should I tell my users to ask a question to e.g. Einstein if they want to use model A for answering and Musk for model B if the first answer isn’t satisfactory?

I don’t want to tell them how the questions are answered and focus more on how amazing this AI bot is that has been trained on a lot of custom knowledge( I uploaded books and links to my KB) so it shouldn’t sound like it’s doing the same thing as going to chatgpt and answer

Any suggestions?

---

<div class="post-metadata">

### Author: ![admin\_mike](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.pickaxe.co/admin_mike/32/283_2.png) [@admin\_mike](https://community.pickaxe.co/u/admin_mike)
#### Post date: [January 14, 2025, 1:07am UTC](https://community.pickaxe.co/t/internal-knowledgebase-vs-perplexity-through-a-custom-action/3532/4 "2025-01-14T01:07:21Z")

</div>

Your Pickaxe will use Perplexity whenever it decides it is required. That being said, you can write your prompt in such a way that it ALWAYS uses Perplexity.

The Knowledge Base will be used whenever there is information that is ‘deemed relevant’. That means, whenever information from the knowledge base exceeds the relevance score threshold (a setting within the _Learn_ tab), it will be referenced.

In the builder, you can click the [magnifying glass icon](https://community.pickaxe.co/t/message-insights-look-at-knowledge-base-citations/2025) under the responses to see exactly what parts of the Knowledge Base were used.
