Foreign Minister Ricardo Patino says Ecuador will allow Swiss prosecutors to interrogate Wikileaks founder Julian Assange at the country's embassy in London where the activist has lived since 2012.

Assange is an Australian citizen who has sought refuge in Ecuador's London-based mission to prevent being extradited to Switzerland, where he is sought for questioning over sexual assault allegations made by two women.

Patino told local radio Publica that it was accepting the Swiss request to interrogate Assange "as long as the sovereignty of the Ecuadoran state and the laws in the Constitution are respected."

He suggested that Swiss authorities could provide their Ecuadoran counterparts with the questions and they could be asked in the presence of a Swiss prosecutor.

Wikileaks has published millions of classified documents from various governments.