Skip to content

.Net: Bug: VertexAI global Endpoint not working #13620

@schmitch

Description

@schmitch

Describe the bug
Currently we try to use the global endpoint with SemanticKernel with VertexAI.
However it looks like that is not possible because the uri is different.

the global endpoint looks like that:

$"https://aiplatform.googleapis.com/{versionSubLink}/projects/{projectId}/locations/{location}/publishers/google/models/{this._modelId}:...

however the regional endpoints that this project uses are like that:

$"https://{location}-aiplatform.googleapis.com/{versionSubLink}/projects/{projectId}/locations/{location}/publishers/google/models/{this._modelId}:

the fix is probably easy by just "hardcoding" that if the location is global, that the base domain is different.

Platform

  • Language: C#
  • AI model: VertexAI

Original Issue: #12525

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codebugSomething isn't workingtriage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions