I would like this very much, this would make me use AI a lot more often than I do now! But creating an API that is OpenAI compatible is not easy due to the security model used by Proton (eg. key generation needs to be done on the client side). One option would be to develop some kind of bridge (similar to what they have done for email) that you can run locally and handles the encryption for you. This bridge would be able to provide an OpenAI compatible API.
I would like this very much, this would make me use AI a lot more often than I do now! But creating an API that is OpenAI compatible is not easy due to the security model used by Proton (eg. key generation needs to be done on the client side). One option would be to develop some kind of bridge (similar to what they have done for email) that you can run locally and handles the encryption for you. This bridge would be able to provide an OpenAI compatible API.