dosubot[bot] commented on issue #12532: URL: https://github.com/apache/apisix/issues/12532#issuecomment-3200025325
<!-- Answer --> Yes, you can use the ai-proxy and ai-prompt-decorator plugins together in APISIX. The official documentation provides example configurations where both plugins are enabled on the same route, with ai-proxy handling the AI provider connection and ai-prompt-decorator managing prompt injection. There are no documented compatibility issues or limitations when using them together—they are designed to be composable and work in sequence as configured on the route. For reference, see the example in the docs where both plugins are used together on a single route [here](https://docs.api7.ai/apisix/how-to-guide/ai-gateway/configure-prompt-decorators). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/51310f5a-fdf3-4a3f-9837-53645775cf86?feedback_type=other)</sup> [](https://app.dosu.dev/6aff3395-54f4-4ca2-8624-021d21c2f031/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/apisix/issues/12532) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org