# API access to the embedding(s) for a post

**URL:** https://meta.discourse.org/t/api-access-to-the-embedding-s-for-a-post/289683
**Category:** Feature
**Tags:** completed
**Created:** [December 24, 2023, 11:30am UTC](https://meta.discourse.org/t/api-access-to-the-embedding-s-for-a-post/289683 "2023-12-24T11:30:22Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [September 12, 2024, 4:12am UTC](https://meta.discourse.org/t/api-access-to-the-embedding-s-for-a-post/289683/3 "2024-09-12T04:12:53Z")

</div>

> [@EricGT](#):
>
> Therefore, I’m exploring the creation of a [custom GPT](https://openai.com/blog/introducing-gpts) for ChatGPT Plus and would like to leverage the pre-existing embeddings.

This is supported now. The endpoint:

`https://SITENAME/discourse-ai/embeddings/semantic-search.json?hyde=false&q=YOURQUERY`

Will perform a vector similarity search.

> [@EricGT](#):
>
> I was hoping that the Discourse AI bot could access external data by now, but I haven’t come across any information regarding that capability. Therefore, I’m exploring the creation of a [custom GPT](https://openai.com/blog/introducing-gpts) for ChatGPT Plus and would like to leverage the pre-existing embeddings.

This is also supported now using custom ai tools.

---

_[View the full topic](https://meta.discourse.org/t/api-access-to-the-embedding-s-for-a-post/289683)._
