# Search Connector for AI Assistant Knowledge Base

**URL:** <https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112>\
**Category:** Elastic Observability\
**Tags:** elastic-ai-assistant\
**Created:** [July 15, 2024, 12:49am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112 "2024-07-15T00:49:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![aisyaharifin](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Post date:** [July 15, 2024, 12:49am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/1 "2024-07-15T00:49:58Z")

</div>

Hi Elastic,

I want to integrate my Search Connector specifically Confluence Connector with my AI Assistant that we configure in Observability.

I saw that we could input the knowledge base from the Search Connector.

However, how do I integrate this? I couldn't find any documentation on how to connect my Search Connector to the AI Assistant knowledge base.

I try to look into the Pipelines and any Configuration in Search Connectors but I don't find any.

 ![Screenshot 2024-07-10 at 10.58.01 AM](https://us1.discourse-cdn.com/elastic/original/3X/c/e/ceeff652b95de0e04292c1c81fba595546320b79.png)

Need help thanks.

---

<div class="post-metadata">

**Author:** ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)\
**Post date:** [July 15, 2024, 8:59am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/2 "2024-07-15T08:59:58Z")

</div>

Hey @aisyaharifin. You are right, it seems that we are missing documentation around the integration with search connectors for AI assistant. I will raise this with the team.

It seems that it's possible to reference search connector index for your AI assistant in `AI Assistant -> Settings -> Search connector index pattern`, see screenshot attached below:

 ![Screenshot 2024-07-15 at 10.56.47](https://us1.discourse-cdn.com/elastic/original/3X/9/5/95aa671e159ab91cf99757cf708461c5f74cd5c3.png)

Let me know if it helps

---

<div class="post-metadata">

**Author:** ![aisyaharifin](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Post date:** [July 16, 2024, 12:51am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/3 "2024-07-16T00:51:23Z")

</div>

Hi @Jedr_Blaszyk ,

Thank you for your reply.

However, I couldn't find any. My AI Assistant Settings as below :

 ![Screenshot 2024-07-16 at 8.43.50 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b121a53c92a3433d693c019640e35b056cf99fa.png)  
 ![Screenshot 2024-07-16 at 8.43.57 AM](https://us1.discourse-cdn.com/elastic/original/3X/7/5/75a86830932efdc7aafcc9cc28f6cd13ccab6253.png)  
 ![Screenshot 2024-07-16 at 8.44.03 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/3/8307555d7dc7e87f4b8f7011ca8b3c3dedb00c99.png)

I'm currently in version 8.13.4. Need further guideline on this, thanks!

---

<div class="post-metadata">

**Author:** ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)\
**Post date:** [July 16, 2024, 8:34am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/4 "2024-07-16T08:34:33Z")

</div>

From #Elastic Search to #Elastic Observability

---

<div class="post-metadata">

**Author:** ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)\
**Post date:** [July 16, 2024, 8:34am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/5 "2024-07-16T08:34:33Z")

</div>

Added #elastic-ai-assistant

---

<div class="post-metadata">

**Author:** ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)\
**Post date:** [July 16, 2024, 9:05am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/6 "2024-07-16T09:05:06Z")

</div>

For versions `<8.14` the search connector should work out of the box with AI assistant as long as the connector index matches `search-*` prefix. Can you try with that setup?

In the meantime, we will work on improving the documentation for that.

---

<div class="post-metadata">

**Author:** ![aisyaharifin](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Post date:** [July 17, 2024, 1:58am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/7 "2024-07-17T01:58:02Z")

</div>

> [@Jedr\_Blaszyk](#):
>
> the search connector should work out of the box with AI assistant as long as the connector index matches `search-*` prefix

Hello @Jedr_Blaszyk ,

Thank you for your response, but I don't understand actually what do you mean by out of the box?

I couldn't figure out how the connector index matches with the AI Assistant.

Btw I'm on Elastic self-hosted not cloud, could there be any difference setup?

Thank you again for your guidance, appreciate it.

---

<div class="post-metadata">

**Author:** ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)\
**Post date:** [July 17, 2024, 10:47am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/8 "2024-07-17T10:47:05Z")

</div>

Hey @aisyaharifin

I think that every `search-*` prefixed index will be queried by the AI assistant when looking for an answer.

Can you try ingest confluence data into search- prefixed index and see if you AI assistant picks it up?

> Btw I'm on Elastic self-hosted not cloud, could there be any difference setup?

There should be no difference.

And just to clarify: You ingest Confluence data with search connector and not Workplace search connector, right?

---

<div class="post-metadata">

**Author:** ![aisyaharifin](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Post date:** [July 18, 2024, 1:34am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/9 "2024-07-18T01:34:47Z")

</div>

Hello @Jedr_Blaszyk ,

> [@Jedr\_Blaszyk](#):
>
> I think that every `search-*` prefixed index will be queried by the AI assistant when looking for an answer.

Correct me if I'm wrong, but in order for the AI assistant to query the search index, we need to integrate the search connector with AI assistant first right?

But the thing is I couldn't find way on attach the search connector to AI assistant.

> [@Jedr\_Blaszyk](#):
>
> Can you try ingest confluence data into search- prefixed index and see if you AI assistant picks it up?

Yeap I already ingest the confluence data into search-prefixed index, but I think AI assistant did not pick it up.

 ![Screenshot 2024-07-18 at 8.41.49 AM](https://us1.discourse-cdn.com/elastic/original/3X/7/2/7255e45d16762fc62ab66dbd54cee8fa10d6a415.png)

> [@Jedr\_Blaszyk](#):
>
> And just to clarify: You ingest Confluence data with search connector and not Workplace search connector, right?

Yeap I ingest it through Search Connectors not Workplace Search.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 15, 2024, 1:35am UTC](https://discuss.elastic.co/t/search-connector-for-ai-assistant-knowledge-base/363112/10 "2024-08-15T01:35:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
