i have deployed my webapp with custom domain. There is LLM api called in My web app ,the api is restricted to be used by some countries.
May i know where is the proxy server hosted in?
What i want is allow people who are restricted to access the LLM api to be able to use the AI-powered chatbot in my webapp.
@tempuralo You’ll need to provide more detail, nobody could answer these questions.
Are you talking about a 3rd party API?
or an API that you’ve created and are hosting on Netlify?
If you’re asking about a 3rd party API you’d be better off asking them.
If you’re asking about an API you created, you’d be better off asking whoever created it, or reading the code.
What ‘proxy server’ are you talking about?
If your Netlify site is important, provide the netlify site name, or netlify.app url.
an Opan AI API that I have created and are hosting on Netlify.
I would like to allow Hong Kong based people to interact with the AI powered chat bot in my web app hosted in Netlify. I think they would fail to send message to Open AI API due to API restrictions if Netlify server hosted in Hong Kong
@tempuralo Client side code is served by CDN.
If you’re “running an API on Netlify”, then you’re probably using Serverless Functions.
They are AWS Lambda’s and served from us-east-2 by default:
https://docs.netlify.com/build/functions/overview/#default-deployment-options
Depending on your plan you can change that with:
https://docs.netlify.com/build/functions/overview/#custom-deployment-options
Beyond that, I don’t know what you’re referring to by “proxy server”.