SF is not Silicon Valley proper, in the sense that the jurisdiction of SF over its taxi fleet does not extend south of San Francisco city proper and its airport.  Anywhere else is different county rules.