(
access_token: impl Into<String>,
project_id: impl Into<String>,
location: impl Into<String>,
)
| 27 | |
| 28 | impl GoogleVertexProvider { |
| 29 | pub fn new( |
| 30 | access_token: impl Into<String>, |
| 31 | project_id: impl Into<String>, |
| 32 | location: impl Into<String>, |
| 33 | ) -> Self { |
| 34 | Self::with_config(VertexConfig { |
| 35 | access_token: access_token.into(), |
| 36 | project_id: project_id.into(), |
| 37 | location: location.into(), |
| 38 | base_url: None, |
| 39 | }) |
| 40 | } |
| 41 | |
| 42 | pub fn with_config(config: VertexConfig) -> Self { |
| 43 | let models = vec![ |
nothing calls this directly
no outgoing calls
no test coverage detected