Content separation filter aware AI / filter options for document search for the AI API endpoint #2014
NilsVanVaerenbergh
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Mintlify Team!
You already support content separation aware AI when we use different drop downs. Awesome!
Would be cool if we could also have this for the AI API endpoint. This way we can have 2 different products call the API endpoint and only get their respective documentation as a response.
Current situation:
We have documentation website supported by Mintlify that includes all our products documentation, lets call them productA and productB
each product has its own endpoint my.docs.site/productA and my.docs.site/productB
my.ProductA.site calls the AI API endpoint and gets references that include both productA and productB from my.docs.site
Feature request:
Possibility to add a content filter for references/search when calling the AI API endpoint from ProductA to only get references from ProductA
This way our separated content inside of our documentation site can also be used in custom AI chat widgets inside of our products.
There is already a filter option available for language and version. Maybe this can be reused?
Specify which URL endpoints and its sub paths may be included or excluded?
{ "documentation": { "include": [ "/productA" ], "exclude": [ "/productB" ] } }Or allow specific documentation endpoints to be included.
{ "documentation": { "include": [ "/productA", "/productB/some/useful/doc/for/productA" ], "exclude": [ "/productB" ] } }Beta Was this translation helpful? Give feedback.
All reactions