Hi folks,
I´m working in an enterprise environment and we´re using Discourse as discussion board for supporting an cloud platform.
We want to use the Discourse AI plugin for several usecases and even have internal AI endpoints which are OpenAI compatible.
The thing is, that outgoing requests to these endpoint have to include an authentication header with an oauth2 token coming from a internal m2m auth endpoint which has to be retrieved upfront.
I thought of several approaches, like a local proxy on the ec2 instance hosting discourse, which could enrich the request with that auth information.
Another approach is an API gateway with an authorizer lambda getting the token.
What I didn´t understand so far are the tools, you can add within the Discourse AI plugin itself.
Could that be used to achieve what I have in mind ?
Many thanks for your support and have a great day!
Cheers,
WS